mirror of https://github.com/milvus-io/milvus.git
Fix DescribeCollection failed with undefined msg type (#23192)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/23201/head
parent
4d2e379b09
commit
17d3190fcc
|
@ -457,7 +457,9 @@ func (s *Server) initGarbageCollection(cli storage.ChunkManager) {
|
|||
dropTolerance: Params.DataCoordCfg.GCDropTolerance.GetAsDuration(time.Second),
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue