accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] keith-turner opened a new issue #1007: ZooUtil.putData may create data, timeout, then fail
Date Fri, 01 Mar 2019 19:06:40 GMT
keith-turner opened a new issue #1007: ZooUtil.putData may create data, timeout, then fail
URL: https://github.com/apache/accumulo/issues/1007
 
 
   [ZooUtil.putData()](https://github.com/apache/accumulo/blob/rel/1.9.2/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java#L293)
 accepts an option to fail on create if a node exists.  I am not completely sure but I think
the following can happen.
   
    * Call to Zookeeper to create data timesout, but it was created by on the ZK server side
AND it didn't exist
    * Timeout exception causes a retry
    * Retry fails because the node exists.
   
   I noticed this while reviewing #1005
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message