AntonRoskvist opened a new pull request, #4411: URL: https://github.com/apache/activemq-artemis/pull/4411
…f containing only paged messages I really can't seem to replicate this issue in the test suite, but I have been able to stash a journal where this happens repetedly and have verified the change against it successfully. Diff on that journal is: Without change: 52861 messages With change: 83450 messages (as expected) What I believe is happening here is: I have DLQs set to get autoCreated on demand. I have them set to get autoDeleted when no longer holding any messages. Since in my use-case there is no rush in processing DLQs I have the DLQ address set with: max-size-bytes=0 to save on resources So what happens is that the queue registers with 0 messages on startup since the PageCounters are not built yet. Postoffice kicks off the address reaper which somewhat correctly determines the queue holds no messages and is set to AutoDelete and so it deletes it. Suggestions on a working reproducer is welcomed, otherwise I think the solution should be harmless -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
