fix: Change l0SegmentsRowCount limits to a reasonable value (#36014)

See also: #36028

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
XuanYang-cn 2024-09-11 11:55:08 +08:00 committed by GitHub
parent d9c8d1ea90
commit f31264c02c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -981,8 +981,8 @@ quotaAndLimits:
diskQuotaPerPartition: -1 # MB, (0, +inf), default no limit
l0SegmentsRowCountProtection:
enabled: false # switch to enable l0 segment row count quota
lowWaterLevel: 32768 # l0 segment row count quota, low water level
highWaterLevel: 65536 # l0 segment row count quota, low water level
lowWaterLevel: 30000000 # l0 segment row count quota, low water level
highWaterLevel: 50000000 # l0 segment row count quota, high water level
deleteBufferRowCountProtection:
enabled: false # switch to enable delete buffer row count quota
lowWaterLevel: 32768 # delete buffer row count quota, low water level

View File

@ -1897,7 +1897,7 @@ but the rate will not be lower than minRateRatio * dmlRate.`,
p.L0SegmentRowCountLowWaterLevel = ParamItem{
Key: "quotaAndLimits.limitWriting.l0SegmentsRowCountProtection.lowWaterLevel",
Version: "2.4.7",
DefaultValue: "32768",
DefaultValue: "30000000",
Doc: "l0 segment row count quota, low water level",
Export: true,
}
@ -1906,8 +1906,8 @@ but the rate will not be lower than minRateRatio * dmlRate.`,
p.L0SegmentRowCountHighWaterLevel = ParamItem{
Key: "quotaAndLimits.limitWriting.l0SegmentsRowCountProtection.highWaterLevel",
Version: "2.4.7",
DefaultValue: "65536",
Doc: "l0 segment row count quota, low water level",
DefaultValue: "50000000",
Doc: "l0 segment row count quota, high water level",
Export: true,
}
p.L0SegmentRowCountHighWaterLevel.Init(base.mgr)