Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4517

rollback causes loss of message order if concurrent producers commit out of order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.31.0
    • 2.32.0
    • Broker
    • None

    Description

      As part of ARTEMIS-2458, cancel puts messages back onto the queue on sequence id order, but the sequence id is allocated to producers on message send (via the message store) and can be unordered w.r.t to a queue view when producer transactions overlap.

      The queue has the correct initial producer order, with out of order sequenceId.

      When messages are cancelled back to the queue they go back in sqeuenceId order in error, giving a consumer out of order messages on the second or subsequent delivery attempts.

       

      each queue needs to retain its own sequence and apply to its reference, such that messages can be cancelled back and retain the queue order.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m