mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +08:00
Use task's ID as the MsgID instead of source ID (#19751)
Signed-off-by: yah01 <yang.cen@zilliz.com> Signed-off-by: yah01 <yang.cen@zilliz.com>
This commit is contained in:
parent
f1e330a997
commit
146a3342c3
@ -80,7 +80,7 @@ func packLoadSegmentRequest(
|
|||||||
return &querypb.LoadSegmentsRequest{
|
return &querypb.LoadSegmentsRequest{
|
||||||
Base: &commonpb.MsgBase{
|
Base: &commonpb.MsgBase{
|
||||||
MsgType: commonpb.MsgType_LoadSegments,
|
MsgType: commonpb.MsgType_LoadSegments,
|
||||||
MsgID: task.SourceID(),
|
MsgID: task.ID(),
|
||||||
},
|
},
|
||||||
Infos: []*querypb.SegmentLoadInfo{loadInfo},
|
Infos: []*querypb.SegmentLoadInfo{loadInfo},
|
||||||
Schema: schema,
|
Schema: schema,
|
||||||
@ -98,7 +98,7 @@ func packReleaseSegmentRequest(task *SegmentTask, action *SegmentAction) *queryp
|
|||||||
return &querypb.ReleaseSegmentsRequest{
|
return &querypb.ReleaseSegmentsRequest{
|
||||||
Base: &commonpb.MsgBase{
|
Base: &commonpb.MsgBase{
|
||||||
MsgType: commonpb.MsgType_ReleaseSegments,
|
MsgType: commonpb.MsgType_ReleaseSegments,
|
||||||
MsgID: task.SourceID(),
|
MsgID: task.ID(),
|
||||||
},
|
},
|
||||||
|
|
||||||
NodeID: action.Node(),
|
NodeID: action.Node(),
|
||||||
@ -128,7 +128,7 @@ func packSubDmChannelRequest(
|
|||||||
return &querypb.WatchDmChannelsRequest{
|
return &querypb.WatchDmChannelsRequest{
|
||||||
Base: &commonpb.MsgBase{
|
Base: &commonpb.MsgBase{
|
||||||
MsgType: commonpb.MsgType_WatchDmChannels,
|
MsgType: commonpb.MsgType_WatchDmChannels,
|
||||||
MsgID: task.SourceID(),
|
MsgID: task.ID(),
|
||||||
},
|
},
|
||||||
NodeID: action.Node(),
|
NodeID: action.Node(),
|
||||||
CollectionID: task.CollectionID(),
|
CollectionID: task.CollectionID(),
|
||||||
@ -171,7 +171,7 @@ func packUnsubDmChannelRequest(task *ChannelTask, action Action) *querypb.UnsubD
|
|||||||
return &querypb.UnsubDmChannelRequest{
|
return &querypb.UnsubDmChannelRequest{
|
||||||
Base: &commonpb.MsgBase{
|
Base: &commonpb.MsgBase{
|
||||||
MsgType: commonpb.MsgType_UnsubDmChannel,
|
MsgType: commonpb.MsgType_UnsubDmChannel,
|
||||||
MsgID: task.SourceID(),
|
MsgID: task.ID(),
|
||||||
},
|
},
|
||||||
NodeID: action.Node(),
|
NodeID: action.Node(),
|
||||||
CollectionID: task.CollectionID(),
|
CollectionID: task.CollectionID(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user