Skip to content

Commit

Permalink
fix: [2.5] Set the stating state correctly (#39514)
Browse files Browse the repository at this point in the history
issue: #39333 

master pr: #39503

Signed-off-by: Cai Zhang <[email protected]>
  • Loading branch information
xiaocai2333 authored Jan 22, 2025
1 parent cbf1161 commit 4602e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/datacoord/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4602e97

Please sign in to comment.