Roché Compaan wrote at 2006-10-11 19:51 +0200:
> ...
>I'm tempted to deploy ZODB without fsync on some production FileStorage
>instances. Will I regret it?

Maybe: Without the "fsync" (as Tim pointed out, even with "fsync",
but maybe more rarely), the order in which blocks are written to
persistent storage is not deterministic. If you are unlucky,
the last transaction may have been written correctly but earlier blocks are
not written when a crash happens. When the application starts again, it may
not recognize that part of its storage is corrupt.
On the other hand, as the index file is probably not written,
the restart should try to rebuild the index file and then detect
the corruption. Thus, maybe not an issue...



-- 
Dieter
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to