You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Benjamin Jaton <be...@gmail.com> on 2014/07/24 01:35:46 UTC

Xid out of order?

Hello,

I am looking into this issue:
https://issues.apache.org/jira/browse/CURATOR-125
I have 3 ZK servers, only 1 is started.

I get this log and it might be causing my issue down the road:

java.io.IOException: Xid out of order. Got Xid 14 with err -119 expected
Xid 13 for a packet with details: clientPath:/ serverPath:/ finished:false
header:: 13,3  replyHeader:: 0,0,-4  request:: '/,T  response::
    at
org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:795)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)

Client and servers are running the official 3.4.5.
I am attaching the log file.

The code I am running is in the bug:
https://issues.apache.org/jira/browse/CURATOR-125 ( Test.java ).

I can open a bug if necessary.

Thanks,
Ben

Re: Xid out of order?

Posted by Benjamin Jaton <be...@gmail.com>.
I just tried against trunk (client+servers) and I could reproduce the same
exception.

java.io.IOException: Xid out of order. Got Xid 11 with err -119 expected
Xid 10 for a packet with details: clientPath:/ serverPath:/ finished:false
header:: 10,3  replyHeader:: 0,0,-4  request:: '/,T  response::
    at
org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:910)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:99)
    at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:362)
    at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1192)


On Wed, Jul 23, 2014 at 7:48 PM, Dutch Meyer <ho...@gmail.com> wrote:

> There was an xid out of order bug fixed somewhat recently, though from your
> description I'm not sure how you'd end up triggering it.
>
> Reference: https://issues.apache.org/jira/browse/ZOOKEEPER-1863
>
>
>
> On Wed, Jul 23, 2014 at 4:35 PM, Benjamin Jaton <be...@gmail.com>
> wrote:
>
> > Hello,
> >
> > I am looking into this issue:
> > https://issues.apache.org/jira/browse/CURATOR-125
> > I have 3 ZK servers, only 1 is started.
> >
> > I get this log and it might be causing my issue down the road:
> >
> > java.io.IOException: Xid out of order. Got Xid 14 with err -119 expected
> > Xid 13 for a packet with details: clientPath:/ serverPath:/
> finished:false
> > header:: 13,3  replyHeader:: 0,0,-4  request:: '/,T  response::
> >     at
> >
> org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:795)
> >     at
> >
> org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)
> >     at
> >
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)
> >     at
> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
> >
> > Client and servers are running the official 3.4.5.
> > I am attaching the log file.
> >
> > The code I am running is in the bug:
> > https://issues.apache.org/jira/browse/CURATOR-125 ( Test.java ).
> >
> > I can open a bug if necessary.
> >
> > Thanks,
> > Ben
> >
>
>
>
> --
> -=-Dutch
>

Re: Xid out of order?

Posted by Dutch Meyer <ho...@gmail.com>.
There was an xid out of order bug fixed somewhat recently, though from your
description I'm not sure how you'd end up triggering it.

Reference: https://issues.apache.org/jira/browse/ZOOKEEPER-1863



On Wed, Jul 23, 2014 at 4:35 PM, Benjamin Jaton <be...@gmail.com>
wrote:

> Hello,
>
> I am looking into this issue:
> https://issues.apache.org/jira/browse/CURATOR-125
> I have 3 ZK servers, only 1 is started.
>
> I get this log and it might be causing my issue down the road:
>
> java.io.IOException: Xid out of order. Got Xid 14 with err -119 expected
> Xid 13 for a packet with details: clientPath:/ serverPath:/ finished:false
> header:: 13,3  replyHeader:: 0,0,-4  request:: '/,T  response::
>     at
> org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:795)
>     at
> org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)
>     at
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:355)
>     at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
>
> Client and servers are running the official 3.4.5.
> I am attaching the log file.
>
> The code I am running is in the bug:
> https://issues.apache.org/jira/browse/CURATOR-125 ( Test.java ).
>
> I can open a bug if necessary.
>
> Thanks,
> Ben
>



-- 
-=-Dutch