accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1222725 - /incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Date Fri, 23 Dec 2011 16:21:46 GMT
Author: ecn
Date: Fri Dec 23 16:21:46 2011
New Revision: 1222725

URL: http://svn.apache.org/viewvc?rev=1222725&view=rev
Log:
ACCUMULO-214 don't count offline tablets as notHosted

Modified:
    incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java

Modified: incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java?rev=1222725&r1=1222724&r2=1222725&view=diff
==============================================================================
--- incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
(original)
+++ incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Fri Dec 23 16:21:46 2011
@@ -443,7 +443,7 @@ public class Master implements LiveTServ
     int result = 0;
     for (TabletGroupWatcher watcher : watchers) {
       for (TableCounts counts : watcher.getStats().values()) {
-        result += counts.assigned() + counts.unassigned() + counts.assignedToDeadServers();
+        result += counts.assigned() + counts.assignedToDeadServers();
       }
     }
     return result;



Mime
View raw message