Skip to content

Commit 845230b

Browse files
'rabbitmq-diagnostics check_for_quorum_queues_without_an_elected_leader' documentation edits
1 parent a192971 commit 845230b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

deps/rabbitmq_cli/lib/rabbitmq/cli/diagnostics/commands/check_for_quorum_queues_without_an_elected_leader_command.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
105105
end

0 commit comments

Comments
 (0)