Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3DDC3200CAD for ; Tue, 6 Jun 2017 06:40:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3C9ED160BE1; Tue, 6 Jun 2017 04:40:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 853EF160BD4 for ; Tue, 6 Jun 2017 06:40:26 +0200 (CEST) Received: (qmail 94093 invoked by uid 500); 6 Jun 2017 04:40:25 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 94082 invoked by uid 99); 6 Jun 2017 04:40:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2017 04:40:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B48901A0874 for ; Tue, 6 Jun 2017 04:40:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id I-SKvAWHgfwe for ; Tue, 6 Jun 2017 04:40:24 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C1E1F5F398 for ; Tue, 6 Jun 2017 04:40:18 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 60DE9E0041 for ; Tue, 6 Jun 2017 04:40:18 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0F2E520DF1 for ; Tue, 6 Jun 2017 04:40:18 +0000 (UTC) Date: Tue, 6 Jun 2017 04:40:18 +0000 (UTC) From: "JiangJiafu (JIRA)" To: dev@zookeeper.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Jun 2017 04:40:27 -0000 JiangJiafu created ZOOKEEPER-2800: ------------------------------------- Summary: zookeeper ephemeral node not deleted after server restart and consistency is not hold Key: ZOOKEEPER-2800 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2800 Project: ZooKeeper Issue Type: Bug Components: quorum Affects Versions: 3.4.11 Environment: Centos6.5 java8 Reporter: JiangJiafu Priority: Critical I deploy a cluster of ZooKeeper with three nodes: ofs_zk1:30.0.0.72 ofs_zk2:30.0.0.73 ofs_zk3:30.0.0.99 On 2017-06-02, use the c zk client to create some ephemeral sequential nodes,: /adm_election/rolemgr/rolemgr0000000008, /adm_election/rolemgr/rolemgr0000000011, /adm_election/rolemgr/rolemgr0000000012, with sesstion timeout 20000 ms. Then I restart ofs_zk1 and ofs_zk2. On 2017-06-05, I found that, the ephemeral nodes still exist on ofs_zk1. I can check the nodes by zkCli.sh get command on ofs_zk1. But these nodes doesn't not exist on ofs_zk2 and ofs_zk3. Is it odd? I have upload the whole deploy directory of three nodes to: https://pan.baidu.com/s/1miohiCo , The log is printed in log/zookeeper.out log of ofs_zk3 is too large, so I only show the head 1000 lines. Since I find this PR a little late, some snapshot and log may be deleted. I hope anyone can help find the reason. -- This message was sent by Atlassian JIRA (v6.3.15#6346)