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

StoreFile Level Compaction Locking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.92.0
    • None
    • None

    Description

      Multithreaded compactions (HBASE-1476) will solve the problem of major compactions clogging high-priority minor compactions. However, there is still a problem here. Since compactions are store-level, the store undergoing major compaction will have it's storefile count increase during the major. We really need a way to allow multiple outstanding compactions per store. compactSelection() should lock/reserve the files being used for compaction. This will also allow us to know what we're going to compact when inserting into the CompactSplitThread and make more informed priority queueing decisions.

      Attachments

        1. HBASE-3797+1476.patch
          81 kB
          Nicolas Spiegelberg

        Issue Links

          Activity

            People

              nspiegelberg Nicolas Spiegelberg
              nspiegelberg Nicolas Spiegelberg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: