-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issue #7142 #7144
Fix issue #7142 #7144
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, I just started via make run-broker
with this patch and the issue is resolved. I also set and cleared the max-connections
limit for the guest
user and /
vhost
@MarcialRosales @lukebakken do we know if |
3.9.28 has this bug too. |
Yes, v3.10.x is also affected and 3.9.28. cc @michaelklishin @kuPyxa |
The |
New releases are shipped every few weeks, there is no fixed schedule. |
I cannot reproduce it. Can you specify the reproducer steps? have you also tried to clear your cache?
|
Maybe something got cached. Try Ctrl + F5. |
I upgraded my kubernetes installation with helm from chart version bitnami/rabbitmq 11.7.0 (where I had the bug on the limits page) to bitnami/rabbit 11.11.1 which uses the image It seems like clearing the cache manually worked, thanks |
I can confirm this issue affecting 3.10. Considering other reports, perhaps this need to be tagged for backporting to 3.10 and 3.9? @michaelklishin |
There will be no more 3.9 releases. |
This was backported to |
|
@eduardomb08 clear all local storage and cache for the management UI. |
It seems the discussion was locked.. so I thought registering my comment here would be the best way to contribute. All of the systems and frameworks I worked with have feature flags working as switches, and not irreversible changes. That being said, I don't remember working with feature flags in any other distributed system. I don't really care about the name. But the behavior should be clear in the UI. If enabling a feature flag is designed to be irreversible in RabbiqMQ, it would be nice to have not only a callout to that fact in the UI, but also a confirmation dialog or something when clicking the Enable button. Lastly, irreversible flags will make it impossible for K8S clusters to rollback upgrades. Given that the upgrade worked without any issues in one of my clusters, but failed in another, no amount of testing in the first environment would guarantee the second would work as well. It that is the case, I believe anyone would feel extremely insecure (to say the least), to turn a feature flag ON in a cluster. Your idea of a CLI command to override the value seems a step in the direction to allowing rollbacks, but still now clear how that would happen, since all of that is abstracted by K8S. @michaelklishin , given that changes may work in a cluster but not in another, how can a change be safely tested in a separate cluster and then safely to production? PS: No emotions here besides the frustration of some unexpected rework. And I'm trying to push for any change here, but I would love to know how to make it work since I love and recommend RabbitMQ. PS2: I was finally able to revert to v3.9, but lost stuff. I'm just thankful that this happened between two of my test clusters and not between real environments. |
@eduardomb08 you keep assuming that RabbitMQ supports downgrades. It does not, in multiple places. Besides full disk snapshots on all cluster nodes, there is no way to roll back an upgrade, on Kubernetes or not. Some feature flags can be semantically disabled but their purpose is to enable rolling upgrades, during which a cluster becomes mixed version (e.g. RabbitMQ 3.11 nodes run alongside a group of 3.10 nodes, all the way until all nodes are upgraded). Some
Blue/Green upgrades is the safest upgrade option because the original cluster is not going away. On Kubernetes specifically, trying out a feature flag in a new cluster should not be difficult. In fact, in new clusters all feature flags common across all nodes are usually automatically enabled, so you don't have to do that manually.
|
Thanks for the clarification, @michaelklishin! That's very helpful. Given you last comment, I believe the UI changes I suggested become even more important. An accidental click could cause great disruption. Again, thank you very much! |
Fixes #7142
The issue is that users retrieved with the intention to be listed in the limits view are not paged hence they are not wrapped
around a paging struct where users would be under
items
attribute. The limits template thinks that users are paged and when it executesusers.items.length
, it cannot finditems
.Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that apply