[
http://jira.jboss.com/jira/browse/JBMESSAGING-883?page=comments#action_12... ]
Tim Fox commented on JBMESSAGING-883:
-------------------------------------
One solution would be not to start() any of the failed over connections until they've
all been failed over.
But how do we know when all the connections have been failed over for a particular
server?
Bug in failover with multiple consumers on same queue
-----------------------------------------------------
Key: JBMESSAGING-883
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-883
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.2.0.CR1
Reporter: Tim Fox
Assigned To: Tim Fox
Priority: Blocker
Fix For: 1.2.0.GA
If you have two connections with a consumer each on the same queue, and one of the
consumers has consumed a message transactionally but not committed it.
Then when failover occurs, if the second connection fails over first then it might
"grab" the message before session::recoverDeliveries kicks in for the other
connection.
This means the message can get delivered more than once.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira