Skip to content

Commit

Permalink
[ISSUE apache#7577] SlaveActingMaster Timer Message retry without esc…
Browse files Browse the repository at this point in the history
…ape logic (apache#7578)

Co-authored-by: ayue <[email protected]>
  • Loading branch information
2 people authored and lizhimins committed Nov 27, 2023
1 parent 6f56170 commit d98bb3f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,11 @@ public int doPut(MessageExtBrokerInner message, boolean roll) throws Exception {
}
}
Thread.sleep(50);
putMessageResult = messageStore.putMessage(message);
if (escapeBridgeHook != null) {
putMessageResult = escapeBridgeHook.apply(message);
} else {
putMessageResult = messageStore.putMessage(message);
}
LOGGER.warn("Retrying to do put timer msg retryNum:{} putRes:{} msg:{}", retryNum, putMessageResult, message);
}
return PUT_NO_RETRY;
Expand Down

0 comments on commit d98bb3f

Please sign in to comment.