Re: Questions about XFS

Stefan Ring
2013-06-11T17:41:39Z

>> Every database software will do the flushing correctly.
>
>
> Stefan, you are making my point because every database will do the right
> thing, it won't rely on ext3's magic every 5 second fsync :)

Ok, let us agree on this one then ;)

There is still kind of a dichotomy regarding the entire issue. While
in many cases, noone will complain about a few seconds of lost data,
it is an entirely different beast if you lose an entire file that may
have been added to and maintained over month/years, just because the
system went down at an unfortunate moment. In my opinion, having a
consistent, yet possibly somewhat outdated file, is much more
important than having the most recent view in an inconsistent/broken
state.