[DOCS-2415] Comment on: "manual/tutorial/perform-two-phase-commits.txt" Created: 13/Dec/13  Updated: 08/Dec/16  Resolved: 11/Feb/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.1

Type: Improvement Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/tutorial/perform-two-phase-commits/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.71 (KHTML, like Gecko) Version/6.1 Safari/537.71
Referrer: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0CDoQFjAC&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Ftutorial%2Fperform-two-phase-commits&ei=jnCrUsuuKaiu4AS3qoHoAQ&usg=AFQjCNEuX1wNWOz1iS_Vor4TV5fmWmC9mw&sig2=AYpvnvUYF_tUILr4jeA1Lw
Screen Resolution: 2560 x 1440
repo: docs
source: tutorial/perform-two-phase-commits


Participants:
Days since reply: 10 years, 1 week, 1 day ago

 Description   

The text below is wrong, and very confusing because of this mistake.

CURRENT

Apply Transaction to Both Accounts
Continue by applying the transaction to both accounts. The update() query will prevent you from applying the transaction if the transaction is not already pending. Use the following update() operation:

CORRECTED (remove the 'not' before pending)
Apply Transaction to Both Accounts
Continue by applying the transaction to both accounts. The update() query will prevent you from applying the transaction if the transaction is already pending. Use the following update() operation:

REASON
The pending state was already changed on the transaction. The update will prevent you from applying the same transaction twice, and does not check the pending state of the transaction at all - that has to be checked earlier.



 Comments   
Comment by Githook User [ 11/Feb/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2415: edit to clarify 2-phase commits
Branch: v2.4
https://github.com/mongodb/docs/commit/4d73e046fc38363b29c54f7fc5236b36ec68c58e

Comment by Githook User [ 11/Feb/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2415: edit to clarify 2-phase commits
Branch: master
https://github.com/mongodb/docs/commit/b1a77501979d8a5ab047b05f31b90cde00a264ec

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