Skip to content

Commit

Permalink
modify default value for sync max parallel to mitigate oom on dn(milv…
Browse files Browse the repository at this point in the history
…us-io#26763)

Signed-off-by: MrPresent-Han <[email protected]>
  • Loading branch information
MrPresent-Han committed Aug 9, 2023
1 parent fb5d809 commit a4397b5
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 @@ -371,7 +371,7 @@ dataNode:
flowGraph:
maxQueueLength: 16 # Maximum length of task queue in flowgraph
maxParallelism: 1024 # Maximum number of tasks executed in parallel in the flowgraph
maxParallelSyncTaskNum: 2 # Maximum number of sync tasks executed in parallel in each flush manager
maxParallelSyncTaskNum: 6 # Maximum number of sync tasks executed in parallel in each flush manager
segment:
insertBufSize: 16777216 # Max buffer size to flush for a single segment.
deleteBufBytes: 67108864 # Max buffer size to flush del for a single channel
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 @@ -2398,7 +2398,7 @@ func (p *dataNodeConfig) init(base *BaseTable) {
p.MaxParallelSyncTaskNum = ParamItem{
Key: "dataNode.dataSync.maxParallelSyncTaskNum",
Version: "2.3.0",
DefaultValue: "2",
DefaultValue: "6",
Doc: "Maximum number of sync tasks executed in parallel in each flush manager",
Export: true,
}
Expand Down

0 comments on commit a4397b5

Please sign in to comment.