[ 
https://issues.apache.org/jira/browse/HBASE-27903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nihal Jain updated HBASE-27903:
-------------------------------
    Fix Version/s: 2.6.1
     Hadoop Flags: Reviewed
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

Pushed to branch-2.6+

> Skip submitting Split/Merge procedure when split/merge is disabled at table 
> level
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-27903
>                 URL: https://issues.apache.org/jira/browse/HBASE-27903
>             Project: HBase
>          Issue Type: Improvement
>          Components: Admin
>            Reporter: Ashok shetty
>            Assignee: Nihal Jain
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.7.0, 3.0.0-beta-2, 2.6.1
>
>
> *Scenario*
> If split/merge is disabled at table level , master will submit a 
> SplitTableRegionProcedure/MergeTableRegionsProcedure , and rollback it as 
> execution fails during pre-checks .
> *Improvement*
> Master can check it early and no need to submit 
> SplitTableRegionProcedure/MergeTableRegionsProcedure when split/merge switch 
> is disabled at Table level.
> *Steps*
> {code:java}
> create 'testCreateTableWithMergeDisableParameter', 'f1', {MERGE_ENABLED => 
> false}
> list_regions 'testCreateTableWithMergeDisableParameter'
> merge_region 
> 'd21cdc5d488e8036017696c46cffd9b1','6382c8f731a4f0379b6e98ece4b06e3e'
> {code}
> {code:java}
> create 'testcreatetablewithsplitdisableparameter', 'f1', {SPLIT_ENABLED => 
> false}
> split 'testcreatetablewithsplitdisableparameter','30'{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to