Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,8 @@ private LogAppendInfo append(MemoryRecords records,
appendInfo.setLastOffset(duplicate.lastOffset());
appendInfo.setLogAppendTime(duplicate.timestamp());
appendInfo.setLogStartOffset(logStartOffset);
logger.trace("Duplicate batch detected, returning AppendInfo from duplicate batch with last offset: {}, first offset: {}, next offset: {}, skipped messages: {}",
appendInfo.lastOffset(), appendInfo.firstOffset(), localLog.logEndOffset(), validRecords);
} else {
// Append the records, and increment the local log end offset immediately after the append because a
// write to the transaction index below may fail, and we want to ensure that the offsets
Expand Down