You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/09/20 13:48:53 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #631: HBASE-23035 Retain region to the last RegionServer make the failover …

Apache9 commented on a change in pull request #631: HBASE-23035 Retain region to the last RegionServer make the failover …
URL: https://github.com/apache/hbase/pull/631#discussion_r326636310
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/TransitRegionStateProcedure.java
 ##########
 @@ -545,8 +550,15 @@ private static TransitRegionStateProcedure setOwner(MasterProcedureEnv env,
   // anything. See the comment in executeFromState to find out why we need this assumption.
   public static TransitRegionStateProcedure assign(MasterProcedureEnv env, RegionInfo region,
       @Nullable ServerName targetServer) {
-    return setOwner(env,
-      new TransitRegionStateProcedure(env, region, targetServer, false, TransitionType.ASSIGN));
+    return assign(env, region, false, targetServer);
+  }
+
+  public static TransitRegionStateProcedure assign(MasterProcedureEnv env, RegionInfo region,
+      boolean forceNewPlan,
+      @Nullable
 
 Review comment:
   The format is a bit strange?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services