mirror of https://github.com/milvus-io/milvus.git
Set load meta info in load balance task (#16060)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/16030/merge
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…
Reference in New Issue