mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for normal2FlushedSegment (#9431)
Signed-off-by: Yang Xuan <xuan.yang@zilliz.com>
This commit is contained in:
parent
c8fa7026aa
commit
9526d22dc7
@ -155,6 +155,8 @@ func (replica *SegmentReplica) new2FlushedSegment(segID UniqueID) {
|
||||
delete(replica.newSegments, segID)
|
||||
}
|
||||
|
||||
// normal2FlushedSegment transfers a segment from *normal* to *flushed* by changing *isFlushed*
|
||||
// flag into true, and mv the segment from normalSegments map to flushedSegments map.
|
||||
func (replica *SegmentReplica) normal2FlushedSegment(segID UniqueID) {
|
||||
var seg Segment = *replica.normalSegments[segID]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user