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

   This originally was https://github.com/apache/kafka/pull/14489 which covered 
2 aspects -- reloading on partition epoch changes where leader epoch did not 
change and reloading when leader epoch changed but we were already the leader. 
   
   I've cut out the second part of the change since the first part is much 
simpler.
   
   Redefining the TopicDelta fields to better distinguish when a leader is 
elected (leader epoch bump) vs when a leader has isr/replica changes (partition 
epoch bump). There are some cases where we bump the partition epoch but not the 
leader epoch. We do not need to do operations that only care about the leader 
epoch bump. (ie -- onElect callbacks)
   
   


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