mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: [2.5] ReEnqueue L0 compaction task when preCheck failed (#39871)
issue: #39868 master pr: #39870 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
ba0edb8383
commit
418f971d2d
@ -327,6 +327,8 @@ func (c *compactionPlanHandler) schedule() []CompactionTask {
|
||||
// Do not move this check logic outside the lock; it needs to remain mutually exclusive with the stats task.
|
||||
if t.GetTaskProto().GetType() == datapb.CompactionType_Level0DeleteCompaction {
|
||||
if !t.PreparePlan() {
|
||||
selected = selected[:len(selected)-1]
|
||||
excluded = append(excluded, t)
|
||||
c.executingGuard.Unlock()
|
||||
continue
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user