zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zili Chen <wander4...@gmail.com>
Subject Re: Ephemeral znode deleted infers session expired?
Date Thu, 19 Sep 2019 14:38:51 GMT
Of course it is ensured that no other operations delete this leader latch
znode.

Best,
tison.


Zili Chen <wander4096@gmail.com> 于2019年9月19日周四 下午10:37写道:

> Hi ZooKeepers,
>
> I'd like to know whether an ephemeral znode deleted infers its
> corresponding session expired.
>
> The original situation is that when I create a leader latch as
> ephemeral sequential znode. When the znode got deleted others possibly
> become new leader so that I'd like to forbid any further operations from
> the former leader. I'm thinking of achieve this for free if zookeeper
> already confirms that the following operations should be failed by
> SessionExpiredException.
>
> Best,
> tison.
>

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