accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject accumulo git commit: ACCUMULO-4038 assume a missing WAL node means the server had no logs
Date Fri, 23 Oct 2015 19:21:56 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 93e7a04bd -> feff4f9ac


ACCUMULO-4038 assume a missing WAL node means the server had no logs


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/feff4f9a
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/feff4f9a
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/feff4f9a

Branch: refs/heads/master
Commit: feff4f9aca7334ac0b01771f29a4696f9ff97a11
Parents: 93e7a04
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Fri Oct 23 15:21:41 2015 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Fri Oct 23 15:21:41 2015 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/server/log/WalStateManager.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/feff4f9a/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
b/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
index 52844c1..1516176 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/log/WalStateManager.java
@@ -146,6 +146,8 @@ public class WalStateManager {
           result.add(parts.getSecond());
         }
       }
+    } catch (KeeperException.NodeExistsException e) {
+      log.debug("{} has no wal entry in zookeeper, assuming no logs", tsi);
     } catch (KeeperException | InterruptedException e) {
       throw new WalMarkerException(e);
     }


Mime
View raw message