Move compaction and garbage switch to milvus.yaml (#11654)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
pull/11695/head
Bingyi Sun 2021-11-11 23:38:42 +08:00 committed by GitHub
parent b3172882ed
commit 002b854590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,6 @@ dataCoord:
maxSize: 512 # Maximum size of a segment in MB
sealProportion: 0.75 # It's the minimum proportion for a segment which can be sealed
assignmentExpiration: 2000 # ms
enableCompaction: false
dataNode:
dataSync:

View File

@ -121,6 +121,8 @@ dataCoord:
serverMaxSendSize: 2147483647 # math.MaxInt32
clientMaxRecvSize: 104857600 # 100 MB, 100 * 1024 * 1024
clientMaxSendSize: 104857600 # 100 MB, 100 * 1024 * 1024
enableCompaction: false
enableGarbageCollection: false
dataNode:
port: 21124

View File

@ -290,11 +290,11 @@ func (p *ParamTable) initChannelWatchPrefix() {
}
func (p *ParamTable) initEnableCompaction() {
p.EnableCompaction = p.ParseBool("datacoord.enableCompaction", false)
p.EnableCompaction = p.ParseBool("dataCoord.enableCompaction", false)
}
func (p *ParamTable) initEnableGarbageCollection() {
p.EnableGarbageCollection = p.ParseBool("datacoord.enableGarbageCollection", false)
p.EnableGarbageCollection = p.ParseBool("dataCoord.enableGarbageCollection", false)
}
// --- MinIO ---