Skip to content

Commit

Permalink
[ISSUE #7577] SlaveActingMaster Timer Message retry without escape logic
Browse files Browse the repository at this point in the history
  • Loading branch information
AYue-94 committed Nov 22, 2023
1 parent a7d493b commit 0e9a2e2
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 0e9a2e2

Please sign in to comment.