[DOCS-7412] Comment on: "manual/tutorial/perform-two-phase-commits.txt" Created: 14/Mar/16 Updated: 03/Nov/17 Resolved: 14/Mar/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 01112017-cleanup |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
website Location: https://docs.mongodb.org/manual/tutorial/perform-two-phase-commits/#phase-commits-rollback |
||
| Participants: | |
| Days since reply: | 7 years, 48 weeks, 2 days ago |
| Description |
|
in https://docs.mongodb.org/manual/tutorial/perform-two-phase-commits/#initialize-source-and-destination-accounts there is a typo in the demo code. It seems that both accounts have their balance temporarily increased. Perhaps it should read: ``` , { _id: "B", balance: 1000, pendingTransactions: [] } ] (Note that balance 'A' should be -ve) |