From 615f72b6d323231fe82e5cfc2bbcf833657c1a78 Mon Sep 17 00:00:00 2001 From: xige-16 Date: Thu, 30 Sep 2021 11:12:03 +0800 Subject: [PATCH] [skip ci] Add comment for loadCollection (#8911) Signed-off-by: xige-16 --- internal/querycoord/impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querycoord/impl.go b/internal/querycoord/impl.go index 19c1c937b..50b0f10c4 100644 --- a/internal/querycoord/impl.go +++ b/internal/querycoord/impl.go @@ -124,6 +124,7 @@ func (qc *QueryCoord) ShowCollections(ctx context.Context, req *querypb.ShowColl }, nil } +// LoadCollection loads all the sealed segments of this collection to queryNodes, and assigns watchDmChannelRequest to queryNodes func (qc *QueryCoord) LoadCollection(ctx context.Context, req *querypb.LoadCollectionRequest) (*commonpb.Status, error) { collectionID := req.CollectionID //schema := req.Schema -- GitLab