brandboat commented on code in PR #20740:
URL: https://github.com/apache/kafka/pull/20740#discussion_r2452008831
##########
storage/src/main/java/org/apache/kafka/storage/internals/log/UnifiedLog.java:
##########
@@ -1214,6 +1214,8 @@ private LogAppendInfo append(MemoryRecords records,
appendInfo.setLastOffset(duplicate.lastOffset());
appendInfo.setLogAppendTime(duplicate.timestamp());
appendInfo.setLogStartOffset(logStartOffset);
+ logger.info("Duplicate batch detected,
returning AppendInfo from duplicate batch with last offset: {}, first offset:
{}, next offset: {}, skipped messages: {}",
Review Comment:
I’m good with either info or trace. As long as we leave a debug message
behind, that’s fine 😃
--
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]