From 5f1ec61b503735220501c0c717a17c098961b3e8 Mon Sep 17 00:00:00 2001 From: dcorbacho Date: Wed, 13 Oct 2021 15:22:45 +0200 Subject: Fix stream coordinator log message --- deps/rabbit/src/rabbit_stream_coordinator.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/rabbit/src/rabbit_stream_coordinator.erl b/deps/rabbit/src/rabbit_stream_coordinator.erl index f32d6de61d..4a689d2df8 100644 --- a/deps/rabbit/src/rabbit_stream_coordinator.erl +++ b/deps/rabbit/src/rabbit_stream_coordinator.erl @@ -255,8 +255,8 @@ process_command([], _Cmd) -> process_command([Server | Servers], Cmd) -> case ra:process_command(Server, Cmd, ?CMD_TIMEOUT) of {timeout, _} -> - rabbit_log:warning("Coordinator timeout on server ~s when processing command ~W", - [Server, element(1, Cmd), 10]), + rabbit_log:warning("Coordinator timeout on server ~w when processing command ~W", + [element(2, Server), element(1, Cmd), 10]), process_command(Servers, Cmd); {error, noproc} -> process_command(Servers, Cmd); -- cgit v1.2.1