Skip to content

Commit

Permalink
reduce compact parallel task num (#27899)
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
weiliu1031 authored Oct 25, 2023
1 parent e0222b2 commit 40723a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/milvus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/paramtable/component_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 40723a2

Please sign in to comment.