Skip to content

Commit

Permalink
commit param item change
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
  • Loading branch information
congqixia committed Jun 3, 2024
1 parent e55cf88 commit b48248e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/util/paramtable/component_param.go
Original file line number Diff line number Diff line change
Expand Up @@ -3408,6 +3408,7 @@ type dataNodeConfig struct {
FlowGraphSkipModeColdTime ParamItem `refreshable:"true"`

// segment
InsertBufferChunkSize ParamItem `refreshable:"true"`
FlushInsertBufferSize ParamItem `refreshable:"true"`
FlushDeleteBufferBytes ParamItem `refreshable:"true"`
BinLogMaxSize ParamItem `refreshable:"true"`
Expand Down Expand Up @@ -3525,6 +3526,15 @@ func (p *dataNodeConfig) init(base *BaseTable) {
}
p.MaxParallelSyncMgrTasks.Init(base.mgr)

p.InsertBufferChunkSize = ParamItem{
Key: "dataNode.segment.InsertChunkSize",
Version: "2.4.4",
DefaultValue: "1048576", // 1MB
Doc: "insert buffer chunk size allocate for current buffer",
Export: false,
}
p.InsertBufferChunkSize.Init(base.mgr)

p.FlushInsertBufferSize = ParamItem{
Key: "dataNode.segment.insertBufSize",
Version: "2.0.0",
Expand Down

0 comments on commit b48248e

Please sign in to comment.