|
|
-
error code in transaction log
kishore g 2011-11-08, 16:29
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 ?
thanks, Kishore G
-
Re: error code in transaction log
Patrick Hunt 2011-11-09, 22:58
On Tue, Nov 8, 2011 at 8:29 AM, kishore g <[EMAIL PROTECTED]> 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
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext