Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2F5181C4 for ; Tue, 30 Aug 2011 02:20:30 +0000 (UTC) Received: (qmail 53164 invoked by uid 500); 30 Aug 2011 02:20:30 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 53110 invoked by uid 500); 30 Aug 2011 02:20:29 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 53095 invoked by uid 99); 30 Aug 2011 02:20:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 02:20:29 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.218.42] (HELO mail-yi0-f42.google.com) (209.85.218.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 02:20:22 +0000 Received: by yie16 with SMTP id 16so3851644yie.15 for ; Mon, 29 Aug 2011 19:19:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.125.161 with SMTP id z21mr29482572yhh.58.1314670799735; Mon, 29 Aug 2011 19:19:59 -0700 (PDT) Received: by 10.146.108.14 with HTTP; Mon, 29 Aug 2011 19:19:59 -0700 (PDT) X-Originating-IP: [1.212.30.211] In-Reply-To: References: Date: Tue, 30 Aug 2011 11:19:59 +0900 Message-ID: Subject: Re: NodeExistsException when creating a znode with sequential and ephemeral mode From: =?EUC-KR?B?udq/tbHZKEFsZXgp?= To: dev@zookeeper.apache.org Cc: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=20cf3036388103ca4004abafa677 --20cf3036388103ca4004abafa677 Content-Type: text/plain; charset=EUC-KR Content-Transfer-Encoding: quoted-printable We used 3.3.3. We will check out the latest code. Thanks Camille. Alex 2011/8/30 Camille Fournier > More specifically, we fixed this for the upcoming release: > https://issues.apache.org/jira/browse/ZOOKEEPER-1046 > > You can try checking out the latest code and building it, should fix > your error. I believe 3.3.4 will be released in a week or two. > > c > > On Mon, Aug 29, 2011 at 9:56 PM, Camille Fournier > wrote: > > What version of ZK were you using? > > > > On Mon, Aug 29, 2011 at 9:50 PM, =B9=DA=BF=B5=B1=D9(Alex) wrote: > >> Hi, all > >> > >> I met a problem of NodeExistsException when creating a znode with > sequential > >> and ephemeral mode. > >> the number of total test was 6442314 and 797 errors had occurred. > >> > >> The related log message is as in the following: > >> 2011-08-27 16:26:17,559 - INFO > [ProcessThread:-1:PrepRequestProcessor@407][] > >> - Got user-level KeeperException when processing > sessionid:0x2320911802a0002 > >> type:create cxid:0x1246d7 zxid:0xfffffffffffffffe txntype:unknown > >> reqpath:n/a Error > >> Path:/NexR/MasteElection/__rwLock/readLock-lssm07-0005967078 > >> Error:KeeperErrorCode =3D NodeExists for > >> /NexR/MasteElection/__rwLock/readLock-lssm07-0005967078 > >> > >> The sequential number would be created by increasing parent's Cversion > in > >> the PrepRequestProcess. > >> So, I guess that this problem was caused by inconsistency of parent > znode. > >> > >> Our test scenario is very aggressive: > >> The grinder agent sends a request of creating a znode of > >> CreateMode. SEQUENTIAL_EPHEMERAL. > >> three number of servers compose ensemble. > >> each NIC of server is down and up repeatedly; > >> NIC of server1 become down every one minute and sleeping for 9 seconds= , > then > >> up > >> NIC of server2 become down every 2 minute and sleeping for 9 seconds, > then > >> up > >> NIC of server3 become down every 3 minute and sleeping for 9 seconds, > then > >> up > >> > >> while the probability of error occurrence is 0.0001 as mentioned above= , > >> if the ZooKeeper cannot guarantee the consistency, it is a fatal. > >> > >> Is there any idea or related issue? > >> > >> thanks in advance. > >> > >> alex. > >> > > > --20cf3036388103ca4004abafa677--