You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every priority queue is N queues under the hood, so my guess is that the metric tries to aggregate version numbers as it would, say, counters like the number of messages in a certain state.
It should instead just pick the storage version of the first internal queue since they will never differ.
gomoripeti
added a commit
to cloudamqp/rabbitmq-server
that referenced
this issue
Sep 12, 2023
Describe the bug
Declaring a priority queue leads to weird values being presented in the management UI (and via
rabbitmqadmin
), see screenshots.Here I would expect it to be 1 rather than 11:
and here to be 2 rather than 22:
Reproduction steps
rabbitmqadmin declare queue name=priority-bug1 arguments='{"x-max-priority":10,"x-queue-version":1}'
rabbitmqadmin declare queue name=priority-bug2 arguments='{"x-max-priority":10,"x-queue-version":2}'
rabbitmqadmin --vhost / list queues name backing_queue_status.version
It seems like the value becomes something like
(1 + max_priority) * queue_version
?Expected behavior
To see versions correspond to the queue version number.
Additional context
Tried this on 3.12.4, but have observed on 3.12.1 too.
The text was updated successfully, but these errors were encountered: