[skip e2e] Add comment for getDmlChannelsFunc (#13782)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/13785/head
Jiquan Long 2021-12-20 17:52:00 +08:00 committed by GitHub
parent 2da7f528e8
commit fa37e6f954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ type channelsMgr interface {
type getChannelsFuncType = func(collectionID UniqueID) (map[vChan]pChan, error)
type repackFuncType = func(tsMsgs []msgstream.TsMsg, hashKeys [][]int32) (map[int32]*msgstream.MsgPack, error)
// getDmlChannelsFunc returns a function about how to get dml channels of a collection.
func getDmlChannelsFunc(ctx context.Context, rc types.RootCoord) getChannelsFuncType {
return func(collectionID UniqueID) (map[vChan]pChan, error) {
req := &milvuspb.DescribeCollectionRequest{