I am a little bit confused about what do you mean by the old approach. Are you referring to `checkedEphemeralCreate`? The logic in `controllerNodeExistsHandler ` is essentially the same as `checkedEphmeralCreate` when the node already exists, except that `controllerNodeExistsHandler` will read `/controller_epoch` to get back the epoch zkVersion when the owner of `/controller` is the current broker.
[ Full content available at: https://github.com/apache/kafka/pull/5101 ] This message was relayed via gitbox.apache.org for [email protected]
