BTM
  1. BTM
  2. BTM-13

Implement ordering of XAResource during 2PC execution

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Currently, prepare, rollback and commit are called on resources in random order (except in the LRC case). This is compliant with the JTA and XA specs but having a way to control resources ordering would open doors to many potential improvements like LLR and LogLess transactions.

        Activity

        Hide
        Ludovic Orban added a comment -

        Added a new 'twoPcOrderingPosition' property in ResourceBean that controls ordering of commands (prepare / commit / rollback) executed by the 2PC engine.

        The 2PC engine had to be rewritten to support this so extensive testing is needed before a new version containing this enhancement can be released.

        Show
        Ludovic Orban added a comment - Added a new 'twoPcOrderingPosition' property in ResourceBean that controls ordering of commands (prepare / commit / rollback) executed by the 2PC engine. The 2PC engine had to be rewritten to support this so extensive testing is needed before a new version containing this enhancement can be released.

          People

          • Assignee:
            Ludovic Orban
            Reporter:
            Ludovic Orban
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: