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 2022/03/27 13:59:30 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #4275: HBASE-26884 Find unavailable regions by the startcode checking on hma…

Apache9 commented on a change in pull request #4275:
URL: https://github.com/apache/hbase/pull/4275#discussion_r835911888



##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java
##########
@@ -1696,7 +1696,29 @@ public void visitRegionState(Result result, final RegionInfo regionInfo, final S
       if (localState.matches(State.OPEN, State.OPENING, State.CLOSING, State.SPLITTING,
         State.MERGING)) {
         assert regionLocation != null : "found null region location for " + regionNode;
-        regionStates.addRegionToServer(regionNode);
+
+        // If the startcode of the regionLocation expired, and neither TRSP on region nor SCP on

Review comment:
       For these cases, I would perfer let users use HBCK2 to fix the inconsistency, as these are all damages from outside the system.




-- 
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: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org