-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.11.0.GA, AMQ 7.10.3.GA
Under certain conditions, AddressSize JMX property is bigger than 0 after all messages on a destination were consumed.
I could reproduce this on my side, with the following test conditions:
- global max size = 100MB
- queue max size = 200MB
- Queue is ANYCAST
- Producer uses AMQP protocol
- Consumer uses CORE protocol
- Produced and consumed 100.000 messages with 2k size, using Artemis cli tools
- The consumer starts after the queue has all the messages, not before.
I noticed the following on my tests:
- When using the same protocol on both consumer and producer, the issue never happens
- When I reboot the broker, the AddressSize number goes back to 0
- It happens on both 7.10.3 and 7.11.0, but with 7.11.0 the remaining AddressSize number is much lower
There is a script reproducer attached, with further instructions