Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5519

Transaction recovery might commit the wrong branch on an XAResource

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.6, 2.2.1, 3.0.0
    • 2.1.7, 2.2.1, 3.0.0
    • transaction manager
    • Security Level: public (Regular issues)
    • None

    Description

      Transaction recovery will commit the first xid that is associated with a prepared transaction that is recovered from an XAResource enrolled in that transaction. That might not be the branch that was prepared on that XAResource.

      This can happen if more than one XAResource is attached to the same resource manager with different names, for instance for inbound and outbound connections.

      Thanks to Benedict Ritchie for discovering this problem.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment