mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Reduce default seal propotion (#17287)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
f1bad98f00
commit
6bd786bf50
@ -210,7 +210,7 @@ dataCoord:
|
|||||||
|
|
||||||
segment:
|
segment:
|
||||||
maxSize: 512 # Maximum size of a segment in MB
|
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
|
assignmentExpiration: 2000 # The time of the assignment expiration in ms
|
||||||
|
|
||||||
compaction:
|
compaction:
|
||||||
|
|||||||
@ -197,7 +197,7 @@ dataCoord:
|
|||||||
|
|
||||||
segment:
|
segment:
|
||||||
maxSize: 512 # Maximum size of a segment in MB
|
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
|
assignmentExpiration: 2000 # The time of the assignment expiration in ms
|
||||||
maxLife: 86400 # The max lifetime of segment in seconds, 24*60*60
|
maxLife: 86400 # The max lifetime of segment in seconds, 24*60*60
|
||||||
|
|
||||||
|
|||||||
@ -916,7 +916,7 @@ func (p *dataCoordConfig) initSegmentMaxSize() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *dataCoordConfig) initSegmentSealProportion() {
|
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() {
|
func (p *dataCoordConfig) initSegAssignmentExpiration() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user