Following SERVER-33143, snapshot reads always take MODE_IX locks. However, they should only take MODE_IX locks as part of multi-statement transactions, i.e. when autocommit is false. Snapshot reads with autocommit=true should take MODE_IS locks.
- depends on
-
SERVER-32880 Add autocommit parameter to transaction API
- Closed
-
SERVER-33004 Add two-phase locking for snapshot reads
- Closed
- is related to
-
SERVER-33143 Hold MODE_IX locks for readConcern level snapshot reads
- Closed