Max-length policy is not respected #4174
Replies: 4 comments 11 replies
-
Did you apply the policy after the messages arrived at the queue?
…On Wed, 23 Feb 2022 at 10:49, Jarosław Bochniak ***@***.***> wrote:
Using 3.9.13 version of RabbitMQ in kubernetes. When quorum queue has no
consumers it shows in the UI the applied policy, but the settings are not
respected. Queue has more messages than it should.
[image: Opera Snapshot_2022-02-23_114135_mq int-fran srinternal net]
<https://user-images.githubusercontent.com/5468094/155304619-599cd2c4-77f3-4b75-8c00-c6c9cdae990c.png>
—
Reply to this email directly, view it on GitHub
<#4174>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJAHFDQ33SQEQZ35BXMLGLU4S3S3ANCNFSM5PD7EZWQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
*Karl Nilsson*
|
Beta Was this translation helpful? Give feedback.
-
Hard to say that, but definitely I am still observing new messages coming in to the queue after the policy has been applied. I have also made a test and moved all messages to different queue, and later moved them back to this queue. This also had no effect on number of messages kept in queue after the second move. |
Beta Was this translation helpful? Give feedback.
-
I believe that this problem may occur in situations when:
Deletion and subsequent recreation of policy seems to be fixing an issue. |
Beta Was this translation helpful? Give feedback.
-
@michaelklishin I have managed to replicate it in two scenarios: Case 1 steps
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Using

3.9.13
version of RabbitMQ in kubernetes. When quorum queue has no consumers it shows in the UI the applied policy, but the settings are not respected. Queue has more messages than it should.Worth to note that on the other environment where we have the same setup (same RabbitMQ, same configuration of the policies and the same queue) it does work as expected. I was unable to pinpoint the reason for such miss behaviour, but I have observed this situation in the past in similar cases.
Beta Was this translation helpful? Give feedback.
All reactions