Hangleton opened a new pull request, #13558: URL: https://github.com/apache/kafka/pull/13558
This PR implements the test case for [KAFKA-14845](https://issues.apache.org/jira/browse/KAFKA-14845). This test simulates the loss of a session ID with Zookeeper (for instance due to network partition) while a broker is in the process of creating its ephemeral znode under /brokers/ids/. This can result in broker registration failing with due to a `NODEEXISTS` error which is not handled by the fix [KAFKA-6584](https://issues.apache.org/jira/browse/KAFKA-6584) because in this case, the ID of the session of the conflicting ephemeral znode is not known by the broker. The corresponding timeline of events exercised by this test is reproduced below. A fix will be proposed in a separate PR.  ### 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