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 2020/02/18 08:38:56 UTC

[GitHub] [hbase] binlijin commented on a change in pull request #1182: HBASE-23864 No need to submit SplitTableRegionProcedure/MergeTableReg…

binlijin commented on a change in pull request #1182: HBASE-23864 No need to submit SplitTableRegionProcedure/MergeTableReg…
URL: https://github.com/apache/hbase/pull/1182#discussion_r380524138
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/MergeTableRegionsProcedure.java
 ##########
 @@ -453,13 +453,6 @@ private boolean prepareMergeRegion(final MasterProcedureEnv env) throws IOExcept
       throw new MergeRegionException("Skip merging regions " +
           RegionInfo.getShortNameToLog(regionsToMerge) + ", because we are snapshotting " + tn);
     }
-    if (!env.getMasterServices().isSplitOrMergeEnabled(MasterSwitchType.MERGE)) {
 
 Review comment:
   Agree with Duo, others are good.

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