accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1330264 - /accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Date Wed, 25 Apr 2012 13:14:14 GMT
Author: ecn
Date: Wed Apr 25 13:14:14 2012
New Revision: 1330264

URL: http://svn.apache.org/viewvc?rev=1330264&view=rev
Log:
ACCUMULO-520: add assigned but not loaded tablets to "unassigned"

Modified:
    accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java

Modified: accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java?rev=1330264&r1=1330263&r2=1330264&view=diff
==============================================================================
--- accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
(original)
+++ accumulo/branches/1.3/src/server/src/main/java/org/apache/accumulo/server/master/Master.java
Wed Apr 25 13:14:14 2012
@@ -310,7 +310,7 @@ public class Master implements Listener,
           TableCounts counts = entry.getValue();
           TableState tableState = manager.getTableState(tableId.toString());
           if (tableState != null && tableState.equals(TableState.ONLINE)) {
-            result += counts.unassigned() + counts.assignedToDeadServers();
+            result += counts.unassigned() + counts.assignedToDeadServers() + counts.assigned();
           }
         }
       }



Mime
View raw message