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/25 23:03:09 UTC

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

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



##########
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:
       How could this happen if the persistent region meta states are OPEN/OPENING but in the memory there are no TRSP/SCP? Is there some consistent issues of the region info? Can you explain more here? Thanks.




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