Hmm, to me, if the ephemeral owner of the controller path equals to the ZK 
session id, it means that at that particular time, the controller path and the 
controller epoch path are created by the current ZK session, and therefore the 
controller epoch used for creation should be valid. This seems to be equivalent 
as checking the value of the controller path and the controller epoch value. In 
both cases, after the check, the controller could change again. However, that 
will be handled by the ZK watcher event.

[ Full content available at: https://github.com/apache/kafka/pull/5101 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to