huaxiangsun commented on a change in pull request #2569:
URL: https://github.com/apache/hbase/pull/2569#discussion_r516377443



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java
##########
@@ -348,6 +348,7 @@ protected Flow executeFromState(MasterProcedureEnv env, 
RegionStateTransitionSta
               LOG.error(
                 "Cannot assign replica region {} because its primary region {} 
does not exist.",
                 regionNode.getRegionInfo(), defaultRI);
+              regionNode.unsetProcedure(this);

Review comment:
       This is a good catch, moving the region out of RIT.




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


Reply via email to