accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] keith-turner commented on a change in pull request #727: fixes #587 Check deleting state when deciding on tablets
Date Fri, 26 Oct 2018 18:28:21 GMT
keith-turner commented on a change in pull request #727: fixes #587 Check deleting state when
deciding on tablets
URL: https://github.com/apache/accumulo/pull/727#discussion_r228624815
 
 

 ##########
 File path: server/master/src/main/java/org/apache/accumulo/master/TabletGroupWatcher.java
 ##########
 @@ -204,7 +204,8 @@ public void run() {
           }
           Master.log.debug(store.name() + " location State: " + tls);
           // ignore entries for tables that do not exist in zookeeper
-          if (TableManager.getInstance().getTableState(tls.extent.getTableId()) == null)
+          TableState tableState = TableManager.getInstance().getTableState(tls.extent.getTableId());
+          if (tableState == null || tableState == TableState.DELETING)
 
 Review comment:
   Thinking about this some more. Ingoring deleting tablets may prevent unloading them, which
would cause delete table to hang.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message