diff --git a/internal/datanode/metacache/meta_cache.go b/internal/datanode/metacache/meta_cache.go index 221cf5a8f2962..952fbceb3a384 100644 --- a/internal/datanode/metacache/meta_cache.go +++ b/internal/datanode/metacache/meta_cache.go @@ -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 {