|
|
|
|
|
by dmytton
5087 days ago
|
|
What version was this? 2.0 (which has been out almost a year) has journaling enabled by default which almost always provides complete single server durability for these situations. Any database can suffer corruption if you shut down the server uncleanly - it depends on the state of the filesystem when it comes back up. That's why you have replication to protect against failure of a single node. Having run Mongo in production for over 3 years, I've never lost any data despite numerous failure scenarios (including unclean shutdown). |
|
I am, however very hesitant to rely on it for anything now, much as I would be hesitant to touch a machine that previously gave me a severe electric shock even though its creator and other users assure me it's safe now.