Yeah, what Ben said... What you might want to do is something along the lines
of:
1- Have a client create the ephemeral znode, let's call it say "/active"
2- The other client acting as a standby sets a watch on "/active"
3- If the active node crashes, then "/active" is removed and the standby is
can you explain a bit more what you mean by "The zookeeper-client
process on standby which uses the same clientid to initialize a
session with zookeeper." ? if i understand correctly, you are going to
have two clients using the same session which cannot happen. do you
only reuse the clientid when