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

Message State not persistence properly with failover

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 5.10.0
    • Fix Version/s: None
    • Component/s: JMS client, Message Store
    • Labels:
      None
    • Environment:

      java version "1.7.0_72"
      ActiveMQ 5.10.0 two instances configured as a Master/Slave via MySql DB

      Description

      I've been configured two ActiveMQ instances as a master/slave' via shared MySql database. I'm using ActiveMQ client and am trying
      to get failover to work properly. Currently when I failover to a new master, pending messages are persisted in the new master. However,
      message state seems to be lost. We use client acknowledgements and if I have a consumer that retrieves a message from the old master and then
      tries to acknowledge the message on the new master the ack appears to succeed but the message stays pending and winds up getting re-delivered. Same behavior noted for the single instance with the failover configurations.

      Is this scenario suppose to work? Any advice would be appreciated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prabathariyarathna prabath ariyarathna
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: