feat(scheduler): 增加表可以不进行压缩调度但可以进行手动压缩

This commit is contained in:
v-zhangjc9
2024-04-25 18:23:39 +08:00
parent 00b21b06b4
commit 1808c30786
3 changed files with 4 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ public class ScheduleHelper {
})
// 拒绝不压缩标志的任务
.reject(meta -> TableMetaHelper.existsTag(meta, Constants.TAGS_NO_COMPACT))
// 拒绝不调度压缩标志的任务
.reject(meta -> TableMetaHelper.existsTag(meta, Constants.TAGS_NO_SCHEDULE_COMPACT))
.collect(meta -> {
long compactionDuration = 0L;
try {