mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +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{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_LoadSegments,
|
||||
MsgID: task.SourceID(),
|
||||
MsgID: task.ID(),
|
||||
},
|
||||
Infos: []*querypb.SegmentLoadInfo{loadInfo},
|
||||
Schema: schema,
|
||||
@ -98,7 +98,7 @@ func packReleaseSegmentRequest(task *SegmentTask, action *SegmentAction) *queryp
|
||||
return &querypb.ReleaseSegmentsRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_ReleaseSegments,
|
||||
MsgID: task.SourceID(),
|
||||
MsgID: task.ID(),
|
||||
},
|
||||
|
||||
NodeID: action.Node(),
|
||||
@ -128,7 +128,7 @@ func packSubDmChannelRequest(
|
||||
return &querypb.WatchDmChannelsRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchDmChannels,
|
||||
MsgID: task.SourceID(),
|
||||
MsgID: task.ID(),
|
||||
},
|
||||
NodeID: action.Node(),
|
||||
CollectionID: task.CollectionID(),
|
||||
@ -171,7 +171,7 @@ func packUnsubDmChannelRequest(task *ChannelTask, action Action) *querypb.UnsubD
|
||||
return &querypb.UnsubDmChannelRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_UnsubDmChannel,
|
||||
MsgID: task.SourceID(),
|
||||
MsgID: task.ID(),
|
||||
},
|
||||
NodeID: action.Node(),
|
||||
CollectionID: task.CollectionID(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user