You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by pholik1 <pe...@kb.cz> on 2018/08/06 13:21:39 UTC

Already consumed messages present in queue when browsing

Hello everyone,

I've recently faced strange behavior, maybe bug. When a I created
QueueBrowser on queue which contanins few NON_PERSISTENT messages the
QueueBrowser recieves even messages which has already been consumed.
I've dumped content of Artemis data directory and messages from the queue is
paged on the disk, uncorfirmed messages is spread between confirmed ones.

I've debugged Artemis and identified line which causes not
procesing(filtering out acked messages):

https://github.com/apache/activemq-artemis/blob/ec8914843d9482ee3387843f27fe250aa7f12def/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/cursor/impl/PageSubscriptionImpl.java#L1308

Should I fire a BUG?

PS: This happend in Artemis 1.5.5(but same code is in master so I assume it
will be same for 2.x.x)

Sincerely Petr Holik





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html