Guys,
I've noticed a weird problem with ephemeral nodes not being cleaned up if
the session they are tied to times out while ZooKeeper does not have a
quorum. The situation is basically as follows:
3 node cluster
-Client connects to cluster and creates an ephemeral node
-Two nodes die, so quorum is lost
-Some time passes (longer than the session timeout negotiated for the
client that created the ephemeral node)
-One (or both) of the dead nodes come back and a quorum is reformed.
-The ephemeral node tied to the session which should have timed out still
exists
I've noticed a weird problem with ephemeral nodes not being cleaned up if
the session they are tied to times out while ZooKeeper does not have a
quorum. The situation is basically as follows:
3 node cluster
-Client connects to cluster and creates an ephemeral node
-Two nodes die, so quorum is lost
-Some time passes (longer than the session timeout negotiated for the
client that created the ephemeral node)
-One (or both) of the dead nodes come back and a quorum is reformed.
-The ephemeral node tied to the session which should have timed out still
exists