[DOCS-12048] Update Transaction Docs: How to avoid stale reads in transactions Created: 11/Sep/18  Updated: 30/Oct/23  Resolved: 06/Nov/18

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Alyson Cabral (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-2967 Dirty reads outside the transaction Closed
Participants:
Days since reply: 5 years, 14 weeks, 1 day ago
Epic Link: DOCSP-1769

 Description   

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.)



 Comments   
Comment by Githook User [ 06/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12048: transactions and stale reads
Branch: v4.0
https://github.com/mongodb/docs/commit/78f4b8a89ce2f9fb78b784e6d087702a2c25b5cb

Comment by Githook User [ 06/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12048: transactions and stale reads
Branch: master
https://github.com/mongodb/docs/commit/697d2bd7a242c33c234ee4ff2e8007f5d55c522f

Generated at Thu Feb 08 08:04:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.