mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
use dataservice's getRecoveryInfo to get load and watch info (#5790)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
587ccc0557
commit
97049ce293
@ -8,6 +8,7 @@ import "common.proto";
|
||||
import "milvus.proto";
|
||||
import "internal.proto";
|
||||
import "schema.proto";
|
||||
import "data_service.proto";
|
||||
|
||||
service QueryService {
|
||||
rpc GetComponentStates(internal.GetComponentStatesRequest) returns (internal.ComponentStates) {}
|
||||
@ -196,9 +197,9 @@ message WatchDmChannelsRequest {
|
||||
int64 nodeID = 2;
|
||||
int64 collectionID = 3;
|
||||
int64 partitionID = 4;
|
||||
repeated VchannelInfo infos = 5;
|
||||
repeated data.VchannelInfo infos = 5;
|
||||
schema.CollectionSchema schema = 6;
|
||||
repeated CheckPoint exclude_infos = 7;
|
||||
repeated data.SegmentInfo exclude_infos = 7;
|
||||
}
|
||||
|
||||
enum TriggerCondition {
|
||||
@ -220,7 +221,7 @@ message SegmentLoadInfo {
|
||||
int64 collectionID = 3;
|
||||
int64 dbID = 4;
|
||||
int64 flush_time = 5;
|
||||
repeated FieldBinlog binlog_paths = 6;
|
||||
repeated data.FieldBinlog binlog_paths = 6;
|
||||
}
|
||||
|
||||
message LoadSegmentsRequest {
|
||||
@ -288,41 +289,4 @@ message LoadBalanceSegments {
|
||||
repeated LoadBalanceSegmentInfo infos = 2;
|
||||
}
|
||||
|
||||
//--------------temp used, delete after data_service.proto update-----
|
||||
message CheckPoint {
|
||||
int64 segmentID = 1;
|
||||
internal.MsgPosition position = 2;
|
||||
int64 num_of_rows = 3;
|
||||
}
|
||||
|
||||
message VchannelInfo {
|
||||
int64 collectionID = 1;
|
||||
string channelName = 2;
|
||||
internal.MsgPosition seek_position = 3;
|
||||
repeated CheckPoint checkPoints = 4;
|
||||
repeated int64 flushedSegments = 5;
|
||||
}
|
||||
|
||||
message SegmentBinlogs {
|
||||
int64 segmentID = 1;
|
||||
repeated FieldBinlog fieldBinlogs = 2;
|
||||
}
|
||||
|
||||
message FieldBinlog{
|
||||
int64 fieldID = 1;
|
||||
repeated string binlogs = 2;
|
||||
}
|
||||
|
||||
message GetRecoveryInfoResponse {
|
||||
common.MsgBase base = 1;
|
||||
repeated VchannelInfo channels = 2;
|
||||
repeated SegmentBinlogs binlogs = 3;
|
||||
}
|
||||
|
||||
message GetRecoveryInfoRequest {
|
||||
common.MsgBase base = 1;
|
||||
int64 collectionID = 2;
|
||||
int64 partitionID = 3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@ import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
|
||||
datapb "github.com/milvus-io/milvus/internal/proto/datapb"
|
||||
internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
|
||||
milvuspb "github.com/milvus-io/milvus/internal/proto/milvuspb"
|
||||
schemapb "github.com/milvus-io/milvus/internal/proto/schemapb"
|
||||
@ -1281,9 +1282,9 @@ type WatchDmChannelsRequest struct {
|
||||
NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
|
||||
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
||||
PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
||||
Infos []*VchannelInfo `protobuf:"bytes,5,rep,name=infos,proto3" json:"infos,omitempty"`
|
||||
Infos []*datapb.VchannelInfo `protobuf:"bytes,5,rep,name=infos,proto3" json:"infos,omitempty"`
|
||||
Schema *schemapb.CollectionSchema `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
|
||||
ExcludeInfos []*CheckPoint `protobuf:"bytes,7,rep,name=exclude_infos,json=excludeInfos,proto3" json:"exclude_infos,omitempty"`
|
||||
ExcludeInfos []*datapb.SegmentInfo `protobuf:"bytes,7,rep,name=exclude_infos,json=excludeInfos,proto3" json:"exclude_infos,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
@ -1342,7 +1343,7 @@ func (m *WatchDmChannelsRequest) GetPartitionID() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *WatchDmChannelsRequest) GetInfos() []*VchannelInfo {
|
||||
func (m *WatchDmChannelsRequest) GetInfos() []*datapb.VchannelInfo {
|
||||
if m != nil {
|
||||
return m.Infos
|
||||
}
|
||||
@ -1356,7 +1357,7 @@ func (m *WatchDmChannelsRequest) GetSchema() *schemapb.CollectionSchema {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *WatchDmChannelsRequest) GetExcludeInfos() []*CheckPoint {
|
||||
func (m *WatchDmChannelsRequest) GetExcludeInfos() []*datapb.SegmentInfo {
|
||||
if m != nil {
|
||||
return m.ExcludeInfos
|
||||
}
|
||||
@ -1365,15 +1366,15 @@ func (m *WatchDmChannelsRequest) GetExcludeInfos() []*CheckPoint {
|
||||
|
||||
//used for handoff task
|
||||
type SegmentLoadInfo struct {
|
||||
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
||||
PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
||||
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
||||
DbID int64 `protobuf:"varint,4,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
||||
FlushTime int64 `protobuf:"varint,5,opt,name=flush_time,json=flushTime,proto3" json:"flush_time,omitempty"`
|
||||
BinlogPaths []*FieldBinlog `protobuf:"bytes,6,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
||||
PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
||||
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
||||
DbID int64 `protobuf:"varint,4,opt,name=dbID,proto3" json:"dbID,omitempty"`
|
||||
FlushTime int64 `protobuf:"varint,5,opt,name=flush_time,json=flushTime,proto3" json:"flush_time,omitempty"`
|
||||
BinlogPaths []*datapb.FieldBinlog `protobuf:"bytes,6,rep,name=binlog_paths,json=binlogPaths,proto3" json:"binlog_paths,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SegmentLoadInfo) Reset() { *m = SegmentLoadInfo{} }
|
||||
@ -1436,7 +1437,7 @@ func (m *SegmentLoadInfo) GetFlushTime() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SegmentLoadInfo) GetBinlogPaths() []*FieldBinlog {
|
||||
func (m *SegmentLoadInfo) GetBinlogPaths() []*datapb.FieldBinlog {
|
||||
if m != nil {
|
||||
return m.BinlogPaths
|
||||
}
|
||||
@ -1947,337 +1948,6 @@ func (m *LoadBalanceSegments) GetInfos() []*LoadBalanceSegmentInfo {
|
||||
return nil
|
||||
}
|
||||
|
||||
//--------------temp used, delete after data_service.proto update-----
|
||||
type CheckPoint struct {
|
||||
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
||||
Position *internalpb.MsgPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
|
||||
NumOfRows int64 `protobuf:"varint,3,opt,name=num_of_rows,json=numOfRows,proto3" json:"num_of_rows,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckPoint) Reset() { *m = CheckPoint{} }
|
||||
func (m *CheckPoint) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckPoint) ProtoMessage() {}
|
||||
func (*CheckPoint) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5fcb6756dc1afb8d, []int{30}
|
||||
}
|
||||
|
||||
func (m *CheckPoint) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckPoint.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckPoint.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckPoint) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckPoint.Merge(m, src)
|
||||
}
|
||||
func (m *CheckPoint) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckPoint.Size(m)
|
||||
}
|
||||
func (m *CheckPoint) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckPoint.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckPoint proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckPoint) GetSegmentID() int64 {
|
||||
if m != nil {
|
||||
return m.SegmentID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *CheckPoint) GetPosition() *internalpb.MsgPosition {
|
||||
if m != nil {
|
||||
return m.Position
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckPoint) GetNumOfRows() int64 {
|
||||
if m != nil {
|
||||
return m.NumOfRows
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type VchannelInfo struct {
|
||||
CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
||||
ChannelName string `protobuf:"bytes,2,opt,name=channelName,proto3" json:"channelName,omitempty"`
|
||||
SeekPosition *internalpb.MsgPosition `protobuf:"bytes,3,opt,name=seek_position,json=seekPosition,proto3" json:"seek_position,omitempty"`
|
||||
CheckPoints []*CheckPoint `protobuf:"bytes,4,rep,name=checkPoints,proto3" json:"checkPoints,omitempty"`
|
||||
FlushedSegments []int64 `protobuf:"varint,5,rep,packed,name=flushedSegments,proto3" json:"flushedSegments,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *VchannelInfo) Reset() { *m = VchannelInfo{} }
|
||||
func (m *VchannelInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*VchannelInfo) ProtoMessage() {}
|
||||
func (*VchannelInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5fcb6756dc1afb8d, []int{31}
|
||||
}
|
||||
|
||||
func (m *VchannelInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_VchannelInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *VchannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_VchannelInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *VchannelInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_VchannelInfo.Merge(m, src)
|
||||
}
|
||||
func (m *VchannelInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_VchannelInfo.Size(m)
|
||||
}
|
||||
func (m *VchannelInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_VchannelInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_VchannelInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *VchannelInfo) GetCollectionID() int64 {
|
||||
if m != nil {
|
||||
return m.CollectionID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *VchannelInfo) GetChannelName() string {
|
||||
if m != nil {
|
||||
return m.ChannelName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *VchannelInfo) GetSeekPosition() *internalpb.MsgPosition {
|
||||
if m != nil {
|
||||
return m.SeekPosition
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *VchannelInfo) GetCheckPoints() []*CheckPoint {
|
||||
if m != nil {
|
||||
return m.CheckPoints
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *VchannelInfo) GetFlushedSegments() []int64 {
|
||||
if m != nil {
|
||||
return m.FlushedSegments
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type SegmentBinlogs struct {
|
||||
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
||||
FieldBinlogs []*FieldBinlog `protobuf:"bytes,2,rep,name=fieldBinlogs,proto3" json:"fieldBinlogs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SegmentBinlogs) Reset() { *m = SegmentBinlogs{} }
|
||||
func (m *SegmentBinlogs) String() string { return proto.CompactTextString(m) }
|
||||
func (*SegmentBinlogs) ProtoMessage() {}
|
||||
func (*SegmentBinlogs) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5fcb6756dc1afb8d, []int{32}
|
||||
}
|
||||
|
||||
func (m *SegmentBinlogs) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SegmentBinlogs.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SegmentBinlogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SegmentBinlogs.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SegmentBinlogs) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SegmentBinlogs.Merge(m, src)
|
||||
}
|
||||
func (m *SegmentBinlogs) XXX_Size() int {
|
||||
return xxx_messageInfo_SegmentBinlogs.Size(m)
|
||||
}
|
||||
func (m *SegmentBinlogs) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SegmentBinlogs.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SegmentBinlogs proto.InternalMessageInfo
|
||||
|
||||
func (m *SegmentBinlogs) GetSegmentID() int64 {
|
||||
if m != nil {
|
||||
return m.SegmentID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SegmentBinlogs) GetFieldBinlogs() []*FieldBinlog {
|
||||
if m != nil {
|
||||
return m.FieldBinlogs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type FieldBinlog struct {
|
||||
FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
|
||||
Binlogs []string `protobuf:"bytes,2,rep,name=binlogs,proto3" json:"binlogs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FieldBinlog) Reset() { *m = FieldBinlog{} }
|
||||
func (m *FieldBinlog) String() string { return proto.CompactTextString(m) }
|
||||
func (*FieldBinlog) ProtoMessage() {}
|
||||
func (*FieldBinlog) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5fcb6756dc1afb8d, []int{33}
|
||||
}
|
||||
|
||||
func (m *FieldBinlog) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FieldBinlog.Unmarshal(m, b)
|
||||
}
|
||||
func (m *FieldBinlog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_FieldBinlog.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *FieldBinlog) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FieldBinlog.Merge(m, src)
|
||||
}
|
||||
func (m *FieldBinlog) XXX_Size() int {
|
||||
return xxx_messageInfo_FieldBinlog.Size(m)
|
||||
}
|
||||
func (m *FieldBinlog) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FieldBinlog.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FieldBinlog proto.InternalMessageInfo
|
||||
|
||||
func (m *FieldBinlog) GetFieldID() int64 {
|
||||
if m != nil {
|
||||
return m.FieldID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *FieldBinlog) GetBinlogs() []string {
|
||||
if m != nil {
|
||||
return m.Binlogs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetRecoveryInfoResponse struct {
|
||||
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||||
Channels []*VchannelInfo `protobuf:"bytes,2,rep,name=channels,proto3" json:"channels,omitempty"`
|
||||
Binlogs []*SegmentBinlogs `protobuf:"bytes,3,rep,name=binlogs,proto3" json:"binlogs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoResponse) Reset() { *m = GetRecoveryInfoResponse{} }
|
||||
func (m *GetRecoveryInfoResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetRecoveryInfoResponse) ProtoMessage() {}
|
||||
func (*GetRecoveryInfoResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5fcb6756dc1afb8d, []int{34}
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetRecoveryInfoResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetRecoveryInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetRecoveryInfoResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *GetRecoveryInfoResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetRecoveryInfoResponse.Merge(m, src)
|
||||
}
|
||||
func (m *GetRecoveryInfoResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_GetRecoveryInfoResponse.Size(m)
|
||||
}
|
||||
func (m *GetRecoveryInfoResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetRecoveryInfoResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetRecoveryInfoResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *GetRecoveryInfoResponse) GetBase() *commonpb.MsgBase {
|
||||
if m != nil {
|
||||
return m.Base
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoResponse) GetChannels() []*VchannelInfo {
|
||||
if m != nil {
|
||||
return m.Channels
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoResponse) GetBinlogs() []*SegmentBinlogs {
|
||||
if m != nil {
|
||||
return m.Binlogs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type GetRecoveryInfoRequest struct {
|
||||
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||||
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
||||
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoRequest) Reset() { *m = GetRecoveryInfoRequest{} }
|
||||
func (m *GetRecoveryInfoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetRecoveryInfoRequest) ProtoMessage() {}
|
||||
func (*GetRecoveryInfoRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5fcb6756dc1afb8d, []int{35}
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetRecoveryInfoRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *GetRecoveryInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_GetRecoveryInfoRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *GetRecoveryInfoRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_GetRecoveryInfoRequest.Merge(m, src)
|
||||
}
|
||||
func (m *GetRecoveryInfoRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_GetRecoveryInfoRequest.Size(m)
|
||||
}
|
||||
func (m *GetRecoveryInfoRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_GetRecoveryInfoRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_GetRecoveryInfoRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *GetRecoveryInfoRequest) GetBase() *commonpb.MsgBase {
|
||||
if m != nil {
|
||||
return m.Base
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoRequest) GetCollectionID() int64 {
|
||||
if m != nil {
|
||||
return m.CollectionID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *GetRecoveryInfoRequest) GetPartitionID() int64 {
|
||||
if m != nil {
|
||||
return m.PartitionID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("milvus.proto.query.PartitionState", PartitionState_name, PartitionState_value)
|
||||
proto.RegisterEnum("milvus.proto.query.TriggerCondition", TriggerCondition_name, TriggerCondition_value)
|
||||
@ -2312,148 +1982,128 @@ func init() {
|
||||
proto.RegisterType((*HandoffSegments)(nil), "milvus.proto.query.HandoffSegments")
|
||||
proto.RegisterType((*LoadBalanceSegmentInfo)(nil), "milvus.proto.query.LoadBalanceSegmentInfo")
|
||||
proto.RegisterType((*LoadBalanceSegments)(nil), "milvus.proto.query.LoadBalanceSegments")
|
||||
proto.RegisterType((*CheckPoint)(nil), "milvus.proto.query.CheckPoint")
|
||||
proto.RegisterType((*VchannelInfo)(nil), "milvus.proto.query.VchannelInfo")
|
||||
proto.RegisterType((*SegmentBinlogs)(nil), "milvus.proto.query.SegmentBinlogs")
|
||||
proto.RegisterType((*FieldBinlog)(nil), "milvus.proto.query.FieldBinlog")
|
||||
proto.RegisterType((*GetRecoveryInfoResponse)(nil), "milvus.proto.query.GetRecoveryInfoResponse")
|
||||
proto.RegisterType((*GetRecoveryInfoRequest)(nil), "milvus.proto.query.GetRecoveryInfoRequest")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("query_service.proto", fileDescriptor_5fcb6756dc1afb8d) }
|
||||
|
||||
var fileDescriptor_5fcb6756dc1afb8d = []byte{
|
||||
// 2067 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x73, 0x1c, 0x47,
|
||||
0x15, 0xd7, 0xec, 0xae, 0x3e, 0xf6, 0xed, 0xec, 0x47, 0xda, 0xb6, 0xb2, 0x5e, 0x62, 0xc7, 0x19,
|
||||
0x27, 0xc4, 0x51, 0x88, 0x9c, 0x52, 0x42, 0x8a, 0x54, 0x05, 0x88, 0xa5, 0x8d, 0xc5, 0x42, 0x2c,
|
||||
0x8b, 0x91, 0x09, 0x55, 0x2e, 0x17, 0xcb, 0x68, 0xa6, 0xb5, 0x3b, 0xe5, 0x99, 0xe9, 0xd5, 0xf4,
|
||||
0xac, 0x64, 0xfb, 0x00, 0x45, 0x15, 0x97, 0x70, 0x81, 0x0b, 0x27, 0x4e, 0x5c, 0x28, 0x38, 0xf0,
|
||||
0x3f, 0x70, 0xe3, 0xaf, 0x00, 0x8a, 0x2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 0xca, 0xdb, 0x8b, 0x67, 0xf1, 0xf6, 0x9f, 0x27, 0xde, 0x7e, 0xc9, 0x2d, 0x35,
|
||||
0xbe, 0x0f, 0x97, 0xb7, 0x42, 0x6c, 0x45, 0xf8, 0xc7, 0xec, 0x12, 0xd8, 0x1a, 0x5a, 0x41, 0x80,
|
||||
0xbd, 0x58, 0xd5, 0xbc, 0x10, 0x4d, 0x11, 0xd2, 0x3f, 0x6a, 0xd0, 0x51, 0xed, 0x70, 0x9e, 0x43,
|
||||
0xf9, 0x36, 0x34, 0x43, 0xa1, 0x42, 0xdf, 0x16, 0xfb, 0x71, 0xdb, 0xab, 0x66, 0x43, 0x92, 0xa5,
|
||||
0x14, 0xf4, 0x16, 0x34, 0x42, 0x4c, 0xc7, 0xde, 0x84, 0xaf, 0xcc, 0xf9, 0xea, 0x82, 0x2a, 0xd9,
|
||||
0x8c, 0xbf, 0x68, 0x70, 0x79, 0x1b, 0x47, 0x49, 0x2c, 0x98, 0x38, 0xfc, 0x92, 0x06, 0xc4, 0x87,
|
||||
0x66, 0x4e, 0x4f, 0x74, 0x0d, 0x6a, 0x29, 0x16, 0x19, 0x85, 0x34, 0x09, 0x7d, 0x07, 0x16, 0x99,
|
||||
0xeb, 0x30, 0xd7, 0xa8, 0xb1, 0x61, 0xac, 0x17, 0xef, 0xf7, 0xf5, 0xec, 0xae, 0xa6, 0x58, 0x60,
|
||||
0xfc, 0x55, 0x83, 0x8e, 0xca, 0x35, 0xe7, 0x09, 0xdf, 0x7d, 0x58, 0x4d, 0x94, 0xeb, 0x3b, 0x98,
|
||||
0xda, 0xa1, 0x3b, 0xe2, 0x47, 0x80, 0xa3, 0x6b, 0x6d, 0xe3, 0xfa, 0x6c, 0xf5, 0xa8, 0x79, 0x29,
|
||||
0xd9, 0xa2, 0x9b, 0xda, 0xc1, 0x70, 0xe1, 0xd2, 0x36, 0x8e, 0xf6, 0xf0, 0xc0, 0xc7, 0x41, 0xd4,
|
||||
0x0b, 0x0e, 0x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, 0x12, 0xe0, 0xd6, 0x02, 0xdb, 0x76, 0x3b, 0x24, 0xc7, 0x6e,
|
||||
0x30, 0x10, 0x36, 0xdc, 0x0e, 0xc9, 0x13, 0x1c, 0xb4, 0x4a, 0x6c, 0x82, 0x62, 0xcb, 0x63, 0x13,
|
||||
0x65, 0x36, 0xc1, 0x06, 0xd8, 0x69, 0x55, 0x36, 0xfe, 0x0b, 0xa0, 0xf3, 0x52, 0x63, 0x4f, 0x3c,
|
||||
0x04, 0xa1, 0x11, 0xa0, 0x6d, 0x1c, 0x6d, 0x11, 0x7f, 0x44, 0x82, 0x58, 0x02, 0x45, 0xef, 0x4f,
|
||||
0x39, 0xf2, 0x45, 0x56, 0xa9, 0x74, 0xe7, 0x9b, 0x53, 0x56, 0xe4, 0xd8, 0x8d, 0x05, 0xe4, 0x73,
|
||||
0x89, 0xac, 0x38, 0xbf, 0xe7, 0xda, 0x0f, 0xe3, 0x16, 0xde, 0x09, 0x12, 0x73, 0xac, 0xb1, 0xc4,
|
||||
0xdc, 0x3d, 0x2b, 0x07, 0x7b, 0x51, 0xe8, 0x06, 0x83, 0xf8, 0x24, 0x19, 0x0b, 0xe8, 0x10, 0x2e,
|
||||
0x6e, 0x63, 0x2e, 0xdd, 0xa5, 0x91, 0x6b, 0xd3, 0x58, 0xe0, 0xc6, 0x74, 0x81, 0x05, 0xe6, 0x53,
|
||||
0x8a, 0xb4, 0x41, 0x4f, 0x3f, 0x43, 0xa1, 0xb7, 0x55, 0xa7, 0x49, 0xf1, 0x54, 0xd6, 0xb9, 0x31,
|
||||
0x9b, 0x31, 0x11, 0xe2, 0x41, 0x33, 0xf7, 0xf4, 0x83, 0x94, 0xd7, 0x9a, 0xfa, 0xfd, 0xa9, 0xf3,
|
||||
0xee, 0x5c, 0xbc, 0x89, 0x34, 0x17, 0x1a, 0xd9, 0xe7, 0x16, 0xf4, 0xce, 0xb4, 0x0d, 0x0a, 0xad,
|
||||
0xee, 0xce, 0xda, 0x3c, 0xac, 0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1f, 0x40, 0x33, 0xd7, 0xb6, 0x52, 0x7b, 0x5e, 0xdd, 0xdb, 0x9a, 0xb5, 0xfb, 0x57,
|
||||
0x07, 0x33, 0x9b, 0x1f, 0xde, 0xdf, 0x18, 0xb8, 0xd1, 0x70, 0xbc, 0xcf, 0x94, 0xb8, 0x29, 0x56,
|
||||
0xbe, 0xe7, 0x12, 0xf9, 0x75, 0x33, 0x3e, 0x6f, 0x37, 0xf9, 0x66, 0x37, 0xf9, 0x66, 0xa3, 0xfd,
|
||||
0xfd, 0x25, 0x3e, 0xfc, 0xe0, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x8a, 0x21, 0x1a, 0x24,
|
||||
0x24, 0x00, 0x00,
|
||||
// 1845 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x73, 0x1c, 0x47,
|
||||
0x15, 0xd7, 0xec, 0xae, 0x56, 0xda, 0xb7, 0x5f, 0x93, 0xb6, 0x2d, 0xd6, 0x4b, 0x9c, 0x38, 0xe3,
|
||||
0x84, 0x38, 0x0a, 0x91, 0x53, 0x4a, 0xa0, 0xc8, 0x81, 0x02, 0x4b, 0x1b, 0x8b, 0x85, 0x44, 0x11,
|
||||
0x23, 0x13, 0xaa, 0x5c, 0x2e, 0x96, 0xd1, 0x4c, 0x6b, 0x77, 0x2a, 0x33, 0xdd, 0xab, 0xe9, 0x5e,
|
||||
0xcb, 0xf1, 0x01, 0x8a, 0x2a, 0x2e, 0x9c, 0x38, 0x71, 0xe2, 0xc4, 0x85, 0x82, 0x03, 0xff, 0x03,
|
||||
0xff, 0x08, 0x50, 0x14, 0xb9, 0x71, 0xe6, 0x4e, 0x4d, 0x77, 0xcf, 0xec, 0x7c, 0xf4, 0x4a, 0x6b,
|
||||
0xc9, 0x8e, 0x53, 0x14, 0xb7, 0xe9, 0xd7, 0xaf, 0xdf, 0x77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xab, 0x40, 0x33, 0xa3, 0x08, 0xbd, 0x0c, 0x8d, 0x74, 0x57, 0x25, 0x61, 0x4e, 0x28, 0xe5, 0xbf,
|
||||
0xa2, 0xc9, 0x7f, 0x21, 0x91, 0xd5, 0x72, 0x22, 0x37, 0xa0, 0x4e, 0xa8, 0x87, 0x87, 0x03, 0x01,
|
||||
0xf3, 0x55, 0x5b, 0xad, 0xd0, 0x75, 0x58, 0x0f, 0x71, 0x38, 0x62, 0xfe, 0x13, 0x2c, 0x20, 0xa9,
|
||||
0x6a, 0xaf, 0x85, 0x38, 0x3c, 0xf4, 0x9f, 0xe0, 0x78, 0x8b, 0xcc, 0xc2, 0x51, 0x44, 0x4f, 0x59,
|
||||
0xaf, 0x2e, 0xb7, 0xc8, 0x2c, 0xb4, 0xe9, 0x29, 0x43, 0x37, 0x00, 0x7c, 0xe2, 0xe1, 0xc7, 0x23,
|
||||
0xe2, 0x84, 0xb8, 0xb7, 0x26, 0xae, 0x46, 0x43, 0x50, 0xf6, 0x9d, 0x10, 0xa3, 0x1e, 0xac, 0x89,
|
||||
0xc5, 0x70, 0xd0, 0x5b, 0x97, 0x07, 0xd5, 0x32, 0x76, 0x55, 0x5d, 0xa8, 0xe1, 0xa0, 0xd7, 0x90,
|
||||
0xe7, 0x52, 0x02, 0xfa, 0x10, 0xda, 0xca, 0xef, 0x91, 0xac, 0x3a, 0x10, 0x55, 0x77, 0x53, 0x97,
|
||||
0x56, 0x15, 0x40, 0x59, 0x73, 0x2d, 0x96, 0x59, 0xc5, 0xff, 0xa4, 0x8d, 0x62, 0x2e, 0x2f, 0x53,
|
||||
0x76, 0xdf, 0x82, 0x55, 0x9f, 0x1c, 0xd3, 0xa4, 0xca, 0x5e, 0x3d, 0xc3, 0x1c, 0xa1, 0x4c, 0x72,
|
||||
0x5b, 0x7f, 0x37, 0x60, 0xe3, 0xae, 0xe7, 0xe9, 0xf0, 0xef, 0xe9, 0x6b, 0x6a, 0x9e, 0xbf, 0x4a,
|
||||
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, 0x29, 0xff, 0xf0, 0xb1, 0xcf, 0xb8,
|
||||
0xb9, 0x82, 0x3a, 0x00, 0xfb, 0x94, 0x1f, 0x44, 0x98, 0x61, 0xc2, 0x4d, 0x03, 0x01, 0xd4, 0x3f,
|
||||
0x21, 0x03, 0x9f, 0x7d, 0x66, 0x56, 0xd0, 0x15, 0xf5, 0x92, 0x73, 0x82, 0x21, 0xf9, 0x18, 0x87,
|
||||
0x34, 0xfa, 0xdc, 0xac, 0xc6, 0xc7, 0xd3, 0x55, 0x0d, 0x99, 0xd0, 0x4a, 0x59, 0xf6, 0x0e, 0x7e,
|
||||
0x62, 0xae, 0xa2, 0x06, 0xac, 0xca, 0xcf, 0xfa, 0xe6, 0x27, 0x60, 0x16, 0x91, 0x17, 0x35, 0x61,
|
||||
0x6d, 0x22, 0x2b, 0xd7, 0x5c, 0x41, 0x5d, 0x68, 0x06, 0x73, 0xeb, 0x4d, 0x23, 0x26, 0x8c, 0xa3,
|
||||
0xa9, 0xab, 0xc0, 0xd7, 0xac, 0xc4, 0xda, 0xe2, 0x04, 0x0e, 0xe8, 0x29, 0x31, 0xab, 0x9b, 0x3f,
|
||||
0x84, 0x56, 0xb6, 0x1d, 0x47, 0xeb, 0x50, 0xdb, 0xa7, 0x04, 0x9b, 0x2b, 0xb1, 0xd8, 0xbd, 0x88,
|
||||
0x9e, 0xfa, 0x64, 0x2c, 0x7d, 0xb8, 0x17, 0xd1, 0x27, 0x98, 0x98, 0x95, 0x78, 0x83, 0x61, 0x27,
|
||||
0x88, 0x37, 0xaa, 0xf1, 0x46, 0xbc, 0xc0, 0x9e, 0x59, 0xdb, 0xfe, 0x0f, 0x40, 0x4b, 0x80, 0xd7,
|
||||
0xa1, 0x1c, 0x05, 0xa3, 0x29, 0xa0, 0x3d, 0xcc, 0x77, 0x69, 0x38, 0xa5, 0x24, 0xd1, 0xc0, 0xd0,
|
||||
0xbb, 0x0b, 0xc6, 0xa6, 0x65, 0x56, 0x65, 0x74, 0xff, 0x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, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
||||
@ -25,7 +25,7 @@ import "C"
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/milvus-io/milvus/internal/proto/querypb"
|
||||
"github.com/milvus-io/milvus/internal/proto/datapb"
|
||||
"strconv"
|
||||
"sync"
|
||||
|
||||
@ -76,8 +76,8 @@ type ReplicaInterface interface {
|
||||
// excluded segments
|
||||
initExcludedSegments(collectionID UniqueID)
|
||||
removeExcludedSegments(collectionID UniqueID)
|
||||
addExcludedSegments(collectionID UniqueID, segmentInfos []*querypb.CheckPoint) error
|
||||
getExcludedSegments(collectionID UniqueID) ([]*querypb.CheckPoint, error)
|
||||
addExcludedSegments(collectionID UniqueID, segmentInfos []*datapb.SegmentInfo) error
|
||||
getExcludedSegments(collectionID UniqueID) ([]*datapb.SegmentInfo, error)
|
||||
|
||||
getSegmentsBySegmentType(segType segmentType) ([]UniqueID, []UniqueID, []UniqueID)
|
||||
replaceGrowingSegmentBySealedSegment(segment *Segment) error
|
||||
@ -91,7 +91,7 @@ type collectionReplica struct {
|
||||
partitions map[UniqueID]*Partition
|
||||
segments map[UniqueID]*Segment
|
||||
|
||||
excludedSegments map[UniqueID][]*querypb.CheckPoint // map[collectionID]segmentIDs
|
||||
excludedSegments map[UniqueID][]*datapb.SegmentInfo // map[collectionID]segmentIDs
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------- collection
|
||||
@ -505,7 +505,7 @@ func (colReplica *collectionReplica) initExcludedSegments(collectionID UniqueID)
|
||||
colReplica.mu.Lock()
|
||||
defer colReplica.mu.Unlock()
|
||||
|
||||
colReplica.excludedSegments[collectionID] = make([]*querypb.CheckPoint, 0)
|
||||
colReplica.excludedSegments[collectionID] = make([]*datapb.SegmentInfo, 0)
|
||||
}
|
||||
|
||||
func (colReplica *collectionReplica) removeExcludedSegments(collectionID UniqueID) {
|
||||
@ -515,7 +515,7 @@ func (colReplica *collectionReplica) removeExcludedSegments(collectionID UniqueI
|
||||
delete(colReplica.excludedSegments, collectionID)
|
||||
}
|
||||
|
||||
func (colReplica *collectionReplica) addExcludedSegments(collectionID UniqueID, segmentInfos []*querypb.CheckPoint) error {
|
||||
func (colReplica *collectionReplica) addExcludedSegments(collectionID UniqueID, segmentInfos []*datapb.SegmentInfo) error {
|
||||
colReplica.mu.Lock()
|
||||
defer colReplica.mu.Unlock()
|
||||
|
||||
@ -527,7 +527,7 @@ func (colReplica *collectionReplica) addExcludedSegments(collectionID UniqueID,
|
||||
return nil
|
||||
}
|
||||
|
||||
func (colReplica *collectionReplica) getExcludedSegments(collectionID UniqueID) ([]*querypb.CheckPoint, error) {
|
||||
func (colReplica *collectionReplica) getExcludedSegments(collectionID UniqueID) ([]*datapb.SegmentInfo, error) {
|
||||
colReplica.mu.RLock()
|
||||
defer colReplica.mu.RUnlock()
|
||||
|
||||
@ -555,7 +555,7 @@ func newCollectionReplica() ReplicaInterface {
|
||||
collections := make(map[UniqueID]*Collection)
|
||||
partitions := make(map[UniqueID]*Partition)
|
||||
segments := make(map[UniqueID]*Segment)
|
||||
excludedSegments := make(map[UniqueID][]*querypb.CheckPoint)
|
||||
excludedSegments := make(map[UniqueID][]*datapb.SegmentInfo)
|
||||
|
||||
var replica ReplicaInterface = &collectionReplica{
|
||||
collections: collections,
|
||||
|
||||
@ -133,7 +133,7 @@ func (fdmNode *filterDmNode) filterInvalidInsertMessage(msg *msgstream.InsertMsg
|
||||
return nil
|
||||
}
|
||||
for _, segmentInfo := range excludedSegments {
|
||||
if msg.SegmentID == segmentInfo.SegmentID && msg.EndTs() < segmentInfo.Position.Timestamp {
|
||||
if msg.SegmentID == segmentInfo.ID && msg.EndTs() < segmentInfo.DmlPosition.Timestamp {
|
||||
log.Debug("filter invalid insert message, segments are excluded segments",
|
||||
zap.Any("collectionID", msg.CollectionID),
|
||||
zap.Any("partitionID", msg.PartitionID))
|
||||
|
||||
@ -109,7 +109,7 @@ func (loader *segmentLoader) loadSegment(req *queryPb.LoadSegmentsRequest, onSer
|
||||
|
||||
func (loader *segmentLoader) loadSegmentInternal(collectionID UniqueID,
|
||||
segment *Segment,
|
||||
binlogPaths []*queryPb.FieldBinlog) error {
|
||||
binlogPaths []*datapb.FieldBinlog) error {
|
||||
|
||||
vectorFieldIDs, err := loader.historicalReplica.getVecFieldIDsByCollectionID(collectionID)
|
||||
if err != nil {
|
||||
@ -164,8 +164,8 @@ func (loader *segmentLoader) GetSegmentStates(segmentID UniqueID) (*datapb.GetSe
|
||||
return statesResponse, nil
|
||||
}
|
||||
|
||||
func (loader *segmentLoader) filterOutVectorFields(binlogPaths []*queryPb.FieldBinlog,
|
||||
vectorFields []int64) []*queryPb.FieldBinlog {
|
||||
func (loader *segmentLoader) filterOutVectorFields(binlogPaths []*datapb.FieldBinlog,
|
||||
vectorFields []int64) []*datapb.FieldBinlog {
|
||||
|
||||
containsFunc := func(s []int64, e int64) bool {
|
||||
for _, a := range s {
|
||||
@ -175,7 +175,7 @@ func (loader *segmentLoader) filterOutVectorFields(binlogPaths []*queryPb.FieldB
|
||||
}
|
||||
return false
|
||||
}
|
||||
targetFields := make([]*queryPb.FieldBinlog, 0)
|
||||
targetFields := make([]*datapb.FieldBinlog, 0)
|
||||
for _, path := range binlogPaths {
|
||||
if !containsFunc(vectorFields, path.FieldID) {
|
||||
targetFields = append(targetFields, path)
|
||||
@ -184,7 +184,7 @@ func (loader *segmentLoader) filterOutVectorFields(binlogPaths []*queryPb.FieldB
|
||||
return targetFields
|
||||
}
|
||||
|
||||
func (loader *segmentLoader) loadSegmentFieldsData(segment *Segment, binlogPaths []*queryPb.FieldBinlog) error {
|
||||
func (loader *segmentLoader) loadSegmentFieldsData(segment *Segment, binlogPaths []*datapb.FieldBinlog) error {
|
||||
iCodec := storage.InsertCodec{}
|
||||
defer func() {
|
||||
err := iCodec.Close()
|
||||
|
||||
@ -23,6 +23,7 @@ import (
|
||||
|
||||
"github.com/milvus-io/milvus/internal/log"
|
||||
"github.com/milvus-io/milvus/internal/proto/commonpb"
|
||||
"github.com/milvus-io/milvus/internal/proto/datapb"
|
||||
"github.com/milvus-io/milvus/internal/proto/internalpb"
|
||||
"github.com/milvus-io/milvus/internal/proto/milvuspb"
|
||||
queryPb "github.com/milvus-io/milvus/internal/proto/querypb"
|
||||
@ -214,9 +215,9 @@ func (w *watchDmChannelsTask) Execute(ctx context.Context) error {
|
||||
log.Debug("watchDMChannel, group channels done", zap.Any("collectionID", collectionID))
|
||||
|
||||
// add check points info
|
||||
checkPointInfos := make([]*queryPb.CheckPoint, 0)
|
||||
checkPointInfos := make([]*datapb.SegmentInfo, 0)
|
||||
for _, info := range w.req.Infos {
|
||||
checkPointInfos = append(checkPointInfos, info.CheckPoints...)
|
||||
checkPointInfos = append(checkPointInfos, info.UnflushedSegments...)
|
||||
}
|
||||
err = w.node.streaming.replica.addExcludedSegments(collectionID, checkPointInfos)
|
||||
if err != nil {
|
||||
|
||||
@ -143,12 +143,13 @@ func (lct *LoadCollectionTask) Execute(ctx context.Context) error {
|
||||
partitionIDs := showPartitionResponse.PartitionIDs
|
||||
log.Debug("partitionIDs", zap.Int64s("partitionIDs", partitionIDs))
|
||||
for _, partitionID := range partitionIDs {
|
||||
getRecoveryInfoRequest := &querypb.GetRecoveryInfoRequest{
|
||||
getRecoveryInfoRequest := &datapb.GetRecoveryInfoRequest{
|
||||
Base: lct.Base,
|
||||
CollectionID: collectionID,
|
||||
PartitionID: partitionID,
|
||||
}
|
||||
recoveryInfo, err := mockGetRecoveryInfoFromDataService(lct.ctx, lct.masterService, lct.dataService, getRecoveryInfoRequest)
|
||||
//recoveryInfo, err := mockGetRecoveryInfoFromDataService(lct.ctx, lct.masterService, lct.dataService, getRecoveryInfoRequest)
|
||||
recoveryInfo, err := lct.dataService.GetRecoveryInfo(lct.ctx, getRecoveryInfoRequest)
|
||||
if err != nil {
|
||||
status.Reason = err.Error()
|
||||
lct.result = status
|
||||
@ -161,7 +162,7 @@ func (lct *LoadCollectionTask) Execute(ctx context.Context) error {
|
||||
SegmentID: segmentBingLog.SegmentID,
|
||||
PartitionID: partitionID,
|
||||
CollectionID: collectionID,
|
||||
BinlogPaths: make([]*querypb.FieldBinlog, 0),
|
||||
BinlogPaths: make([]*datapb.FieldBinlog, 0),
|
||||
}
|
||||
segmentLoadInfo.BinlogPaths = append(segmentLoadInfo.BinlogPaths, segmentBingLog.FieldBinlogs...)
|
||||
segmentsToLoad = append(segmentsToLoad, segmentID)
|
||||
@ -174,7 +175,7 @@ func (lct *LoadCollectionTask) Execute(ctx context.Context) error {
|
||||
watchRequest := &querypb.WatchDmChannelsRequest{
|
||||
Base: lct.Base,
|
||||
CollectionID: collectionID,
|
||||
Infos: []*querypb.VchannelInfo{info},
|
||||
Infos: []*datapb.VchannelInfo{info},
|
||||
Schema: lct.Schema,
|
||||
}
|
||||
watchRequests[channel] = watchRequest
|
||||
@ -183,7 +184,7 @@ func (lct *LoadCollectionTask) Execute(ctx context.Context) error {
|
||||
}
|
||||
oldInfo := watchRequests[channel].Infos[0]
|
||||
newInfo := mergeVChannelInfo(oldInfo, info)
|
||||
watchRequests[channel].Infos = []*querypb.VchannelInfo{newInfo}
|
||||
watchRequests[channel].Infos = []*datapb.VchannelInfo{newInfo}
|
||||
}
|
||||
}
|
||||
|
||||
@ -404,12 +405,13 @@ func (lpt *LoadPartitionTask) Execute(ctx context.Context) error {
|
||||
channelsToWatch := make([]string, 0)
|
||||
watchRequests := make([]*querypb.WatchDmChannelsRequest, 0)
|
||||
for _, partitionID := range partitionIDs {
|
||||
getRecoveryInfoRequest := &querypb.GetRecoveryInfoRequest{
|
||||
getRecoveryInfoRequest := &datapb.GetRecoveryInfoRequest{
|
||||
Base: lpt.Base,
|
||||
CollectionID: collectionID,
|
||||
PartitionID: partitionID,
|
||||
}
|
||||
recoveryInfo, err := mockGetRecoveryInfoFromDataService(lpt.ctx, lpt.masterService, lpt.dataService, getRecoveryInfoRequest)
|
||||
//recoveryInfo, err := mockGetRecoveryInfoFromDataService(lpt.ctx, lpt.masterService, lpt.dataService, getRecoveryInfoRequest)
|
||||
recoveryInfo, err := lpt.dataService.GetRecoveryInfo(lpt.ctx, getRecoveryInfoRequest)
|
||||
if err != nil {
|
||||
status.Reason = err.Error()
|
||||
lpt.result = status
|
||||
@ -422,7 +424,7 @@ func (lpt *LoadPartitionTask) Execute(ctx context.Context) error {
|
||||
SegmentID: segmentID,
|
||||
PartitionID: partitionID,
|
||||
CollectionID: collectionID,
|
||||
BinlogPaths: make([]*querypb.FieldBinlog, 0),
|
||||
BinlogPaths: make([]*datapb.FieldBinlog, 0),
|
||||
}
|
||||
segmentLoadInfo.BinlogPaths = append(segmentLoadInfo.BinlogPaths, segmentBingLog.FieldBinlogs...)
|
||||
segmentsToLoad = append(segmentsToLoad, segmentID)
|
||||
@ -435,7 +437,7 @@ func (lpt *LoadPartitionTask) Execute(ctx context.Context) error {
|
||||
Base: lpt.Base,
|
||||
CollectionID: collectionID,
|
||||
PartitionID: partitionID,
|
||||
Infos: []*querypb.VchannelInfo{info},
|
||||
Infos: []*datapb.VchannelInfo{info},
|
||||
Schema: lpt.Schema,
|
||||
}
|
||||
channelsToWatch = append(channelsToWatch, channel)
|
||||
@ -777,6 +779,7 @@ func (aqt *WatchQueryChannelTask) Execute(ctx context.Context) error {
|
||||
zap.String("queryResultChannel", aqt.ResultChannelID))
|
||||
return nil
|
||||
}
|
||||
|
||||
func (aqt *WatchQueryChannelTask) PostExecute(ctx context.Context) error {
|
||||
log.Debug("WatchQueryChannelTask postExecute done",
|
||||
zap.Int64("collectionID", aqt.CollectionID),
|
||||
@ -788,7 +791,7 @@ func (aqt *WatchQueryChannelTask) PostExecute(ctx context.Context) error {
|
||||
func mockGetRecoveryInfoFromDataService(ctx context.Context,
|
||||
master types.MasterService,
|
||||
dataService types.DataService,
|
||||
req *querypb.GetRecoveryInfoRequest) (*querypb.GetRecoveryInfoResponse, error) {
|
||||
req *datapb.GetRecoveryInfoRequest) (*datapb.GetRecoveryInfoResponse, error) {
|
||||
segmentIDs := make([]UniqueID, 0)
|
||||
showSegmentRequest := &milvuspb.ShowSegmentsRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
@ -827,17 +830,17 @@ func mockGetRecoveryInfoFromDataService(ctx context.Context,
|
||||
channel2Segments[channelName] = append(channel2Segments[channelName], segmentID)
|
||||
}
|
||||
}
|
||||
channelInfos := make([]*querypb.VchannelInfo, 0)
|
||||
segmentBinlogs := make([]*querypb.SegmentBinlogs, 0)
|
||||
channelInfos := make([]*datapb.VchannelInfo, 0)
|
||||
segmentBinlogs := make([]*datapb.SegmentBinlogs, 0)
|
||||
for channel, segmentIDs := range channel2Segments {
|
||||
channelInfo := &querypb.VchannelInfo{
|
||||
channelInfo := &datapb.VchannelInfo{
|
||||
CollectionID: req.CollectionID,
|
||||
ChannelName: channel,
|
||||
SeekPosition: &internalpb.MsgPosition{
|
||||
ChannelName: channel,
|
||||
},
|
||||
CheckPoints: make([]*querypb.CheckPoint, 0),
|
||||
FlushedSegments: make([]UniqueID, 0),
|
||||
UnflushedSegments: make([]*datapb.SegmentInfo, 0),
|
||||
FlushedSegments: make([]UniqueID, 0),
|
||||
}
|
||||
sort.Slice(segmentIDs, func(i, j int) bool {
|
||||
return segmentIDs[i] < segmentIDs[j]
|
||||
@ -849,22 +852,22 @@ func mockGetRecoveryInfoFromDataService(ctx context.Context,
|
||||
continue
|
||||
}
|
||||
if segmentStates[id].StartPosition != nil {
|
||||
checkpoint := &querypb.CheckPoint{
|
||||
SegmentID: id,
|
||||
Position: segmentStates[id].StartPosition,
|
||||
checkpoint := &datapb.SegmentInfo{
|
||||
ID: id,
|
||||
DmlPosition: segmentStates[id].StartPosition,
|
||||
}
|
||||
channelInfo.CheckPoints = append(channelInfo.CheckPoints, checkpoint)
|
||||
if checkpoint.Position.Timestamp < channelInfo.SeekPosition.Timestamp || channelInfo.SeekPosition.Timestamp == 0 {
|
||||
channelInfo.SeekPosition = checkpoint.Position
|
||||
channelInfo.UnflushedSegments = append(channelInfo.UnflushedSegments, checkpoint)
|
||||
if checkpoint.DmlPosition.Timestamp < channelInfo.SeekPosition.Timestamp || channelInfo.SeekPosition.Timestamp == 0 {
|
||||
channelInfo.SeekPosition = checkpoint.DmlPosition
|
||||
}
|
||||
}
|
||||
}
|
||||
channelInfos = append(channelInfos, channelInfo)
|
||||
|
||||
for _, id := range channelInfo.FlushedSegments {
|
||||
segmentBinlog := &querypb.SegmentBinlogs{
|
||||
segmentBinlog := &datapb.SegmentBinlogs{
|
||||
SegmentID: id,
|
||||
FieldBinlogs: make([]*querypb.FieldBinlog, 0),
|
||||
FieldBinlogs: make([]*datapb.FieldBinlog, 0),
|
||||
}
|
||||
insertBinlogPathRequest := &datapb.GetInsertBinlogPathsRequest{
|
||||
SegmentID: id,
|
||||
@ -882,7 +885,7 @@ func mockGetRecoveryInfoFromDataService(ctx context.Context,
|
||||
if len(pathResponse.Paths[index].Values) == 0 {
|
||||
continue
|
||||
}
|
||||
fieldBingLog := &querypb.FieldBinlog{
|
||||
fieldBingLog := &datapb.FieldBinlog{
|
||||
FieldID: fieldID,
|
||||
Binlogs: pathResponse.Paths[index].Values,
|
||||
}
|
||||
@ -911,7 +914,7 @@ func mockGetRecoveryInfoFromDataService(ctx context.Context,
|
||||
return nil, err
|
||||
}
|
||||
for _, channel := range desColRsp.VirtualChannelNames {
|
||||
channelInfo := &querypb.VchannelInfo{
|
||||
channelInfo := &datapb.VchannelInfo{
|
||||
CollectionID: req.CollectionID,
|
||||
ChannelName: channel,
|
||||
}
|
||||
@ -919,8 +922,10 @@ func mockGetRecoveryInfoFromDataService(ctx context.Context,
|
||||
}
|
||||
}
|
||||
|
||||
return &querypb.GetRecoveryInfoResponse{
|
||||
Base: req.Base,
|
||||
return &datapb.GetRecoveryInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_Success,
|
||||
},
|
||||
Channels: channelInfos,
|
||||
Binlogs: segmentBinlogs,
|
||||
}, nil
|
||||
@ -1015,28 +1020,35 @@ func shuffleSegmentsToQueryNode(segmentIDs []UniqueID, cluster *queryNodeCluster
|
||||
}
|
||||
}
|
||||
|
||||
func mergeVChannelInfo(info1 *querypb.VchannelInfo, info2 *querypb.VchannelInfo) *querypb.VchannelInfo {
|
||||
func mergeVChannelInfo(info1 *datapb.VchannelInfo, info2 *datapb.VchannelInfo) *datapb.VchannelInfo {
|
||||
collectionID := info1.CollectionID
|
||||
channelName := info1.ChannelName
|
||||
seekPosition := info1.SeekPosition
|
||||
if info1.SeekPosition.Timestamp > info2.SeekPosition.Timestamp {
|
||||
seekPosition = info2.SeekPosition
|
||||
var seekPosition *internalpb.MsgPosition
|
||||
if info1.SeekPosition == nil || info2.SeekPosition == nil {
|
||||
seekPosition = &internalpb.MsgPosition{
|
||||
ChannelName: channelName,
|
||||
}
|
||||
} else {
|
||||
seekPosition = info1.SeekPosition
|
||||
if info1.SeekPosition.Timestamp > info2.SeekPosition.Timestamp {
|
||||
seekPosition = info2.SeekPosition
|
||||
}
|
||||
}
|
||||
|
||||
checkPoints := make([]*querypb.CheckPoint, 0)
|
||||
checkPoints = append(checkPoints, info1.CheckPoints...)
|
||||
checkPoints = append(checkPoints, info2.CheckPoints...)
|
||||
checkPoints := make([]*datapb.SegmentInfo, 0)
|
||||
checkPoints = append(checkPoints, info1.UnflushedSegments...)
|
||||
checkPoints = append(checkPoints, info2.UnflushedSegments...)
|
||||
|
||||
flushedSegments := make([]UniqueID, 0)
|
||||
flushedSegments = append(flushedSegments, info1.FlushedSegments...)
|
||||
flushedSegments = append(flushedSegments, info2.FlushedSegments...)
|
||||
|
||||
return &querypb.VchannelInfo{
|
||||
CollectionID: collectionID,
|
||||
ChannelName: channelName,
|
||||
SeekPosition: seekPosition,
|
||||
CheckPoints: checkPoints,
|
||||
FlushedSegments: flushedSegments,
|
||||
return &datapb.VchannelInfo{
|
||||
CollectionID: collectionID,
|
||||
ChannelName: channelName,
|
||||
SeekPosition: seekPosition,
|
||||
UnflushedSegments: checkPoints,
|
||||
FlushedSegments: flushedSegments,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user