Skip to content

Commit

Permalink
[ISSUE #7577] SlaveActingMaster Timer Message retry without escape lo…
Browse files Browse the repository at this point in the history
…gic (#7578)

Co-authored-by: ayue <[email protected]>
  • Loading branch information
AYue-94 and AYue-94 committed Nov 24, 2023
1 parent 5b43387 commit e955e43
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 e955e43

Please sign in to comment.