mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
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:
parent
cbf1161177
commit
4602e97888
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user