mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
fix: Modify the batchsize of writer to timely flushing binlogs (#37692)
issue: #37579 If the schema includes large varchar fields, a few thousand rows can reach hundreds of MB in size. Therefore, if the batch size of the segment writer is large, it will produce relatively large `binlogs`, which can cause datanode to run out of memory (OOM) during compaction. Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
5ae347aba0
commit
b9357e4716
@ -51,7 +51,7 @@ import (
|
||||
|
||||
var _ task = (*statsTask)(nil)
|
||||
|
||||
const statsBatchSize = 10000
|
||||
const statsBatchSize = 100
|
||||
|
||||
type statsTask struct {
|
||||
ident string
|
||||
|
Loading…
Reference in New Issue
Block a user