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

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

    XMLWordPrintableJSON

Details

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago