[ https://issues.apache.org/jira/browse/CURATOR-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kezhu Wang closed CURATOR-396. ------------------------------ Resolution: Information Provided I checked that Curator 2.9.1 uses {{EPHEMERAL_SEQUENTIAL}} to create latch node, you have to wait until session expired. I am closing this jira as it is stale. Feel free to reopen if you confirm it as a bug in 5.5.0. > the node don't disappear when I kill the process in leaderLatch > --------------------------------------------------------------- > > Key: CURATOR-396 > URL: https://issues.apache.org/jira/browse/CURATOR-396 > Project: Apache Curator > Issue Type: Bug > Components: Recipes > Affects Versions: 2.9.1 > Environment: zookeeper3.4.6 > Reporter: finira > Priority: Major > > Userd LeaderLatch to make cluster leader. > but when I kill the process , the node made by leaderLatch do not disappear, > so when I restart a process ,it can not get leader anymore. > I started two process A and B , they fight for leader ,A got leader. > and I killed A and B,but the node in zookeeper does not disapper. > so when I restart A and B,the leader is always the old A. -- This message was sent by Atlassian Jira (v8.20.10#820010)