Details
-
Improvement
-
Resolution: Unresolved
-
Minor - P4
-
None
-
None
-
None
-
Replication
-
Major Change
Description
Once ReadConcernMajority support is enabled snapshots are created periodically. But when WriteConcern.Majority is used, it must wait for a snapshot so that ReadConcern.Majority can then read that write.
There are cases when one might want to do majority writes but not wait for a snapshot – there is no need to read your own writes using ReadConcern.Majority basically.
// example
|
coll.insert({}, {writeConcern:{w:"majority", waitForSnapshot:false}}); |
Attachments
Issue Links
- is related to
-
SERVER-22533 Enable ReadConcern.Majority tests without journaling
-
- Closed
-