activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "prabath ariyarathna (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-5812) Message State not persistence properly with failover
Date Thu, 28 May 2015 11:20:23 GMT

     [ https://issues.apache.org/jira/browse/AMQ-5812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

prabath ariyarathna updated AMQ-5812:
-------------------------------------
    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 

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

  was:
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 can see 

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


> Message State not persistence properly with failover
> ----------------------------------------------------
>
>                 Key: AMQ-5812
>                 URL: https://issues.apache.org/jira/browse/AMQ-5812
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JMS client, Message Store
>    Affects Versions: 5.10.0
>         Environment: java version "1.7.0_72"
> ActiveMQ 5.10.0 two instances configured as a Master/Slave via MySql DB
>            Reporter: prabath ariyarathna
>
> 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 
> Is this scenario suppose to work? Any advice would be appreciated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message