zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Gutiérrez Segalés <...@itevenworks.net>
Subject Re: sync result code -4
Date Fri, 16 Oct 2015 00:28:15 GMT
On 15 October 2015 at 17:11, Benjamin Jaton <benjamin.jaton@gmail.com>
wrote:

> Hello,
>
> zk.sync(ZooDefs.CONFIG_NODE, new AsyncCallback.VoidCallback() {
>             @Override
>             public void processResult(int rc, String path, Object ctx) {
>
> I get rc=-4, what does it mean?
> I couldn't find where in the source code those were defined.
>

~/code/zookeeper (trunk) ✔ git grep '\-4' -- *.java
...
src/java/main/org/apache/zookeeper/KeeperException.java:        public
static final int ConnectionLoss = -4;

Are you always getting that?


-rgs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message