jolshan opened a new pull request #11171:
URL: https://github.com/apache/kafka/pull/11171


   Most of [KAFKA-13132](https://issues.apache.org/jira/browse/KAFKA-13132) has 
been resolved, but there is one part of one case not covered.
   From the ticket:
   `2. We only assign the topic ID when we are associating the log with the 
partition in replicamanager for the first time`
   
   We covered the case where the log is already existing when the leader epoch 
is _equal_ (ie, no updates besides the topic ID), but we don't cover the update 
case where the leader epoch is bumped and we already have the log associated to 
the partition. 
   
   This PR ensures we correctly assign topic ID in the makeLeaders/Followers 
path when the log already exists.
   I've also added a test for the bumped leader epoch scenario.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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


Reply via email to