cuibo01 commented on a change in pull request #2313:
URL: https://github.com/apache/hbase/pull/2313#discussion_r478357545
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java
##########
@@ -488,6 +496,8 @@ protected boolean isMatchingRegionLocation(RegionStateNode
rsn) {
*/
private void assignRegions(MasterProcedureEnv env, List<RegionInfo> regions)
throws IOException {
AssignmentManager am = env.getMasterServices().getAssignmentManager();
+ boolean retainAssignment =
env.getMasterConfiguration().getBoolean(SCP_RETAIN_ASSIGNMENT,
Review comment:
we should also check whether the current servername is online.
like "isServerWithSameHostnamePortOnline"
----------------------------------------------------------------
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]