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 8D8BE18A42 for ; Fri, 16 Oct 2015 00:28:19 +0000 (UTC) Received: (qmail 52589 invoked by uid 500); 16 Oct 2015 00:28:18 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 52536 invoked by uid 500); 16 Oct 2015 00:28:18 -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 52525 invoked by uid 99); 16 Oct 2015 00:28:18 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Oct 2015 00:28:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1FCC6C4BD1 for ; Fri, 16 Oct 2015 00:28:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.952 X-Spam-Level: *** X-Spam-Status: No, score=3.952 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id EzKxjnhfT7HS for ; Fri, 16 Oct 2015 00:28:16 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 874ED2054C for ; Fri, 16 Oct 2015 00:28:16 +0000 (UTC) Received: by oiar126 with SMTP id r126so55775933oia.0 for ; Thu, 15 Oct 2015 17:28:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=t2znJlxAC580P5P86IvNTGTz6I15ubgBiD3z2gzxhaQ=; b=W+/Vt6qD828LoQwYhnK+qTLqfclo0b5lUaBpDXVtDn0ThN92b9Xd7ogWURc9Nn0TtV IHESLboQDDqJxA7dV8UYelquHx1JMs4QNJ8zpNaT3P2aROWY/fIyyxh9RaXpS+enlAu2 apFsqmkkR7WfREI1AUhG2fk/TKLESrnfNiE+QNK494WaWDpHN3G4c3GkUVTcxR9Lejgr oEiSWpRQDshuXWrT2tvGkr14NswYldH9Zpz1Qrtxp0WHBuZnu3TYItCuMb++6xLsPHGH +K7Jum4KRUYcG16pZY81TKiFs9S/ubXmpXEbqZtMHzVXQYLg0aujWfAj7N5kxNGIiica j05w== X-Gm-Message-State: ALoCoQm5+1OVjOEZbma82wkO+1G39/bnTUOs/KHWa+ULEZthW2wyXAP+6DetO1d0X745helx1yhk MIME-Version: 1.0 X-Received: by 10.202.211.10 with SMTP id k10mr7457721oig.34.1444955295055; Thu, 15 Oct 2015 17:28:15 -0700 (PDT) Received: by 10.202.50.214 with HTTP; Thu, 15 Oct 2015 17:28:15 -0700 (PDT) X-Originating-IP: [192.94.66.20] In-Reply-To: References: Date: Thu, 15 Oct 2015 17:28:15 -0700 Message-ID: Subject: Re: sync result code -4 From: =?UTF-8?B?UmHDumwgR3V0acOpcnJleiBTZWdhbMOpcw==?= To: "user@zookeeper.apache.org" Content-Type: multipart/alternative; boundary=001a113d2cd614191605222ddfb0 --001a113d2cd614191605222ddfb0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 15 October 2015 at 17:11, Benjamin Jaton wrote: > Hello, > > zk.sync(ZooDefs.CONFIG_NODE, new AsyncCallback.VoidCallback() { > @Override > public void processResult(int rc, String path, Object ctx) { > > I get rc=3D-4, what does it mean? > I couldn't find where in the source code those were defined. > ~/code/zookeeper (trunk) =E2=9C=94 git grep '\-4' -- *.java ... src/java/main/org/apache/zookeeper/KeeperException.java: public static final int ConnectionLoss =3D -4; Are you always getting that? -rgs --001a113d2cd614191605222ddfb0--