keith-turner opened a new issue, #4335:
URL: https://github.com/apache/accumulo/issues/4335

   Tablets that are eligible for compaction or split in an offline table should 
be filtered out in the tablet mgmt iterator.  The following is possible change 
to do this.  Would need to update the tablet mgmt iterator test to cover this 
case.
   
   
   ```diff
   diff --git 
a/server/base/src/main/java/org/apache/accumulo/server/manager/state/TabletManagementIterator.java
 
b/server/base/src/main/java/org/apache/accumulo/server/manager/state/TabletManagementIterator.java
   index df37df441c..c102ca01d0 100644
   --- 
a/server/base/src/main/java/org/apache/accumulo/server/manager/state/TabletManagementIterator.java
   +++ 
b/server/base/src/main/java/org/apache/accumulo/server/manager/state/TabletManagementIterator.java
   @@ -252,7 +252,7 @@ public class TabletManagementIterator extends 
SkippingIterator {
          reasonsToReturnThisTablet.add(ManagementAction.NEEDS_LOCATION_UPDATE);
        }
    
   -    if (tm.getOperationId() == null
   +    if (tm.getOperationId() == null && 
tabletMgmtParams.isTableOnline(tm.getTableId())
            && Collections.disjoint(REASONS_NOT_TO_SPLIT_OR_COMPACT, 
reasonsToReturnThisTablet)) {
          try {
            final long splitThreshold =
   
   ```


-- 
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