File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
deps/rabbitmq_cli/lib/rabbitmq/cli/diagnostics/commands Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ defmodule RabbitMQ.CLI.Diagnostics.Commands.CheckForQuorumQueuesWithoutAnElected
7373 def formatter ( ) , do: RabbitMQ.CLI.Formatters.PrettyTable
7474
7575 def usage ( ) do
76- "leader_health_check [--vhost <vhost>] [--across-all-vhosts] <pattern>"
76+ "check_for_quorum_queues_without_an_elected_leader [--vhost <vhost>] [--across-all-vhosts] <pattern>"
7777 end
7878
7979 def usage_additional do
@@ -91,15 +91,15 @@ defmodule RabbitMQ.CLI.Diagnostics.Commands.CheckForQuorumQueuesWithoutAnElected
9191 ]
9292 end
9393
94- def description ( ) , do: "Checks availability and health status of quorum queue leaders "
94+ def description ( ) , do: "Checks that quorum queue have elected and available leader replicas "
9595
9696 def banner ( [ name ] , % { across_all_vhosts: true } ) ,
97- do: "Checking availability and health status of leaders for quorum queues matching '#{ name } ' in all vhosts ..."
97+ do: "Checking leader replicas of quorum queues matching '#{ name } ' in all vhosts ..."
9898
9999 def banner ( [ name ] , % { vhost: vhost } ) ,
100- do: "Checking availability and health status of leaders for quorum queues matching '#{ name } ' in vhost #{ vhost } ..."
100+ do: "Checking leader replicas of quorum queues matching '#{ name } ' in vhost #{ vhost } ..."
101101
102102 def queue_lines ( qs ) do
103- for q <- qs , do: "Leader for #{ q [ "readable_name" ] } is unhealthy and unavailable "
103+ for q <- qs , do: "#{ q [ "readable_name" ] } does not have an elected leader replica or the replica was unresponsive "
104104 end
105105end
You can’t perform that action at this time.
0 commit comments