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: issue about cons command output
Date Mon, 06 Jan 2014 18:26:17 GMT

On 5 January 2014 21:23, ch huang <justlooks@gmail.com> wrote:

> hi,mailist:
>          i have some problem in understand cons command output,holp anyone
> can help
> the output like following:
>  /
> [1](queued=0,recved=13240,sent=13240,sid=0x243479e8629000a,lop=PING,est=1388799764227,to=40000,lcxid=0x0,lzxid=0x1600006eca,lresp=1388976281192,llat=0,minlat=0,avglat=0,maxlat=10)
> so ,the first is the server which client connect to,and second field is the
> request which should be handle,third is zk server received packet
> bytes,forth is zk server send bytes, fifth is connect session id ,sixth is
> last operate type(here is PING op),seventh is session established
> timestamp, next is timeout value (here is 40000 ms?),what i do not know is
> lcxid=0x0  lzxid=0x1600006eca

lcxid == lastCxid, which represents the last XID (which tracks the
requests/replies between client and server) for the last operation from the
client (which isn't a ping nor an authentication nor set watches, i.e.: a
real read or write).

lzxid == lastZxid, which represents the last ZooKeeper transaction id seen
by the client.

Hope it helps,

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