guluo created HBASE-28727:
-----------------------------

             Summary: SteppingSplitPolicy may not work when table enables 
region replication
                 Key: HBASE-28727
                 URL: https://issues.apache.org/jira/browse/HBASE-28727
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.4.13
            Reporter: guluo


Reproduction:

1. Create a table with region replication, and ensure that the primary region 
and replica region are on the same RS (eg: the HBase cluster has only one RS)
create 't01', 'info', \{REGION_REPLICATION => 2}

2. The first region does not split when storefile size exceed  flushsize * 2, 
because that we get 2 regions about this table on this RS (1 primary region and 
1 replica region)

 

I think we should ignore the replica reggion when getting the count of regions 
on this same regionserver.

Is my idea correct? maybe can discuss it .



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

Reply via email to