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
Is your feature request related to a problem? Please describe.
Taking rabbitmq-queues grow as example. This command returns status code 0 and a log message hinting it did its intended job, even when the user targets a node that does not exist. For example:
rabbitmq-queues grow 'this-node-does-not-exist' all --queue-pattern some-queue
# Growing all quorum queues on this-node-does-not-exist...
Describe the solution you'd like
The CLI checks whether the target node is part of the cluster, and returns an error if it's not.
Describe alternatives you've considered
No response
Additional context
This was tested in RabbitMQ 3.11.10. This would be applicable to other CLI commands. I don't have enough knowledge of the internals to suggest other specific CLI commands 🙃
The text was updated successfully, but these errors were encountered:
Specifically of the node where new replicas should be
placed.
Closes#8007
(cherry picked from commit d4a2d48)
(cherry picked from commit 40b59fc)
# Conflicts:
# deps/rabbitmq_cli/lib/rabbitmq/cli/core/validators.ex
Is your feature request related to a problem? Please describe.
Taking
rabbitmq-queues grow
as example. This command returns status code 0 and a log message hinting it did its intended job, even when the user targets a node that does not exist. For example:Describe the solution you'd like
The CLI checks whether the target node is part of the cluster, and returns an error if it's not.
Describe alternatives you've considered
No response
Additional context
This was tested in RabbitMQ 3.11.10. This would be applicable to other CLI commands. I don't have enough knowledge of the internals to suggest other specific CLI commands 🙃
The text was updated successfully, but these errors were encountered: