From df6333447caf9dfbdfeb370f955ff76f7e49737b Mon Sep 17 00:00:00 2001 From: Jiquan Long Date: Mon, 20 Dec 2021 17:53:17 +0800 Subject: [PATCH] [skip e2e] Add comment for getDqlChannelsFunc (#13783) Signed-off-by: dragondriver --- internal/proxy/channels_mgr.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/channels_mgr.go b/internal/proxy/channels_mgr.go index d98b3006eb..7da4868ee1 100644 --- a/internal/proxy/channels_mgr.go +++ b/internal/proxy/channels_mgr.go @@ -103,6 +103,7 @@ func getDmlChannelsFunc(ctx context.Context, rc types.RootCoord) getChannelsFunc } } +// getDqlChannelsFunc returns a function about how to get query channels of a collection. func getDqlChannelsFunc(ctx context.Context, proxyID int64, qc createQueryChannelInterface) getChannelsFuncType { return func(collectionID UniqueID) (map[vChan]pChan, error) { req := &querypb.CreateQueryChannelRequest{