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