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

AckManager records from mirror are not being replicated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.37.0
    • 2.38.0
    • None
    • None

    Description

      The overall problems is that JournalHashMap is using a local journal most of the time and never the replicated journal.

      In this line:

      https://github.com/apache/activemq-artemis/blob/38693370c962f9a4d7fbc9dbeb7bffba18f9ad41/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AckManager.java#L82

      We send the current journal.. and if a switch happens inside the JournalStorageManager the switch is never captured, and we will never replicate pending acks.

      When a failover happens the replica will not have the retries and the system will not reattempt them.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clebertsuconic Clebert Suconic
              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 - 5h 20m
                  5h 20m