...
4.After query coord successfully loads sealed segments on querynode, update the sealed segments list of each querynode in cache meta. For example, after balancing sealed segment 8 from node 1 node 2, the meta of node1 changes from {S6, S7,S8} to { S6, S7}, node2's meta is changed from {S5} to {S5, S8}. If the query node suddenly goes down, directly follow the meta records of the coord to recover the query node. While querycoord updates the meta, it broadcasts a change info of sealed segments to querychannel. The proto of sealed segments change info is as follows:
Code Block | ||
---|---|---|
| ||
message SealedSegmentsChangeInfo {
common.MsgBase base = 1;
int64 online_nodeID = 2;
repeated SegmentInfo online_segments = 3;
int64 offline_nodeID = 4;
repeated SegmentInfo offline_segments = 5;
}
|