From 40723a292ef2f28800caaaeef37201696d01c3d2 Mon Sep 17 00:00:00 2001 From: wei liu Date: Wed, 25 Oct 2023 09:40:12 +0800 Subject: [PATCH] reduce compact parallel task num (#27899) Signed-off-by: Wei Liu --- configs/milvus.yaml | 2 +- pkg/util/paramtable/component_param.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/milvus.yaml b/configs/milvus.yaml index 98430939ea..48456aee8f 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -375,7 +375,7 @@ dataCoord: compaction: enableAutoCompaction: true rpcTimeout: 10 # compaction rpc request timeout in seconds - maxParallelTaskNum: 100 # max parallel compaction task number + maxParallelTaskNum: 10 # max parallel compaction task number indexBasedCompaction: true enableGarbageCollection: true diff --git a/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go index e1b1f64235..e046a594cf 100644 --- a/pkg/util/paramtable/component_param.go +++ b/pkg/util/paramtable/component_param.go @@ -2188,7 +2188,7 @@ the number of binlog file reaches to max value.`, p.CompactionMaxParallelTasks = ParamItem{ Key: "dataCoord.compaction.maxParallelTaskNum", Version: "2.2.12", - DefaultValue: "100", + DefaultValue: "10", Export: true, } p.CompactionMaxParallelTasks.Init(base.mgr)