Reduce default seal propotion (#17287)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/16782/head
Jiquan Long 2022-05-31 12:02:04 +08:00 committed by GitHub
parent f1bad98f00
commit 6bd786bf50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ dataCoord:
segment:
maxSize: 512 # Maximum size of a segment in MB
sealProportion: 0.75 # It's the minimum proportion for a segment which can be sealed
sealProportion: 0.25 # It's the minimum proportion for a segment which can be sealed
assignmentExpiration: 2000 # The time of the assignment expiration in ms
compaction:

View File

@ -197,7 +197,7 @@ dataCoord:
segment:
maxSize: 512 # Maximum size of a segment in MB
sealProportion: 0.75 # It's the minimum proportion for a segment which can be sealed
sealProportion: 0.25 # It's the minimum proportion for a segment which can be sealed
assignmentExpiration: 2000 # The time of the assignment expiration in ms
maxLife: 86400 # The max lifetime of segment in seconds, 24*60*60

View File

@ -916,7 +916,7 @@ func (p *dataCoordConfig) initSegmentMaxSize() {
}
func (p *dataCoordConfig) initSegmentSealProportion() {
p.SegmentSealProportion = p.Base.ParseFloatWithDefault("dataCoord.segment.sealProportion", 0.75)
p.SegmentSealProportion = p.Base.ParseFloatWithDefault("dataCoord.segment.sealProportion", 0.25)
}
func (p *dataCoordConfig) initSegAssignmentExpiration() {