HBASE-17674 Major compaction may be cancelled in CompactionChecker (Guangxu Cheng)

This commit is contained in:
tedyu 2017-02-25 09:45:11 -08:00
parent f444b3b542
commit f4bf375ea1
1 changed files with 1 additions and 0 deletions

View File

@ -1660,6 +1660,7 @@ public class HRegionServer extends HasThread implements
this.instance.compactSplitThread.requestSystemCompaction(r, s, getName()
+ " requests compaction");
} else if (s.isMajorCompaction()) {
s.triggerMajorCompaction();
if (majorCompactPriority == DEFAULT_PRIORITY
|| majorCompactPriority > ((HRegion)r).getCompactPriority()) {
this.instance.compactSplitThread.requestCompaction(r, s, getName()