You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/03/01 19:06:40 UTC

[GitHub] keith-turner opened a new issue #1007: ZooUtil.putData may create data, timeout, then fail

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