Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5953

XA Transaction 'XID:[...]' has not been started. xaErrorCode:-4 on MessageAck

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.12.0
    • 5.13.0
    • Broker
    • None

    Description

      There is a sync issue in TransactionBroker, that can result in contention on the xatransaction map.
      The result is a get returning null for something present. So an Ack cannot resolve the corresponding transaction.
      The error - transaction not started - xaErrorCode:-4

      Either a resize or unrelated remove op could cause inconsistency and presumably allow a transient null.
      Trying to reproduce reliably in a test case is elusive.

      Attachments

        Activity

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

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment