readConcern level majority will wait (block) when it detects it is about to acquire a Collection lock but the readConcern majority snapshot timestamp is less than the minimumVisibleSnapshot timestamp.
readConcern level snapshot cannot block in this situation because unlike readConcern majority, it cannot change its read timestamp. Therefore, it must return an error in this situation.
The error to return should be SnapshotUnavailable.
- is depended on by
-
SERVER-33698 batchSize:0 snapshot reads must allocate a WiredTiger transaction
- Closed
- is duplicated by
-
SERVER-33664 add SnapshotUnavailable for atClusterTime
- Closed