Bandaid for HBASE-2990
-----------------------
Key: HBASE-3035
URL: https://issues.apache.org/jira/browse/HBASE-3035
Project: HBase
Issue Type: Improvement
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
HBASE-2990 still has no resolution, but major compacting is kind of a critical
thing to have. Here we changed this in Store:
{noformat}
// 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);
{noformat}
I intend to include this in the next 0.89
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.