-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Execution
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Both readConcern level majority and snapshot require a storage engine that supports snapshot isolation. It is possible to bypass this check when:
- Running a sharded cluster with standalone shards
- Executing a readConcern level majority read operation with afterClusterTime
In this case, we skip calling replCoord->waitUntilOpTimeForRead() here and won't then call ReplicationCoordinatorImpl::_validateReadConcern() which will perform validation.
A proposal to fix would be to add the "if majority then isReadCommittedSupportedByStorageEngine()" check to waitForReadConcern() as a more universal check. We could then change the ReplicationCoordinatorImpl::_validateReadConcern() validation to be an invariant.
- duplicates
-
SERVER-33933 Confirm storage engine support for point-in-time reads in waitForReadConcern()
-
- Closed
-