-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
Repl 2016-08-29
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In ReplicationCoordinatorImpl::waitUntilOpTimeForRead(), we check if majority read can be satisfied for the following settings.
getSettings().isMajorityReadConcernEnabled() getReplicationMode() _externalState->snapshotsEnabled()
We need to either duplicate them or pull them out of waitUntilOpTimeForRead() to read_concern.cpp. We also need to audit the callers of waitUntilOpTimeForRead() if we change it.