zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: error code in transaction log
Date Wed, 09 Nov 2011 22:58:17 GMT
On Tue, Nov 8, 2011 at 8:29 AM, kishore g <g.kishore@gmail.com> wrote:
> Hi,
>
> I found these errors in the zk transaction log entry
>
> time:1320711820906 session:0x133808f05d50000 cxid:0x3 zxid:0x100000017
> type:error err:-110
> This generally happens before the setting the acl
> time:1320711821268 session:0x133808f05d50000 cxid:0x4 zxid:0x100000018
> type:create acl:[31,s{'world,'anyone}]
>
> Any idea why there is an error ?

It looks to me like the second operation is of type create (with a
world readable acl), although I don't see why it's not printing the
CreateTxn details such as path, etc....

Take a look at where ErrorTxn is generated:
org.apache.zookeeper.server.PrepRequestProcessor.pRequest(Request)

the error code is: NodeExists = -110

in the first entry someone is attempting to create a znode, but it
already exists so that operation fails. then they successfully create
a znode (or set the acl, I'm not sure what the discrepancy is there).

This is normal behavior though.

Patrick

Mime
View raw message