bsglz commented on a change in pull request #4275:
URL: https://github.com/apache/hbase/pull/4275#discussion_r835925020
##########
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.
IMO,HBCK2 is one way, but ability of self-healing is also useful, as it
could reduce operation and maintenance difficulties, especially for novice
users.
--
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]