activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully" <>
Subject Re: Slave broker out of sync with master
Date Thu, 17 Jul 2008 11:48:24 GMT
do you think it would be possible to build a test case that reproduced
the problem. Possibly based on QueueMasterSlaveTest[1] or based on
something similar?


2008/7/16 yinghe0101 <>:
> hi,
> With the latest trunk, i still get the following:
> javax.jms.JMSException: Slave broker out of sync with master: Dispatched
> message (ID:yhe-3822-1216229856070-0:0:1:1:1) was not in the pending list
> thus the messageAck will fail because it is not in the dispatch list
> From some investigation, i found that the MessageDispatchNotification
> happens before the message is adding to the pending in PrefetchSubscription.
> The following order needs to be enforced ( slave adding message to
> pending-->slave get MessageDispatchNotification -->slave get MessageAck).
> somehow there is a race condition which breaks the sync between the slave
> and master
> I was trying to look into how the pending messages gets added on the slave,
> any explanation or suggestion is appreciated. Thank you.
> ying
> --
> View this message in context:
> Sent from the ActiveMQ - Dev mailing list archive at

View raw message