[skip e2e] Add comment for repackFuncType (#13895)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/13921/head
Jiquan Long 2021-12-21 20:59:11 +08:00 committed by GitHub
parent be34b736b0
commit 35021d6cc3
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 {
// getChannelsFuncType returns the channel information according to the collection id. // getChannelsFuncType returns the channel information according to the collection id.
type getChannelsFuncType = func(collectionID UniqueID) (map[vChan]pChan, error) type getChannelsFuncType = func(collectionID UniqueID) (map[vChan]pChan, error)
// repackFuncType repacks message into message pack.
type repackFuncType = func(tsMsgs []msgstream.TsMsg, hashKeys [][]int32) (map[int32]*msgstream.MsgPack, 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. // getDmlChannelsFunc returns a function about how to get dml channels of a collection.