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

MetaTableAccessor.getMergeRegions() returns parent regions in random order

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 3.0.0, 2.3.0, 2.2.1, 2.1.7
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The multi-region merge patch has changed the behaviour of the MetaTableAccessor.getMergeRegions() method. Earlier, the parent regions were returned in the same order that they were passed to mergeRegion().

      The patch has changed this to return the regions in random order. To be more precise, the parent regions are stored in random order in Meta.

      I propose storing and returning the parent regions in ascending order.

        Attachments

        1. HBASE-22941-addendum.patch
          2 kB
          Duo Zhang

          Issue Links

            Activity

              People

              • Assignee:
                stoty István Tóth
                Reporter:
                stoty István Tóth
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: