HA mirroring policy was not applied after federation was turned off #10422
-
Describe the bugHi. We are facing a problem with the federation. There is a cluster of 5 nodes and another rabbitmq instance was connected through the federation. After turning off the federation (deleting Federation Upstreams and policy), the queues (type of queues is classic) that were transferred through the federation were unable to apply the mirroring (ha-all) policy between the cluster nodes. The queue had one master and 0 active replicas, and after the startup of one of the nodes (not the master), it appeared in the not syncronised status. Command
Cluster info: `rabbitmq-diagnostics status OS PID: 327821 Plugins Enabled plugin file: /etc/rabbitmq/enabled_plugins
Data directory Node data directory: /var/lib/rabbitmq/mnesia/rabbit@node_cluster1 Config files
Log file(s)
Alarms (none) Memory Total memory used: 2.4136 gb allocated_unused: 0.8563 gb (35.48 %) File Descriptors Total: 1505, limit: 16287 Free Disk Space Low free disk space watermark: 0.05 gb Totals Connection count: 491 Listeners Interface: [::], port: 15671, protocol: https, purpose: HTTP API over TLS (HTTPS) All other nodes have the same version on config. To fix that, I restarted master node for failed queues Reproduction steps
Expected behaviorPolicy for ha mirroring must be applied after removing federation policy and federation upstream. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There isn't enough information to conclude that this is a bug. No logs, no policy priority details. More importantly, we will not be investigating anything related to classic mirrored queues. They will be REMOVED from RabbitMQ within the next 2-3 months. They have been deprecated for over two years now. Quorum queues have been around for close to six years. It's the end of the road for classic mirrored queues, regardless of what exactly happened in your cluster. |
Beta Was this translation helpful? Give feedback.
There isn't enough information to conclude that this is a bug. No logs, no policy priority details.
Your node could end up without an electable leader, we have absolutely no way of confirming this. In that case, no operations on it will succeed until you restart some replicas (and even then it is not guaranteed to help, depending on the mirroring settings).
More importantly, we will not be investigating anything related to classic mirrored queues. They will be REMOVED from RabbitMQ within the next 2-3 months. They have been deprecated for over two years now.
Quorum queues have been around for close to six years.
It's the end of the road for classic mirrored queues, regardless of what exac…