mirror of https://github.com/milvus-io/milvus.git
Comments unused msg from msg.go (#7686)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>pull/7696/head
parent
16a6afa9bd
commit
6b86a18a7e
|
@ -804,6 +804,7 @@ func (dp *DropPartitionMsg) Unmarshal(input MarshalType) (TsMsg, error) {
|
|||
|
||||
/////////////////////////////////////////LoadIndex//////////////////////////////////////////
|
||||
// TODO(wxyu): comment it until really needed
|
||||
/*
|
||||
type LoadIndexMsg struct {
|
||||
BaseMsg
|
||||
internalpb.LoadIndex
|
||||
|
@ -853,6 +854,7 @@ func (lim *LoadIndexMsg) Unmarshal(input MarshalType) (TsMsg, error) {
|
|||
|
||||
return loadIndexMsg, nil
|
||||
}
|
||||
*/
|
||||
|
||||
/////////////////////////////////////////LoadBalanceSegments//////////////////////////////////////////
|
||||
type LoadBalanceSegmentsMsg struct {
|
||||
|
|
|
@ -60,7 +60,6 @@ func (pudf *ProtoUDFactory) NewUnmarshalDispatcher() *ProtoUnmarshalDispatcher {
|
|||
dropCollectionMsg := DropCollectionMsg{}
|
||||
createPartitionMsg := CreatePartitionMsg{}
|
||||
dropPartitionMsg := DropPartitionMsg{}
|
||||
loadIndexMsg := LoadIndexMsg{}
|
||||
queryNodeSegStatsMsg := QueryNodeStatsMsg{}
|
||||
segmentStatisticsMsg := SegmentStatisticsMsg{}
|
||||
loadBalanceSegmentsMsg := LoadBalanceSegmentsMsg{}
|
||||
|
@ -80,7 +79,6 @@ func (pudf *ProtoUDFactory) NewUnmarshalDispatcher() *ProtoUnmarshalDispatcher {
|
|||
p.TempMap[commonpb.MsgType_DropCollection] = dropCollectionMsg.Unmarshal
|
||||
p.TempMap[commonpb.MsgType_CreatePartition] = createPartitionMsg.Unmarshal
|
||||
p.TempMap[commonpb.MsgType_DropPartition] = dropPartitionMsg.Unmarshal
|
||||
p.TempMap[commonpb.MsgType_LoadIndex] = loadIndexMsg.Unmarshal
|
||||
p.TempMap[commonpb.MsgType_SegmentStatistics] = segmentStatisticsMsg.Unmarshal
|
||||
p.TempMap[commonpb.MsgType_LoadBalanceSegments] = loadBalanceSegmentsMsg.Unmarshal
|
||||
p.TempMap[commonpb.MsgType_DataNodeTt] = dataNodeTtMsg.Unmarshal
|
||||
|
|
Loading…
Reference in New Issue