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

Bandaid for HBASE-2990

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.89.20100924
    • None
    • None

    Description

      HBASE-2990 still has no resolution, but major compacting is kind of a critical thing to have. Here we changed this in Store:

               // we'd end up with nothing to compact.  To protect against this, we'll
               // compact the tail -- up to the last 4 files -- of filesToCompact
               // regardless.
      -        int tail = Math.min(countOfFiles, 4);
      +        // CHANGED FOR STUMBLEUPON, THE MINIMUM IS 2 SINCE 4 BASICALLY DISABLES MAJOR COMPACTIONS
      +        int tail = Math.min(countOfFiles, 2);
      

      I intend to include this in the next 0.89

      Attachments

        Activity

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: