vli02 commented on a change in pull request #3402:
URL: https://github.com/apache/hbase/pull/3402#discussion_r658890030
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
##########
@@ -1401,7 +1401,7 @@ public OfflineRegionResponse offlineRegion(RpcController
controller,
master.cpHost.preRegionOffline(hri);
}
LOG.info(master.getClientIdAuditPrefix() + " offline " +
hri.getRegionNameAsString());
- master.assignmentManager.regionOffline(hri);
+ master.assignmentManager.regionOffline(hri, true);
Review comment:
Region state is actually not updated by fsck. This RPC is used by fsck
only, so the region should always be forced offline here.
--
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]