Repository: accumulo
Updated Branches:
refs/heads/1.6 230a938a0 -> 2805630ef
refs/heads/master 56e4483d4 -> 569c6bcd2
ACCUMULO-3296 If the stat for a node is null, it's already deleted. Quit.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/2805630e
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/2805630e
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/2805630e
Branch: refs/heads/1.6
Commit: 2805630ef81041b6db671c2ed36178dbcf1a9846
Parents: 230a938
Author: Josh Elser <elserj@apache.org>
Authored: Tue Nov 4 15:02:44 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Tue Nov 4 15:02:44 2014 -0500
----------------------------------------------------------------------
.../src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/2805630e/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
----------------------------------------------------------------------
diff --git a/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java b/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
index 2b2f5c7..814c042 100644
--- a/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
+++ b/fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java
@@ -234,6 +234,9 @@ public class ZooUtil {
throw e;
}
// Let other KeeperException bubble to the outer catch
+ } else {
+ // If the stat is null, the node is now gone which is fine.
+ return;
}
} catch (KeeperException e) {
final Code c = e.code();
|