From b32f99e2e4af6096489af4f4320f75a0ed54739c Mon Sep 17 00:00:00 2001 From: wayblink Date: Mon, 21 Nov 2022 19:19:11 +0800 Subject: [PATCH] Update datanode.segment.insertBufSize default value to 16777216 (#20713) Signed-off-by: wayblink Signed-off-by: wayblink --- internal/util/paramtable/component_param.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/paramtable/component_param.go b/internal/util/paramtable/component_param.go index f285c75a3d..8cfbbdf010 100644 --- a/internal/util/paramtable/component_param.go +++ b/internal/util/paramtable/component_param.go @@ -1382,7 +1382,7 @@ func (p *dataNodeConfig) initFlowGraphMaxParallelism() { } func (p *dataNodeConfig) initFlushInsertBufferSize() { - bufferSize := p.Base.LoadWithDefault2([]string{"DATA_NODE_IBUFSIZE", "datanode.segment.insertBufSize"}, "0") + bufferSize := p.Base.LoadWithDefault2([]string{"DATA_NODE_IBUFSIZE", "datanode.segment.insertBufSize"}, "16777216") bs, err := strconv.ParseInt(bufferSize, 10, 64) if err != nil { panic(err)