You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by H A B E E B <ha...@gmail.com> on 2013/07/18 01:32:02 UTC

observer node expirey time

All,

We had an issue where the observer node data expire as soon as it is not
able to to contact the leader node.

Is there any way we can control the data expiry time in observer nodes?

Basically, I would like the observer node to share the available data
rather than not serving any data.

Re: observer node expirey time

Posted by Flavio Junqueira <fp...@yahoo.com>.
I need some more detail, I'm not sure I understand the issue. The observer lost its connection to the leader according to your description and then some znode expired? Does it mean that there was an ephemeral node that was deleted because its session expired and the session owner was connected to the observer? How did you observe that the ephemeral was gone, through a different client/server?

You may also want to have a look at the read-only mode option:

	http://zookeeper.apache.org/doc/r3.4.5/zookeeperAdmin.html

-Flavio

On Jul 18, 2013, at 12:32 AM, H  A  B  E  E B <ha...@gmail.com> wrote:

> All,
> 
> We had an issue where the observer node data expire as soon as it is not
> able to to contact the leader node.
> 
> Is there any way we can control the data expiry time in observer nodes?
> 
> Basically, I would like the observer node to share the available data
> rather than not serving any data.