dengziming commented on PR #11951:
URL: https://github.com/apache/kafka/pull/11951#issuecomment-1102760776

   Yeah @hachikuji , it's impossible to remove the gap but we can still 
minimize it by:
   1. Don't advertise an offset to the controller until it has been published
   2. Only unfence a broker when it has seen its own registration
   
   I also added a test case for these 2 logics in BrokerLifecycleManagerTest, 
it seems a little messy, PTAL.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to