Hi Jordan, Thanks for your reply. The problem is that we cannot confirm an action is committed atomically with checking the leadership. The thread shows that we are unable to access the latch znode.
There is another thread[1] in Curator list and we could continue the discussion there. Best, tison. [1] https://www.mail-archive.com/user@curator.apache.org/msg01238.html Jordan Zimmerman <jor...@jordanzimmerman.com> 于2019年8月15日周四 上午8:23写道: > FYI - that "wart" had a workaround. You can't use the same workaround? > > -Jordan > > > On Aug 14, 2019, at 5:19 PM, Zili Chen <wander4...@gmail.com> wrote: > > > > Actually I want something like LeaderLatch of Curator but the > > implementation in Curator has some wart[1] > >