zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Yu <NuoNathan...@twosigma.com>
Subject Clarification on ZooKeeper.getState().isAlive() and ephemeral nodes
Date Mon, 22 Feb 2016 19:27:02 GMT
Say I have two clients, Alice and Bob

1. Alice creates ephemeral node /foo
2. Bob sees ephemeral node /foo
3. Alice's session expires.
4. Bob sees ephemeral /foo disappear.
5. Alice checks ZooKeeper.getState().isAlive()

Is there a guarantee that Alice's ZooKeeper.getState().isAlive() will always return false
 at step 5?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message