未验证 提交 6b72f901 编写于 作者: X XuanYang-cn 提交者: GitHub

Fix message type of show partitions (#17821)

Signed-off-by: Nyangxuan <xuan.yang@zilliz.com>
上级 797218a8
......@@ -486,7 +486,7 @@ func checkIfLoaded(ctx context.Context, qc types.QueryCoord, collectionName stri
if len(searchPartitionIDs) > 0 {
resp, err := qc.ShowPartitions(ctx, &querypb.ShowPartitionsRequest{
Base: &commonpb.MsgBase{
MsgType: commonpb.MsgType_ShowCollections,
MsgType: commonpb.MsgType_ShowPartitions,
SourceID: Params.ProxyCfg.GetNodeID(),
},
CollectionID: info.collID,
......@@ -506,7 +506,7 @@ func checkIfLoaded(ctx context.Context, qc types.QueryCoord, collectionName stri
// If request to search collection and collection is not fully loaded
resp, err := qc.ShowPartitions(ctx, &querypb.ShowPartitionsRequest{
Base: &commonpb.MsgBase{
MsgType: commonpb.MsgType_ShowCollections,
MsgType: commonpb.MsgType_ShowPartitions,
SourceID: Params.ProxyCfg.GetNodeID(),
},
CollectionID: info.collID,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册