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

StripeCompactionPolicy should support compacting cold regions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.0.0, 1.4.13
    • 3.0.0-alpha-1, 2.5.0, 2.4.3, 2.3.6
    • Compaction
    • None
    • Reviewed

    Description

      Cold regions cannot perform compactions by flushing memstores, while CompactionChecker can period check need compaction regions.

      But some cold regions using stripe store engine may not be checked to perform compaction by`needCompaction()` or trigger automatic major compactions, because StripeCompactionPolicy#shouldPerformMajorCompaction() always returns false. 

      StripeCompactionPolicy never performs automatic major compactions now.

      But cold regions' outdated data need to be cleaned.

       

       
       

      Attachments

        Issue Links

          Activity

            People

              Xiaolin Ha Xiaolin Ha
              Xiaolin Ha Xiaolin Ha
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: