HBASE-3185 User-triggered compactions are triggering splits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029939 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8387a5b18f
commit
b9e98b72a3
|
@ -639,6 +639,7 @@ Release 0.21.0 - Unreleased
|
|||
or build HBase
|
||||
HBASE-3179 Enable ReplicationLogsCleaner only if replication is,
|
||||
and fix its test
|
||||
HBASE-3185 User-triggered compactions are triggering splits!
|
||||
|
||||
|
||||
IMPROVEMENTS
|
||||
|
|
|
@ -2035,8 +2035,6 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
|
|||
public void compactRegion(HRegionInfo regionInfo, boolean major)
|
||||
throws NotServingRegionException, IOException {
|
||||
HRegion region = getRegion(regionInfo.getRegionName());
|
||||
region.flushcache();
|
||||
region.shouldSplit(true);
|
||||
compactSplitThread.requestCompaction(region, major, "User-triggered "
|
||||
+ (major ? "major " : "") + "compaction",
|
||||
CompactSplitThread.PRIORITY_USER);
|
||||
|
|
Loading…
Reference in New Issue