infraio commented on a change in pull request #465: HBASE-22808 HBCK Report 
showed the offline regions which belong to di…
URL: https://github.com/apache/hbase/pull/465#discussion_r311846631
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/CatalogJanitor.java
 ##########
 @@ -672,6 +672,11 @@ private void checkServer(byte [] metaTableRow, 
RegionLocations locations) {
         if (sn == null) {
           continue;
         }
+        // skip the offline regions which belong to disabled table.
+        if (services.getTableStateManager()
+            .isTableState(location.getRegion().getTable(), 
TableState.State.DISABLED)) {
 
 Review comment:
   There already a method which call isTableDisabled. Let me change to use that 
one.

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


With regards,
Apache Git Services

Reply via email to