Apache9 commented on a change in pull request #2569:
URL: https://github.com/apache/hbase/pull/2569#discussion_r510202074
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/DeleteTableProcedure.java
##########
@@ -100,6 +101,12 @@ protected Flow executeFromState(final MasterProcedureEnv
env, DeleteTableState s
// TODO: Move out... in the acquireLock()
LOG.debug("Waiting for RIT for {}", this);
regions =
env.getAssignmentManager().getRegionStates().getRegionsOfTable(getTableName());
Review comment:
I think here, we could add a method in RegionStates to get regions of
table for disabling, so we do not need to interate on the region state nodes of
this table again.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]