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

Donot merge regions if they are non adjacent in MergeNormalizationPlan.execute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • None
    • None
    • Reviewed

    Description

      Currently when we have MergeNormalizationPlan we do a force merge in execute method

      // code placeholder
      admin.mergeRegions(firstRegion.getEncodedNameAsBytes(),
        secondRegion.getEncodedNameAsBytes(), true);
      

      Since we do not expect these regions to be non adjacent it is better to not force merge and be on safe side.

      Attachments

        Issue Links

          Activity

            People

              mnpoonia Aman Poonia
              mnpoonia Aman Poonia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: