You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/04/19 15:00:01 UTC

[GitHub] [kafka] dengziming commented on pull request #11951: KAFKA-13737: Fix flaky test in LeaderElectionCommandTest

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: jira-unsubscribe@kafka.apache.org

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