Fix enableAutoCompaction default value (#22255)

/kind bug

issue: #22253

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
This commit is contained in:
Ten Thousand Leaves 2023-03-02 01:05:48 -05:00 committed by GitHub
parent 551888a82e
commit 9129c11dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1414,7 +1414,7 @@ func (p *dataCoordConfig) initEnableCompaction() {
}
func (p *dataCoordConfig) initEnableAutoCompaction() {
p.EnableAutoCompaction.Store(p.Base.ParseBool("dataCoord.compaction.enableAutoCompaction", false))
p.EnableAutoCompaction.Store(p.Base.ParseBool("dataCoord.compaction.enableAutoCompaction", true))
}
func (p *dataCoordConfig) initCompactionMinSegment() {