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

This commit is contained in:
tedyu 2017-02-25 16:33:34 -08:00
parent 4b8195f22c
commit 8528e82875
1 changed files with 1 additions and 0 deletions

View File

@ -1610,6 +1610,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()