Greetings,

We caught an accident when already sent messages were unexceptedly
redelivered after rebuilding KahaDB index.
Full chronicle:
1. We noticed that counter of one queue shows 302 messages in the queue,
although its consumer receives nothing. When new message had appeared it was
instantly consumed but those 302 were untouched. Producer, consumer and
broker are embedded in one application. We restarted it without result.
2. We performed KahaDB index rebuild by stopping, deleting db.data, starting
the application. After these actions several thousands (!) messages appeared
in queue and were consumed. Counter stayed on zero value. 
3. Later we found that it was bunch of messages that had already been sent
in far past. 

What are possible reasons for such redelivery? I have suggestion that there
were messages in journal files which somehow remained unacknowledged.
Rebuilding index affected redelivery. But what happened behind the scene and
why counter showed only 302 messages (not 0, not thousands)?

We use FUSE Message Broker 5.4.2-fuse-02-00. Queue have only one producer
and one consumer.

Thanks,
Anton.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Message-redelivery-after-rebuilding-KahaDB-index-tp4661591.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to