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

   Test startup does not assure that all brokers are registered. In flaky 
failures, the `DescribeCluster` API does not return a complete list of brokers. 
To fix the issue, we add a call to `ensureConsistentKRaftMetadata()` to ensure 
that all brokers are registered and have caught up to current metadata.
   
   I could get reproduce the failure locally once every 5-10 tries before the 
fix. I haven't seen any failures with the fix applied.
   
   ### 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