Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7877

KeyPrefixRegionSplitPolicy and DelimitedKeyPrefixRegionSplitPolicy splits are not always optimal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 0.94.5, 0.95.2
    • None
    • regionserver
    • None

    Description

      With KeyPrefixRegionSplitPolicy (and now DelimitedKeyPrefixRegionSplitPolicy), if a split would break a group of keys it is modified to become the first key in the group's range. This is not always optimal. If the distribution of keys are such that the group containing the split has half the keys in the region, then no split will occur.

      The best solution would be to compute both the current key group's first key (what the current implementation does) as well as the next key group's first key and then choosing which of the two is closest to the original split point.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              psybers Robert Dyer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: