diff options
| author | Karl Nilsson <kjnilsson@gmail.com> | 2022-06-14 10:13:50 +0100 |
|---|---|---|
| committer | Karl Nilsson <kjnilsson@gmail.com> | 2022-06-14 10:13:50 +0100 |
| commit | dc35e6dc8b2aa8fe984b4656308975cdd8f6f140 (patch) | |
| tree | dfe8d3abde7d5983587ae95eee32fe9c35c3419d | |
| parent | 4fd20ad37698257edfe8d05c7f5ab182f5084eec (diff) | |
| download | rabbitmq-server-git-dc35e6dc8b2aa8fe984b4656308975cdd8f6f140.tar.gz | |
Add action to stream coordinator warning
| -rw-r--r-- | deps/rabbit/src/rabbit_stream_coordinator.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/rabbit/src/rabbit_stream_coordinator.erl b/deps/rabbit/src/rabbit_stream_coordinator.erl index a36d4cc928..6db151a6c1 100644 --- a/deps/rabbit/src/rabbit_stream_coordinator.erl +++ b/deps/rabbit/src/rabbit_stream_coordinator.erl @@ -724,9 +724,9 @@ handle_aux(leader, _, {down, Pid, Reason}, %% An action has failed - report back to the state machine case maps:get(Pid, Monitors0, undefined) of {StreamId, Action, #{node := Node, epoch := Epoch} = Args} -> - rabbit_log:warning("~s: error while executing action for stream queue ~s, " + rabbit_log:warning("~s: error while executing action ~w for stream queue ~s, " " node ~s, epoch ~b Err: ~w", - [?MODULE, StreamId, Node, Epoch, Reason]), + [?MODULE, Action, StreamId, Node, Epoch, Reason]), Monitors = maps:remove(Pid, Monitors0), Cmd = {action_failed, StreamId, Args#{action => Action}}, send_self_command(Cmd), |
