mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Prevent remove new growing L1 segment when SyncSegments (#34056)
Related to #34018 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user