Skip to content

Commit fac5a9a

Browse files
Merge pull request #6240 from rabbitmq/stream-coord-log-rewords
Stream coordinator: reword some log messages
2 parents 5b9941b + fdad0e9 commit fac5a9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deps/rabbit/src/rabbit_stream_coordinator.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ fail_active_actions(Streams, Exclude) ->
17531753
end, Members),
17541754
case Mnesia of
17551755
{updating, E} ->
1756-
rabbit_log:debug("~ts: schema database action failed, will have to retry. "
1756+
rabbit_log:debug("~ts: failing stale action to trigger retry. "
17571757
"Stream ID: ~ts, node: ~w, action: ~w",
17581758
[?MODULE, Id, node(), updating_mnesia]),
17591759
send_self_command({action_failed, Id,
@@ -1774,9 +1774,9 @@ fail_action(_StreamId, #member{current = undefined}) ->
17741774
fail_action(StreamId, #member{role = {_, E},
17751775
current = {Action, Idx},
17761776
node = Node}) ->
1777-
rabbit_log:debug("~ts: schema database action failed, will have to retry. "
1777+
rabbit_log:debug("~ts: failing stale action to trigger retry. "
17781778
"Stream ID: ~ts, node: ~w, action: ~w",
1779-
[?MODULE, StreamId, node(), updating_mnesia]),
1779+
[?MODULE, StreamId, node(), Action]),
17801780
%% if we have an action send failure message
17811781
send_self_command({action_failed, StreamId,
17821782
#{action => Action,

0 commit comments

Comments
 (0)