GenerousMan commented on code in PR #6666:
URL: https://github.com/apache/rocketmq/pull/6666#discussion_r1181157698
##########
store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java:
##########
@@ -309,6 +310,8 @@ public void maybeExpandInSyncStateSet(final Long
slaveBrokerId, final long slave
if (slaveMaxOffset >= confirmOffset) {
final EpochEntry currentLeaderEpoch = this.epochCache.lastEntry();
if (slaveMaxOffset >= currentLeaderEpoch.getStartOffset()) {
+ LOGGER.info("The slave {} has caught up, slaveMaxOffset: {},
confirmOffset: {}, epoch: {}, startOffset: {}.",
Review Comment:
Sure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]