mirror of https://github.com/milvus-io/milvus.git
Fix QueryNode is not able to recovery (#24335)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/24418/head
parent
152acb3a76
commit
e49df11942
|
@ -217,9 +217,9 @@ message WatchDmChannelsRequest {
|
||||||
int64 collectionID = 3;
|
int64 collectionID = 3;
|
||||||
repeated int64 partitionIDs = 4;
|
repeated int64 partitionIDs = 4;
|
||||||
repeated data.VchannelInfo infos = 5;
|
repeated data.VchannelInfo infos = 5;
|
||||||
schema.CollectionSchema schema = 6; // keep it for compatibility of rolling upgrade from 2.2.x to 2.3
|
schema.CollectionSchema schema = 6;
|
||||||
repeated data.SegmentInfo exclude_infos = 7;
|
repeated data.SegmentInfo exclude_infos = 7;
|
||||||
LoadMetaInfo load_meta = 8; // keep it for compatibility of rolling upgrade from 2.2.x to 2.3
|
LoadMetaInfo load_meta = 8;
|
||||||
int64 replicaID = 9;
|
int64 replicaID = 9;
|
||||||
map<int64, data.SegmentInfo> segment_infos = 10;
|
map<int64, data.SegmentInfo> segment_infos = 10;
|
||||||
// Deprecated
|
// Deprecated
|
||||||
|
@ -277,10 +277,10 @@ message LoadSegmentsRequest {
|
||||||
common.MsgBase base = 1;
|
common.MsgBase base = 1;
|
||||||
int64 dst_nodeID = 2;
|
int64 dst_nodeID = 2;
|
||||||
repeated SegmentLoadInfo infos = 3;
|
repeated SegmentLoadInfo infos = 3;
|
||||||
schema.CollectionSchema schema = 4; // keep it for compatibility of rolling upgrade from 2.2.x to 2.3
|
schema.CollectionSchema schema = 4;
|
||||||
int64 source_nodeID = 5;
|
int64 source_nodeID = 5;
|
||||||
int64 collectionID = 6;
|
int64 collectionID = 6;
|
||||||
LoadMetaInfo load_meta = 7; // keep it for compatibility of rolling upgrade from 2.2.x to 2.3
|
LoadMetaInfo load_meta = 7;
|
||||||
int64 replicaID = 8;
|
int64 replicaID = 8;
|
||||||
repeated msg.MsgPosition delta_positions = 9; // keep it for compatibility of rolling upgrade from 2.2.x to 2.3
|
repeated msg.MsgPosition delta_positions = 9; // keep it for compatibility of rolling upgrade from 2.2.x to 2.3
|
||||||
int64 version = 10;
|
int64 version = 10;
|
||||||
|
|
|
@ -1209,6 +1209,8 @@ func (node *QueryNode) SyncDistribution(ctx context.Context, req *querypb.SyncDi
|
||||||
commonpbutil.WithMsgID(req.Base.GetMsgID()),
|
commonpbutil.WithMsgID(req.Base.GetMsgID()),
|
||||||
),
|
),
|
||||||
Infos: infos,
|
Infos: infos,
|
||||||
|
Schema: req.GetSchema(),
|
||||||
|
LoadMeta: req.GetLoadMeta(),
|
||||||
CollectionID: req.GetCollectionID(),
|
CollectionID: req.GetCollectionID(),
|
||||||
ReplicaID: req.GetReplicaID(),
|
ReplicaID: req.GetReplicaID(),
|
||||||
DstNodeID: nodeID,
|
DstNodeID: nodeID,
|
||||||
|
|
Loading…
Reference in New Issue