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 7955BDCCC for ; Tue, 17 Jul 2012 09:54:37 +0000 (UTC) Received: (qmail 39230 invoked by uid 500); 17 Jul 2012 09:54:36 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 38889 invoked by uid 500); 17 Jul 2012 09:54:35 -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 38724 invoked by uid 99); 17 Jul 2012 09:54:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2012 09:54:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tramsmm-mirror@yandex.ru designates 77.88.61.48 as permitted sender) Received: from [77.88.61.48] (HELO forward9.mail.yandex.net) (77.88.61.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2012 09:54:24 +0000 Received: from web16e.yandex.ru (web16e.yandex.ru [77.88.60.19]) by forward9.mail.yandex.net (Yandex) with ESMTP id 7AB90CE2BF1 for ; Tue, 17 Jul 2012 13:54:03 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342518843; bh=xLP9tqcaAkazugLpJ/deThdiIF27wekHXpWdRQmkggI=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=o2/YsJgL3C7TQxvODvPO44DFMj8t2nEYMMQF3cM3y2AXLabmYMJo82J09XsWONH3l W48yl7UxiS7vOEivWxOftqYBza8VDl7cn0Hq9P0KToWBgYjiiHjY0ueViFR3HsRI8l RkwgDoAG/TkyXx3pKgSCNvuv5lkU2pmfs3Vi/mb4= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web16e.yandex.ru (Yandex) with ESMTP id 4A5F9C2005C; Tue, 17 Jul 2012 13:54:03 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342518843; bh=xLP9tqcaAkazugLpJ/deThdiIF27wekHXpWdRQmkggI=; h=From:To:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=o2/YsJgL3C7TQxvODvPO44DFMj8t2nEYMMQF3cM3y2AXLabmYMJo82J09XsWONH3l W48yl7UxiS7vOEivWxOftqYBza8VDl7cn0Hq9P0KToWBgYjiiHjY0ueViFR3HsRI8l RkwgDoAG/TkyXx3pKgSCNvuv5lkU2pmfs3Vi/mb4= Received: from broadband-37-110-46-117.nationalcablenetworks.ru (broadband-37-110-46-117.nationalcablenetworks.ru [37.110.46.117]) by web16e.yandex.ru with HTTP; Tue, 17 Jul 2012 13:54:03 +0400 From: Oleksandr Pryimak To: "user@zookeeper.apache.org" In-Reply-To: References: <321341342458477@web18g.yandex.ru> <323771342458826@web18g.yandex.ru> Subject: Re: Node Exists error code trying to create a seq znode MIME-Version: 1.0 Message-Id: <640001342518843@web16e.yandex.ru> Date: Tue, 17 Jul 2012 13:54:03 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r As far as I see it creates FOO0000000050. This changes children version to 51. So, anyway, it is not a good idea to store anything but sequential znodes in /some_folder 16.07.2012, 22:19, "David Nickerson" : > What happens if /some_folder contains FOO0000000051 and doesn't > contain �FOO0000000050 > when you try to create a sequential znode with version 50? > > On Mon, Jul 16, 2012 at 1:13 PM, Oleksandr Pryimak >> �wrote: >> �Actually, it is FOO(children_version) >> >> �So if you have a znode "/some_folder" which contains FOO0000000050 and its >> �children version is 50 then it is impossible to create a sequential znode >> �with prefix FOO as a child of "/some_folder" znode. >> >> �16.07.2012, 21:07, "Oleksandr Pryimak" : >>> �Good day, everyone. >>> >>> �I discovered that it is impossible to create a sequential node with >> �specified prefix FOO if there is a node FOO(children_version + 1). Error >> �code says that 'node exists'. >>> �I think it never happens in typical use case. But it looks like a bug. >>> >>> �Zookeeper version: 3.3.3--1, built on 08/21/2011 17:26 GMT >>> >>> �-- >>> �Aleksandr Pryimak >> �-- >> �Oleksandr Pryimak -- Oleksandr Pryimak