mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Set load meta info in load balance task (#16060)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
b61e8201e7
commit
c984c4ea73
@ -1712,6 +1712,11 @@ func (lbt *loadBalanceTask) execute(ctx context.Context) error {
|
|||||||
Infos: []*querypb.SegmentLoadInfo{segmentLoadInfo},
|
Infos: []*querypb.SegmentLoadInfo{segmentLoadInfo},
|
||||||
Schema: schema,
|
Schema: schema,
|
||||||
CollectionID: collectionID,
|
CollectionID: collectionID,
|
||||||
|
LoadMeta: &querypb.LoadMetaInfo{
|
||||||
|
LoadType: collectionInfo.LoadType,
|
||||||
|
CollectionID: collectionID,
|
||||||
|
PartitionIDs: toRecoverPartitionIDs,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
loadSegmentReqs = append(loadSegmentReqs, loadSegmentReq)
|
loadSegmentReqs = append(loadSegmentReqs, loadSegmentReq)
|
||||||
@ -1749,6 +1754,11 @@ func (lbt *loadBalanceTask) execute(ctx context.Context) error {
|
|||||||
CollectionID: collectionID,
|
CollectionID: collectionID,
|
||||||
Infos: []*datapb.VchannelInfo{vChannelInfo},
|
Infos: []*datapb.VchannelInfo{vChannelInfo},
|
||||||
Schema: schema,
|
Schema: schema,
|
||||||
|
LoadMeta: &querypb.LoadMetaInfo{
|
||||||
|
LoadType: collectionInfo.LoadType,
|
||||||
|
CollectionID: collectionID,
|
||||||
|
PartitionIDs: toRecoverPartitionIDs,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if collectionInfo.LoadType == querypb.LoadType_LoadPartition {
|
if collectionInfo.LoadType == querypb.LoadType_LoadPartition {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user