Modify default value of some configurations (#22013)

Signed-off-by: jaime <yun.zhang@zilliz.com>
This commit is contained in:
jaime 2023-02-07 10:05:56 +08:00 committed by GitHub
parent ffdb652911
commit baa035885d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -279,7 +279,7 @@ dataCoord:
enableActiveStandby: false # Enable active-standby
channel:
maxWatchDuration: 60 # Timeout on watching channels (in seconds). Default 60 seconds.
maxWatchDuration: 600 # Timeout on watching channels (in seconds). Default 600 seconds.
segment:
maxSize: 512 # Maximum size of a segment in MB
@ -310,7 +310,7 @@ dataCoord:
gc:
interval: 3600 # gc interval in seconds
missingTolerance: 86400 # file meta missing tolerance duration in seconds, 60*24
dropTolerance: 86400 # file belongs to dropped entity tolerance duration in seconds, 60*24
dropTolerance: 3600 # file belongs to dropped entity tolerance duration in seconds, 3600
dataNode:

View File

@ -1413,7 +1413,7 @@ func (p *dataCoordConfig) init(base *BaseTable) {
p.MaxWatchDuration = ParamItem{
Key: "dataCoord.channel.maxWatchDuration",
Version: "2.2.1",
DefaultValue: "60",
DefaultValue: "600",
}
p.MaxWatchDuration.Init(base.mgr)
@ -1525,7 +1525,7 @@ func (p *dataCoordConfig) init(base *BaseTable) {
p.CompactionTimeoutInSeconds = ParamItem{
Key: "dataCoord.compaction.timeout",
Version: "2.0.0",
DefaultValue: "180",
DefaultValue: "300",
}
p.CompactionTimeoutInSeconds.Init(base.mgr)
@ -1560,7 +1560,7 @@ func (p *dataCoordConfig) init(base *BaseTable) {
p.SingleCompactionDeltalogMaxNum = ParamItem{
Key: "dataCoord.compaction.single.deltalog.maxnum",
Version: "2.0.0",
DefaultValue: "1000",
DefaultValue: "200",
}
p.SingleCompactionDeltalogMaxNum.Init(base.mgr)
@ -1595,7 +1595,7 @@ func (p *dataCoordConfig) init(base *BaseTable) {
p.GCDropTolerance = ParamItem{
Key: "dataCoord.gc.dropTolerance",
Version: "2.0.0",
DefaultValue: "86400",
DefaultValue: "3600",
}
p.GCDropTolerance.Init(base.mgr)