sreenivasulureddy commented on a change in pull request #307: HBase 22537
URL: https://github.com/apache/hbase/pull/307#discussion_r295210553
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.java
 ##########
 @@ -854,7 +854,8 @@ private ServerName getParentRegionServerName(final 
MasterProcedureEnv env) {
     for (int i = 0; i < procs.length; ++i) {
       final RegionInfo hri = 
RegionReplicaUtil.getRegionInfoForReplica(getParentRegion(), i);
       procs[i] = env.getAssignmentManager().
-          createUnassignProcedure(hri, null, true, 
!RegionReplicaUtil.isDefaultReplica(hri));
+          createUnassignProcedure(hri, null, true,
+            !RegionReplicaUtil.isDefaultReplica(hri));
 
 Review comment:
   The above solution i have given based on, while disabling the table, both 
primary region and  Replica region  handling in common way.

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


With regards,
Apache Git Services

Reply via email to