You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Baiqiang Zhao (Jira)" <ji...@apache.org> on 2021/01/15 10:02:00 UTC

[jira] [Created] (HBASE-25513) When the table is turned on normalize, the first region may not be merged even the size is 0

Baiqiang Zhao created HBASE-25513:
-------------------------------------

             Summary: When the table is turned on normalize, the first region may not be merged even the size is 0
                 Key: HBASE-25513
                 URL: https://issues.apache.org/jira/browse/HBASE-25513
             Project: HBase
          Issue Type: Bug
          Components: Normalizer
    Affects Versions: 2.4.1, 3.0.0-alpha-1
            Reporter: Baiqiang Zhao
            Assignee: Baiqiang Zhao


Suppose a table has 8 regions, the sizes are [0, 10, 1, 0, 9, 0, 12, 0], the average region size is 4, and split is disabled.

The current Normalizer can only get three merge plans (use size to represent region):

[1, 0], [9, 0],[12, 0]

It can not merge the first region, even it's size is 0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)