Re:A Year with MongoDB
by chx on Friday April 13, 2012 @09:04PM
(#3839494)
Quote the manual" the option is --journal, and is on by default in version 1.9.2+ on 64-bit platforms"
[ Parent
| on HN ]
So that's not actually "safe". If you issue an insert in the default "fire and forget" mode and that insert causes an error (say a duplicate key violation), no exception will be thrown.
Even with journaling on your code does not get an exception.
Journaling is a method for doing "fast recovery" and flushing to disk on a regular basis. "Write Safety" is method for controlling how / where the data has been written. So these are really two different things.