mirror of https://github.com/milvus-io/milvus.git
fix: Prevent remove new growing L1 segment when SyncSegments (#34056)
Related to #34018 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/34084/head
parent
ca7ef26e4b
commit
b5c9a7364b
|
@ -292,7 +292,7 @@ func (c *metaCacheImpl) UpdateSegmentView(partitionID int64,
|
|||
|
||||
for segID, info := range c.segmentInfos {
|
||||
if info.partitionID != partitionID ||
|
||||
(info.Level() == datapb.SegmentLevel_L0 && info.State() == commonpb.SegmentState_Growing) {
|
||||
info.State() == commonpb.SegmentState_Growing {
|
||||
continue
|
||||
}
|
||||
if _, ok := allSegments[segID]; !ok {
|
||||
|
|
Loading…
Reference in New Issue