diff --git a/internal/datanode/flow_graph_insert_buffer_node.go b/internal/datanode/flow_graph_insert_buffer_node.go index a5e92169d87e828718a064517813e90544c4d3c8..ce64996ca2e940cd2fa97ef2c98bab0e2666bc97 100644 --- a/internal/datanode/flow_graph_insert_buffer_node.go +++ b/internal/datanode/flow_graph_insert_buffer_node.go @@ -793,6 +793,7 @@ func (ibNode *insertBufferNode) getCollMetabySegID(segmentID UniqueID) (meta *et if err != nil { return } + meta = &etcdpb.CollectionMeta{} meta.ID = ret.collectionID coll, err := ibNode.replica.getCollectionByID(ret.collectionID)