rabbitmq-server icon indicating copy to clipboard operation
rabbitmq-server copied to clipboard

Peer discovery: forced removal due to cleanup does not remove it from quorum queues

Open f-panahi opened this issue 4 years ago • 2 comments

rmq version: 3.8.14

enabled_plugins:

[rabbitmq_management,rabbitmq_tracing,rabbitmq_peer_discovery_aws,rabbitmq_federation,rabbitmq_federation_management,rabbitmq_shovel,rabbitmq_shovel_management].

I have a cluster of 3 rmq nodes using AWS peer discovery with tags. I enabled cluster formation node cleanup, to force remove the unknown instances.

cluster_formation.node_cleanup.interval = 90
cluster_formation.node_cleanup.only_log_warning = false

The issue that I am facing is that the quorum queue does not shrink automatically. If I remove the node from the cluster by forget_cluster_node the node will automatically be removed from the quorum queue. But when it is deleted by automatic node cleanup, it does not work.

The expected behavior for any queues or objects in a Rabbitmq cluster is that when a node is removed, all references to be removed including the queue members.

Thanks,

f-panahi avatar Mar 10 '21 20:03 f-panahi

@michaelklishin Is there any update on this? Has it been implemented yet or still outstanding?

ReadyElbow avatar Jun 13 '22 08:06 ReadyElbow

No updates that I know of. Those who need this behavior are welcome to contribute it.

michaelklishin avatar Jun 13 '22 10:06 michaelklishin