mirror of https://github.com/milvus-io/milvus.git
fix: duplicate consuming from stream for invisible segment (#40318)
issue: #40207 pr: #40316 Signed-off-by: chyezh <chyezh@outlook.com>pull/40338/head
parent
29c2354593
commit
b55327046f
|
@ -86,10 +86,6 @@ func (h *ServerHandler) GetDataVChanPositions(channel RWChannel, partitionID Uni
|
||||||
// Skip bulk insert segments.
|
// Skip bulk insert segments.
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if s.GetIsInvisible() {
|
|
||||||
// skip invisible segments
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
if s.GetState() == commonpb.SegmentState_Dropped {
|
if s.GetState() == commonpb.SegmentState_Dropped {
|
||||||
droppedIDs.Insert(s.GetID())
|
droppedIDs.Insert(s.GetID())
|
||||||
|
|
Loading…
Reference in New Issue