You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/01/03 12:55:37 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #982: HBASE-23636 Disable table may hang when regionserver stop or abort.

Apache9 commented on a change in pull request #982: HBASE-23636 Disable table may hang when regionserver stop or abort.
URL: https://github.com/apache/hbase/pull/982#discussion_r362799209
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java
 ##########
 @@ -484,6 +484,9 @@ private void assignRegions(MasterProcedureEnv env, List<RegionInfo> regions) thr
         }
         if (env.getMasterServices().getTableStateManager().isTableState(regionNode.getTable(),
           TableState.State.DISABLING, TableState.State.DISABLED)) {
+          env.getAssignmentManager().regionClosedAbnormally(regionNode);
 
 Review comment:
   Do we still need to set this if the TableState is DISABLED?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services