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

Message State not persistence properly with failover

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 5.10.0
    • None
    • JMS client, Message Store
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: