On Wed, Feb 15, 2012 at 6:19 PM, Philip Martin <[email protected]> wrote: > Nico Kadel-Garcia <[email protected]> writes: > >> Unless you do a "sync" >> command, or various low level flush commands, you don't know that you >> write to disk has actually made it to the platter. > > Subversion does that. It uses fsync (plus fsync on directories on > Linux) before assuming data is on disk.
So the risk is reduced, which is good. It lowers the window of vulnerability (between when a commit is published, and when the fsync occurs). This is actually good progamming. Not everyone who deals with real data is this thoughtful.
