hiping-tech commented on code in PR #5548:
URL: https://github.com/apache/hbase/pull/5548#discussion_r1413029422


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/FlushRegionProcedure.java:
##########
@@ -88,6 +88,12 @@ protected Procedure<MasterProcedureEnv>[] 
execute(MasterProcedureEnv env)
 
     RegionStates regionStates = env.getAssignmentManager().getRegionStates();
     RegionStateNode regionNode = regionStates.getRegionStateNode(region);
+    if (regionNode == null) {
+      LOG.debug(
+        "Region {} is not in region states, it is very likely that it has been 
cleared by other procedures such as merge or split, so skip {}. See 
HBASE-28226",

Review Comment:
   Thank you for the reminder, I have split it into two lines.



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

Reply via email to