[DOCS-7732] Comment on: "manual/tutorial/perform-two-phase-commits.txt" Created: 23/Apr/16  Updated: 30/Oct/23

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

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: collector-298ba4e7, docs-triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.org/manual/tutorial/perform-two-phase-commits/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Referrer: https://docs.mongodb.org/manual/tutorial/analyze-query-plan/
Screen Resolution: 1366 x 768
repo: docs
source: tutorial/perform-two-phase-commits


Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769

 Description   

Hello,

I think there's some inconsistency in this topic.

If first applications, let's name it "app1" finds a transaction (t1) with state set to "initial" and the second application (app2) does so at the same time, then the next step (updating balance at source/destination) will be performed twice.

And here again, there's no guarantee that app1 will finish this step before app2 (cause it doesn't include "$isolated"), so the balance may be changed two times.

Best regards,
Pawel



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

Generated at Thu Feb 08 07:54:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.