HBASE-17674 Major compaction may be cancelled in CompactionChecker (Guangxu Cheng)
This commit is contained in:
parent
f444b3b542
commit
f4bf375ea1
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue