jolshan commented on code in PR #13608: URL: https://github.com/apache/kafka/pull/13608#discussion_r1199477543
########## storage/src/main/java/org/apache/kafka/storage/internals/log/ProducerStateManager.java: ########## @@ -183,6 +184,19 @@ private void clearProducerIds() { producers.clear(); producerIdCount = 0; } + + public ProducerStateEntry entryForVerification(long producerId, short producerEpoch, int firstSequence) { Review Comment: I guess to address the previous concern about tentative sequences on epoch bumps, maybe we can just update the sequence when no entry exists. -- 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