Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Network partition and ephemeral nodes


Copy link to this message
-
Re: Network partition and ephemeral nodes
Yes if quorum is intact but the client cannot connect to the zookeeper, the
session and the ephemeral nodes will expire. It is up to users of ZK for
locking to correctly assume that a given client is not the lock holder if
its connection to the ZooKeeper is lost.

C

On Sun, Nov 25, 2012 at 1:32 PM, Narayanan Arunachalam <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> In case the network between ZK cluster and client is partitioned, once the
> session expires would it remove the ephemeral nodes? If that's the case how
> is the correctness of the recipes like locks are archived. Because once the
> ephemeral nodes are removed next client would be granted the lock isn't it.
>
> Regards,
> Nara
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB