guozhangwang commented on pull request #10481:
URL: https://github.com/apache/kafka/pull/10481#issuecomment-813683249


   Nice catch! Regarding the fix, WDYT to just remember the `LeaderChange` 
record's offset and compare against it instead of the epoch start offset? I'm 
thinking if in the future there are any scenarios that can fill in some more 
records between these two, we are still immune to any future bugs. 


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to