Skip to content

Commit 4a57eb7

Browse files
michaelklishinmergify[bot]
authored andcommitted
Wording #12113
(cherry picked from commit f47daee) (cherry picked from commit bb57273)
1 parent d01059a commit 4a57eb7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

deps/rabbit/src/rabbit_upgrade_preparation.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ do_await_safe_online_quorum(IterationsLeft) ->
7474
0 ->
7575
case length(EndangeredQueues) of
7676
0 -> ok;
77-
N -> rabbit_log:info("Waiting for ~p queues to have quorum+1 members online."
77+
N -> rabbit_log:info("Waiting for ~ts queues and streams to have quorum+1 replicas online."
7878
"You can list them with `rabbitmq-diagnostics check_if_node_is_quorum_critical`", [N])
7979
end,
8080
case endangered_critical_components() of
8181
[] -> ok;
82-
_ -> rabbit_log:info("Waiting for the following critical components to have quorum+1 members online: ~p.",
82+
_ -> rabbit_log:info("Waiting for the following critical components to have quorum+1 replicas online: ~p.",
8383
[endangered_critical_components()])
8484
end;
8585
_ ->

deps/rabbitmq_cli/lib/rabbitmq/cli/streams/commands/add_replica_command.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ defmodule RabbitMQ.CLI.Streams.Commands.AddReplicaCommand do
2525
to_atom(node)
2626
]) do
2727
{:error, :classic_queue_not_supported} ->
28-
{:error, "Cannot add replicas to a classic queue"}
28+
{:error, "Cannot add replicas to classic queues"}
2929

3030
{:error, :quorum_queue_not_supported} ->
31-
{:error, "Cannot add replicas to a quorum queue"}
31+
{:error, "Cannot add replicas to quorum queues"}
3232

3333
other ->
3434
other
@@ -37,11 +37,11 @@ defmodule RabbitMQ.CLI.Streams.Commands.AddReplicaCommand do
3737

3838
use RabbitMQ.CLI.DefaultOutput
3939

40-
def usage, do: "add_replica [--vhost <vhost>] <queue> <node>"
40+
def usage, do: "add_replica [--vhost <vhost>] <stream> <node>"
4141

4242
def usage_additional do
4343
[
44-
["<queue>", "stream queue name"],
44+
["<queue>", "stream name"],
4545
["<node>", "node to add a new replica on"]
4646
]
4747
end
@@ -54,11 +54,11 @@ defmodule RabbitMQ.CLI.Streams.Commands.AddReplicaCommand do
5454

5555
def help_section, do: :replication
5656

57-
def description, do: "Adds a stream queue replica on the given node."
57+
def description, do: "Adds a stream replica on the given node"
5858

5959
def banner([name, node], _) do
6060
[
61-
"Adding a replica for queue #{name} on node #{node}..."
61+
"Adding a replica for stream #{name} on node #{node}..."
6262
]
6363
end
6464
end

0 commit comments

Comments
 (0)