accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1388120 - /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/LiveTServerSet.java
Date Thu, 20 Sep 2012 17:27:24 GMT
Author: ecn
Date: Thu Sep 20 17:27:23 2012
New Revision: 1388120

URL: http://svn.apache.org/viewvc?rev=1388120&view=rev
Log:
ACCUMULO-766 remove tserver entries in zookeeper after the master wins the lock

Modified:
    accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/LiveTServerSet.java

Modified: accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/LiveTServerSet.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/LiveTServerSet.java?rev=1388120&r1=1388119&r2=1388120&view=diff
==============================================================================
--- accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/LiveTServerSet.java
(original)
+++ accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/master/LiveTServerSet.java
Thu Sep 20 17:27:23 2012
@@ -285,6 +285,7 @@ public class LiveTServerSet implements W
             current.remove(server);
             info.cleanup();
           }
+          ZooReaderWriter.getInstance().delete(lockPath, -1);
         }
       }
       // log.debug("Current: " + current.keySet());



Mime
View raw message