YutSean commented on a change in pull request #3875: URL: https://github.com/apache/hbase/pull/3875#discussion_r757513363
########## File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java ########## @@ -1845,12 +1851,22 @@ public void move(final byte[] encodedRegionName, // closed serverManager.sendRegionWarmup(rp.getDestination(), hri); + // Here wait until all the meta regions are not in transition. + if (!hri.isMetaRegion() && assignmentManager.getRegionStates().isMetaRegionInTransition()) { + Thread.sleep(timeoutWaitMetaRegionAssignment); + if (assignmentManager.getRegionStates().isMetaRegionInTransition()) { + LOG.info("Moving " + rp + " failed. " + + "While there is still meta regions in transition after " + + timeoutWaitMetaRegionAssignment + "ms waiting."); Review comment: Looks better. Changed in the latest commit. -- 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-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org