Re:There are only four billion floats, so test them all (2014)
by MertsA on Monday October 12, 2020 @07:23AM
(#24753305)
>I would simply use the equivalent of rsync -Pa /ramdisk /disk in a loop
That's probably a bad idea. rsync isn't going to copy over writes in the same order they were written by the DB. Most DBs assume that when there's some crash that at least the disk would have been in a logically consistent state with respect to the order of certain writes separated by e.g. fsync and barriers.
That's probably a bad idea. rsync isn't going to copy over writes in the same order they were written by the DB. Most DBs assume that when there's some crash that at least the disk would have been in a logically consistent state with respect to the order of certain writes separated by e.g. fsync and barriers.