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 <[email protected]> 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.