mirror of https://github.com/milvus-io/milvus.git
Reduce default seal propotion (#17287)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/16782/head
parent
f1bad98f00
commit
6bd786bf50
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue