-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
Labels:None
Description
Only writes trigger conflicts in transactions. This is true for all implementations of snapshot isolation across databases. Let's add a section to the transactions documentation to explain how to avoid stale reads in certain operations by doing a findAndModify or update to that document in the transaction in addition to the read.
Scope of changes
https://docs.mongodb.com/manual/core/transactions/index.html
https://docs.mongodb.com/manual/core/write-operations-atomicity/index.html
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- is related to
-
JAVA-2967 Dirty reads outside the transaction
- Closed