3 ms·
Wouldn't the proper behavior be to provide some sort of back pressure so that it cannot decide for you to no longer backup your data to the replica set? I woul
by nosequel 15y ago
Wouldn't the proper behavior be to provide some sort of back pressure so that it cannot decide for you to no longer backup your data to the replica set?
I would expect that if you say you want data replicated, that if it can't handle that under load, it would back off on the load that it is capable of instead of going the pathological route of simply not backing up. If under load the primary goes down with a serious disk failure, you now just lost a ton of data that you expected were being backed up all along.
- nknight 15y agoYou can apparently invoke a level of synchronous behavior in MongoDB with the getLastError command: http://www.mongodb.org/display/DOCS/getLastError+Command http://www.mongodb.org/display/DOCS/getLastError+Command Conceptually, its abilities look a lot like Cassandra's "configurable consistency" model.
- jbellis 15y agoConsistency and durability are two different things.