fix: [2.5] Set the stating state correctly (#39514)

issue: #39333 

master pr: #39503

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2025-01-22 18:38:29 +08:00 committed by GitHub
parent cbf1161177
commit 4602e97888
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1472,7 +1472,7 @@ func (m *meta) SetSegmentStating(segmentID UniqueID, stating bool) {
m.Lock()
defer m.Unlock()
m.segments.SetIsCompacting(segmentID, stating)
m.segments.SetIsStating(segmentID, stating)
}
// SetSegmentCompacting sets compaction state for segment