Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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