cmccabe commented on code in PR #13033: URL: https://github.com/apache/kafka/pull/13033#discussion_r1054776436
########## metadata/src/main/java/org/apache/kafka/controller/QuorumController.java: ########## @@ -860,7 +886,7 @@ public void handleCommit(BatchReader<ApiMessageAndVersion> reader) { int i = 1; for (ApiMessageAndVersion message : messages) { try { - replay(message.message(), Optional.empty(), offset); + replay(message.message(), Optional.empty(), offset + i - 1, epoch); Review Comment: previously it was sending the end offset of the batch. it now sends the actual record offset. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org