Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2415

Comment on: "manual/tutorial/perform-two-phase-commits.txt"

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 1 week, 1 day ago