From a92109735ebb24f64b339189e9b158910fadb8ea Mon Sep 17 00:00:00 2001 From: "yihao.dai" Date: Fri, 7 Apr 2023 20:58:28 +0800 Subject: [PATCH] Fix DescribeCollection failed with undefined msg type (#23298) Signed-off-by: bigsheeper --- internal/datacoord/server.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/datacoord/server.go b/internal/datacoord/server.go index 64ded38bf3..16fde525b5 100644 --- a/internal/datacoord/server.go +++ b/internal/datacoord/server.go @@ -418,7 +418,9 @@ func (s *Server) initGarbageCollection(cli storage.ChunkManager) { dropTolerance: Params.DataCoordCfg.GCDropTolerance, collValidator: func(collID int64) bool { resp, err := s.rootCoordClient.DescribeCollectionInternal(context.Background(), &milvuspb.DescribeCollectionRequest{ - Base: commonpbutil.NewMsgBase(), + Base: commonpbutil.NewMsgBase( + commonpbutil.WithMsgType(commonpb.MsgType_DescribeCollection), + ), CollectionID: collID, }) if err != nil {