keith-turner commented on code in PR #3425:
URL: https://github.com/apache/accumulo/pull/3425#discussion_r1205804991


##########
server/manager/src/main/java/org/apache/accumulo/manager/Manager.java:
##########
@@ -706,6 +706,10 @@ TabletGoalState getGoalState(TabletMetadata tm, MergeInfo 
mergeInfo) {
         return TabletGoalState.UNASSIGNED;
       }
 
+      if (tm.getOperationId() != null) {

Review Comment:
   done in e2f4500 



##########
server/base/src/main/java/org/apache/accumulo/server/manager/state/TabletManagementIterator.java:
##########
@@ -217,10 +218,16 @@ private static boolean shouldReturnDueToSplit(final 
TabletMetadata tm,
         .collect(Collectors.summarizingLong(Long::longValue)).getSum() > 
splitThreshold;
   }
 
-  private static boolean shouldReturnDueToLocation(final TabletMetadata tm,
+  private boolean shouldReturnDueToLocation(final TabletMetadata tm,
       final Set<TableId> onlineTables, final Set<TServerInstance> current, 
final boolean debug) {
+
+    if (migrations.contains(tm.getExtent())) {
+      return true;
+    }
+
     // is the table supposed to be online or offline?
-    final boolean shouldBeOnline = onlineTables.contains(tm.getTableId());
+    final boolean shouldBeOnline =
+        onlineTables.contains(tm.getTableId()) && tm.getOperationId() == null;

Review Comment:
   done in e2f4500



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to