mirror of https://github.com/milvus-io/milvus.git
reduce compact parallel task num (#27900)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>pull/27909/head
parent
920cc87404
commit
ba297d136e
|
@ -333,7 +333,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
|
||||
|
||||
gc:
|
||||
|
|
|
@ -1608,7 +1608,7 @@ func (p *dataCoordConfig) initCompactionRPCTimeout() {
|
|||
}
|
||||
|
||||
func (p *dataCoordConfig) initCompactionMaxParalellTask() {
|
||||
p.CompactionMaxParallelTasks = p.Base.ParseIntWithDefault("dataCoord.compaction.maxParallelTaskNum", 100)
|
||||
p.CompactionMaxParallelTasks = p.Base.ParseIntWithDefault("dataCoord.compaction.maxParallelTaskNum", 10)
|
||||
}
|
||||
|
||||
func (p *dataCoordConfig) initEnableAutoCompaction() {
|
||||
|
|
Loading…
Reference in New Issue