Fix GetSegmentStates

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/4973/head^2
zhenshan.cao 2021-02-02 10:58:39 +08:00 committed by yefu.chen
parent 5de89422ed
commit 3afa7dd50d
13 changed files with 487 additions and 332 deletions

View File

@ -132,7 +132,7 @@ func (ddNode *ddNode) Operate(in []*Msg) []*Msg {
} }
default: default:
log.Println(". default: do nothing ...") //log.Println(". default: do nothing ...")
} }
// generate binlog // generate binlog

View File

@ -623,18 +623,28 @@ func (s *Server) GetSegmentStates(req *datapb.SegmentStatesRequest) (*datapb.Seg
return resp, nil return resp, nil
} }
segmentInfo, err := s.meta.GetSegment(req.SegmentID) for _, segmentID := range req.SegmentIDs {
if err != nil { state := &datapb.SegmentStateInfo{
resp.Status.Reason = "get segment states error: " + err.Error() Status: &commonpb.Status{},
return resp, nil SegmentID: segmentID,
}
segmentInfo, err := s.meta.GetSegment(segmentID)
if err != nil {
state.Status.ErrorCode = commonpb.ErrorCode_UNEXPECTED_ERROR
state.Status.Reason = "get segment states error: " + err.Error()
} else {
state.Status.ErrorCode = commonpb.ErrorCode_SUCCESS
state.State = segmentInfo.State
state.CreateTime = segmentInfo.OpenTime
state.SealedTime = segmentInfo.SealedTime
state.FlushedTime = segmentInfo.FlushedTime
state.StartPositions = segmentInfo.StartPosition
state.EndPositions = segmentInfo.EndPosition
}
resp.States = append(resp.States, state)
} }
resp.Status.ErrorCode = commonpb.ErrorCode_SUCCESS resp.Status.ErrorCode = commonpb.ErrorCode_SUCCESS
resp.State = segmentInfo.State
resp.CreateTime = segmentInfo.OpenTime
resp.SealedTime = segmentInfo.SealedTime
resp.FlushedTime = segmentInfo.FlushedTime
resp.StartPositions = segmentInfo.StartPosition
resp.EndPositions = segmentInfo.EndPosition
return resp, nil return resp, nil
} }

View File

@ -1271,7 +1271,7 @@ func (c *Core) AllocTimestamp(in *masterpb.TsoRequest) (*masterpb.TsoResponse, e
Count: 0, Count: 0,
}, nil }, nil
} }
log.Printf("AllocTimestamp : %d", ts) // log.Printf("AllocTimestamp : %d", ts)
return &masterpb.TsoResponse{ return &masterpb.TsoResponse{
Status: &commonpb.Status{ Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_SUCCESS, ErrorCode: commonpb.ErrorCode_SUCCESS,

View File

@ -82,17 +82,23 @@ enum SegmentState {
message SegmentStatesRequest { message SegmentStatesRequest {
common.MsgBase base = 1; common.MsgBase base = 1;
int64 segmentID = 2; repeated int64 segmentIDs = 2;
}
message SegmentStateInfo {
int64 segmentID = 1;
SegmentState state = 2;
uint64 create_time = 3;
uint64 sealed_time = 4;
uint64 flushed_time = 5;
repeated internal.MsgPosition start_positions = 6;
repeated internal.MsgPosition end_positions = 7;
common.Status status = 8;
} }
message SegmentStatesResponse { message SegmentStatesResponse {
SegmentState state = 1; common.Status status = 1;
uint64 create_time = 2; repeated SegmentStateInfo states = 2;
uint64 sealed_time = 3;
uint64 flushed_time = 4;
repeated internal.MsgPosition start_positions = 5;
repeated internal.MsgPosition end_positions = 6;
common.Status status = 7;
} }
message InsertBinlogPathRequest { message InsertBinlogPathRequest {
@ -128,15 +134,15 @@ message FlushSegRequest {
} }
message SegmentInfo { message SegmentInfo {
int64 segmentID=1; int64 segmentID = 1;
int64 collectionID =2; int64 collectionID = 2;
int64 partitionID=3; int64 partitionID = 3;
repeated string insert_channels = 4; repeated string insert_channels = 4;
uint64 open_time=5; uint64 open_time = 5;
uint64 sealed_time = 6; uint64 sealed_time = 6;
uint64 flushed_time = 7; uint64 flushed_time = 7;
int64 num_rows=8; int64 num_rows = 8;
int64 mem_size=9; int64 mem_size = 9;
SegmentState state = 10; SegmentState state = 10;
repeated internal.MsgPosition start_position = 11; repeated internal.MsgPosition start_position = 11;
repeated internal.MsgPosition end_position = 12; repeated internal.MsgPosition end_position = 12;
@ -171,41 +177,41 @@ message PartitionStatsResponse {
} }
message FieldFlushMeta { message FieldFlushMeta {
int64 fieldID = 1; int64 fieldID = 1;
repeated string binlog_paths = 2; repeated string binlog_paths = 2;
} }
message SegmentFlushMeta{ message SegmentFlushMeta{
int64 segmentID = 1; int64 segmentID = 1;
bool is_flushed = 2; bool is_flushed = 2;
repeated FieldFlushMeta fields = 5; repeated FieldFlushMeta fields = 5;
} }
message DDLFlushMeta { message DDLFlushMeta {
int64 collectionID = 1; int64 collectionID = 1;
repeated string binlog_paths = 2; repeated string binlog_paths = 2;
} }
service DataService { service DataService {
rpc RegisterNode(RegisterNodeRequest) returns (RegisterNodeResponse) {} rpc RegisterNode(RegisterNodeRequest) returns (RegisterNodeResponse) {}
rpc Flush(FlushRequest) returns (common.Status) {} rpc Flush(FlushRequest) returns (common.Status) {}
rpc AssignSegmentID(AssignSegIDRequest) returns (AssignSegIDResponse) {} rpc AssignSegmentID(AssignSegIDRequest) returns (AssignSegIDResponse) {}
rpc ShowSegments(ShowSegmentRequest) returns (ShowSegmentResponse) {} rpc ShowSegments(ShowSegmentRequest) returns (ShowSegmentResponse) {}
rpc GetSegmentStates(SegmentStatesRequest) returns (SegmentStatesResponse) {} rpc GetSegmentStates(SegmentStatesRequest) returns (SegmentStatesResponse) {}
rpc GetInsertBinlogPaths(InsertBinlogPathRequest) returns (InsertBinlogPathsResponse) {} rpc GetInsertBinlogPaths(InsertBinlogPathRequest) returns (InsertBinlogPathsResponse) {}
rpc GetInsertChannels(InsertChannelRequest) returns (internal.StringList) {} rpc GetInsertChannels(InsertChannelRequest) returns (internal.StringList) {}
rpc GetCollectionStatistics(CollectionStatsRequest) returns (CollectionStatsResponse) {} rpc GetCollectionStatistics(CollectionStatsRequest) returns (CollectionStatsResponse) {}
rpc GetPartitionStatistics(PartitionStatsRequest) returns (PartitionStatsResponse) {} rpc GetPartitionStatistics(PartitionStatsRequest) returns (PartitionStatsResponse) {}
rpc GetComponentStates(common.Empty) returns (internal.ComponentStates) {} rpc GetComponentStates(common.Empty) returns (internal.ComponentStates) {}
rpc GetTimeTickChannel(common.Empty) returns(milvus.StringResponse) {} rpc GetTimeTickChannel(common.Empty) returns(milvus.StringResponse) {}
rpc GetStatisticsChannel(common.Empty) returns(milvus.StringResponse){} rpc GetStatisticsChannel(common.Empty) returns(milvus.StringResponse){}
rpc GetSegmentInfoChannel(common.Empty) returns (milvus.StringResponse){} rpc GetSegmentInfoChannel(common.Empty) returns (milvus.StringResponse){}
} }
service DataNode { service DataNode {

View File

@ -606,7 +606,7 @@ func (m *ShowSegmentResponse) GetStatus() *commonpb.Status {
type SegmentStatesRequest struct { type SegmentStatesRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"` SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
@ -644,31 +644,121 @@ func (m *SegmentStatesRequest) GetBase() *commonpb.MsgBase {
return nil return nil
} }
func (m *SegmentStatesRequest) GetSegmentID() int64 { func (m *SegmentStatesRequest) GetSegmentIDs() []int64 {
if m != nil {
return m.SegmentIDs
}
return nil
}
type SegmentStateInfo struct {
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
State SegmentState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.data.SegmentState" json:"state,omitempty"`
CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
SealedTime uint64 `protobuf:"varint,4,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"`
FlushedTime uint64 `protobuf:"varint,5,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"`
StartPositions []*internalpb2.MsgPosition `protobuf:"bytes,6,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"`
EndPositions []*internalpb2.MsgPosition `protobuf:"bytes,7,rep,name=end_positions,json=endPositions,proto3" json:"end_positions,omitempty"`
Status *commonpb.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentStateInfo) Reset() { *m = SegmentStateInfo{} }
func (m *SegmentStateInfo) String() string { return proto.CompactTextString(m) }
func (*SegmentStateInfo) ProtoMessage() {}
func (*SegmentStateInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{10}
}
func (m *SegmentStateInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SegmentStateInfo.Unmarshal(m, b)
}
func (m *SegmentStateInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SegmentStateInfo.Marshal(b, m, deterministic)
}
func (m *SegmentStateInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_SegmentStateInfo.Merge(m, src)
}
func (m *SegmentStateInfo) XXX_Size() int {
return xxx_messageInfo_SegmentStateInfo.Size(m)
}
func (m *SegmentStateInfo) XXX_DiscardUnknown() {
xxx_messageInfo_SegmentStateInfo.DiscardUnknown(m)
}
var xxx_messageInfo_SegmentStateInfo proto.InternalMessageInfo
func (m *SegmentStateInfo) GetSegmentID() int64 {
if m != nil { if m != nil {
return m.SegmentID return m.SegmentID
} }
return 0 return 0
} }
func (m *SegmentStateInfo) GetState() SegmentState {
if m != nil {
return m.State
}
return SegmentState_SegmentNone
}
func (m *SegmentStateInfo) GetCreateTime() uint64 {
if m != nil {
return m.CreateTime
}
return 0
}
func (m *SegmentStateInfo) GetSealedTime() uint64 {
if m != nil {
return m.SealedTime
}
return 0
}
func (m *SegmentStateInfo) GetFlushedTime() uint64 {
if m != nil {
return m.FlushedTime
}
return 0
}
func (m *SegmentStateInfo) GetStartPositions() []*internalpb2.MsgPosition {
if m != nil {
return m.StartPositions
}
return nil
}
func (m *SegmentStateInfo) GetEndPositions() []*internalpb2.MsgPosition {
if m != nil {
return m.EndPositions
}
return nil
}
func (m *SegmentStateInfo) GetStatus() *commonpb.Status {
if m != nil {
return m.Status
}
return nil
}
type SegmentStatesResponse struct { type SegmentStatesResponse struct {
State SegmentState `protobuf:"varint,1,opt,name=state,proto3,enum=milvus.proto.data.SegmentState" json:"state,omitempty"` Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
CreateTime uint64 `protobuf:"varint,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` States []*SegmentStateInfo `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"`
SealedTime uint64 `protobuf:"varint,3,opt,name=sealed_time,json=sealedTime,proto3" json:"sealed_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
FlushedTime uint64 `protobuf:"varint,4,opt,name=flushed_time,json=flushedTime,proto3" json:"flushed_time,omitempty"` XXX_unrecognized []byte `json:"-"`
StartPositions []*internalpb2.MsgPosition `protobuf:"bytes,5,rep,name=start_positions,json=startPositions,proto3" json:"start_positions,omitempty"` XXX_sizecache int32 `json:"-"`
EndPositions []*internalpb2.MsgPosition `protobuf:"bytes,6,rep,name=end_positions,json=endPositions,proto3" json:"end_positions,omitempty"`
Status *commonpb.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (m *SegmentStatesResponse) Reset() { *m = SegmentStatesResponse{} } func (m *SegmentStatesResponse) Reset() { *m = SegmentStatesResponse{} }
func (m *SegmentStatesResponse) String() string { return proto.CompactTextString(m) } func (m *SegmentStatesResponse) String() string { return proto.CompactTextString(m) }
func (*SegmentStatesResponse) ProtoMessage() {} func (*SegmentStatesResponse) ProtoMessage() {}
func (*SegmentStatesResponse) Descriptor() ([]byte, []int) { func (*SegmentStatesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{10} return fileDescriptor_3385cd32ad6cfe64, []int{11}
} }
func (m *SegmentStatesResponse) XXX_Unmarshal(b []byte) error { func (m *SegmentStatesResponse) XXX_Unmarshal(b []byte) error {
@ -689,48 +779,6 @@ func (m *SegmentStatesResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_SegmentStatesResponse proto.InternalMessageInfo var xxx_messageInfo_SegmentStatesResponse proto.InternalMessageInfo
func (m *SegmentStatesResponse) GetState() SegmentState {
if m != nil {
return m.State
}
return SegmentState_SegmentNone
}
func (m *SegmentStatesResponse) GetCreateTime() uint64 {
if m != nil {
return m.CreateTime
}
return 0
}
func (m *SegmentStatesResponse) GetSealedTime() uint64 {
if m != nil {
return m.SealedTime
}
return 0
}
func (m *SegmentStatesResponse) GetFlushedTime() uint64 {
if m != nil {
return m.FlushedTime
}
return 0
}
func (m *SegmentStatesResponse) GetStartPositions() []*internalpb2.MsgPosition {
if m != nil {
return m.StartPositions
}
return nil
}
func (m *SegmentStatesResponse) GetEndPositions() []*internalpb2.MsgPosition {
if m != nil {
return m.EndPositions
}
return nil
}
func (m *SegmentStatesResponse) GetStatus() *commonpb.Status { func (m *SegmentStatesResponse) GetStatus() *commonpb.Status {
if m != nil { if m != nil {
return m.Status return m.Status
@ -738,6 +786,13 @@ func (m *SegmentStatesResponse) GetStatus() *commonpb.Status {
return nil return nil
} }
func (m *SegmentStatesResponse) GetStates() []*SegmentStateInfo {
if m != nil {
return m.States
}
return nil
}
type InsertBinlogPathRequest struct { type InsertBinlogPathRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"` SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
@ -750,7 +805,7 @@ func (m *InsertBinlogPathRequest) Reset() { *m = InsertBinlogPathRequest
func (m *InsertBinlogPathRequest) String() string { return proto.CompactTextString(m) } func (m *InsertBinlogPathRequest) String() string { return proto.CompactTextString(m) }
func (*InsertBinlogPathRequest) ProtoMessage() {} func (*InsertBinlogPathRequest) ProtoMessage() {}
func (*InsertBinlogPathRequest) Descriptor() ([]byte, []int) { func (*InsertBinlogPathRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{11} return fileDescriptor_3385cd32ad6cfe64, []int{12}
} }
func (m *InsertBinlogPathRequest) XXX_Unmarshal(b []byte) error { func (m *InsertBinlogPathRequest) XXX_Unmarshal(b []byte) error {
@ -798,7 +853,7 @@ func (m *InsertBinlogPathsResponse) Reset() { *m = InsertBinlogPathsResp
func (m *InsertBinlogPathsResponse) String() string { return proto.CompactTextString(m) } func (m *InsertBinlogPathsResponse) String() string { return proto.CompactTextString(m) }
func (*InsertBinlogPathsResponse) ProtoMessage() {} func (*InsertBinlogPathsResponse) ProtoMessage() {}
func (*InsertBinlogPathsResponse) Descriptor() ([]byte, []int) { func (*InsertBinlogPathsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{12} return fileDescriptor_3385cd32ad6cfe64, []int{13}
} }
func (m *InsertBinlogPathsResponse) XXX_Unmarshal(b []byte) error { func (m *InsertBinlogPathsResponse) XXX_Unmarshal(b []byte) error {
@ -853,7 +908,7 @@ func (m *InsertChannelRequest) Reset() { *m = InsertChannelRequest{} }
func (m *InsertChannelRequest) String() string { return proto.CompactTextString(m) } func (m *InsertChannelRequest) String() string { return proto.CompactTextString(m) }
func (*InsertChannelRequest) ProtoMessage() {} func (*InsertChannelRequest) ProtoMessage() {}
func (*InsertChannelRequest) Descriptor() ([]byte, []int) { func (*InsertChannelRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{13} return fileDescriptor_3385cd32ad6cfe64, []int{14}
} }
func (m *InsertChannelRequest) XXX_Unmarshal(b []byte) error { func (m *InsertChannelRequest) XXX_Unmarshal(b []byte) error {
@ -907,7 +962,7 @@ func (m *WatchDmChannelRequest) Reset() { *m = WatchDmChannelRequest{} }
func (m *WatchDmChannelRequest) String() string { return proto.CompactTextString(m) } func (m *WatchDmChannelRequest) String() string { return proto.CompactTextString(m) }
func (*WatchDmChannelRequest) ProtoMessage() {} func (*WatchDmChannelRequest) ProtoMessage() {}
func (*WatchDmChannelRequest) Descriptor() ([]byte, []int) { func (*WatchDmChannelRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{14} return fileDescriptor_3385cd32ad6cfe64, []int{15}
} }
func (m *WatchDmChannelRequest) XXX_Unmarshal(b []byte) error { func (m *WatchDmChannelRequest) XXX_Unmarshal(b []byte) error {
@ -956,7 +1011,7 @@ func (m *FlushSegRequest) Reset() { *m = FlushSegRequest{} }
func (m *FlushSegRequest) String() string { return proto.CompactTextString(m) } func (m *FlushSegRequest) String() string { return proto.CompactTextString(m) }
func (*FlushSegRequest) ProtoMessage() {} func (*FlushSegRequest) ProtoMessage() {}
func (*FlushSegRequest) Descriptor() ([]byte, []int) { func (*FlushSegRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{15} return fileDescriptor_3385cd32ad6cfe64, []int{16}
} }
func (m *FlushSegRequest) XXX_Unmarshal(b []byte) error { func (m *FlushSegRequest) XXX_Unmarshal(b []byte) error {
@ -1027,7 +1082,7 @@ func (m *SegmentInfo) Reset() { *m = SegmentInfo{} }
func (m *SegmentInfo) String() string { return proto.CompactTextString(m) } func (m *SegmentInfo) String() string { return proto.CompactTextString(m) }
func (*SegmentInfo) ProtoMessage() {} func (*SegmentInfo) ProtoMessage() {}
func (*SegmentInfo) Descriptor() ([]byte, []int) { func (*SegmentInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{16} return fileDescriptor_3385cd32ad6cfe64, []int{17}
} }
func (m *SegmentInfo) XXX_Unmarshal(b []byte) error { func (m *SegmentInfo) XXX_Unmarshal(b []byte) error {
@ -1144,7 +1199,7 @@ func (m *SegmentMsg) Reset() { *m = SegmentMsg{} }
func (m *SegmentMsg) String() string { return proto.CompactTextString(m) } func (m *SegmentMsg) String() string { return proto.CompactTextString(m) }
func (*SegmentMsg) ProtoMessage() {} func (*SegmentMsg) ProtoMessage() {}
func (*SegmentMsg) Descriptor() ([]byte, []int) { func (*SegmentMsg) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{17} return fileDescriptor_3385cd32ad6cfe64, []int{18}
} }
func (m *SegmentMsg) XXX_Unmarshal(b []byte) error { func (m *SegmentMsg) XXX_Unmarshal(b []byte) error {
@ -1192,7 +1247,7 @@ func (m *CollectionStatsRequest) Reset() { *m = CollectionStatsRequest{}
func (m *CollectionStatsRequest) String() string { return proto.CompactTextString(m) } func (m *CollectionStatsRequest) String() string { return proto.CompactTextString(m) }
func (*CollectionStatsRequest) ProtoMessage() {} func (*CollectionStatsRequest) ProtoMessage() {}
func (*CollectionStatsRequest) Descriptor() ([]byte, []int) { func (*CollectionStatsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{18} return fileDescriptor_3385cd32ad6cfe64, []int{19}
} }
func (m *CollectionStatsRequest) XXX_Unmarshal(b []byte) error { func (m *CollectionStatsRequest) XXX_Unmarshal(b []byte) error {
@ -1246,7 +1301,7 @@ func (m *CollectionStatsResponse) Reset() { *m = CollectionStatsResponse
func (m *CollectionStatsResponse) String() string { return proto.CompactTextString(m) } func (m *CollectionStatsResponse) String() string { return proto.CompactTextString(m) }
func (*CollectionStatsResponse) ProtoMessage() {} func (*CollectionStatsResponse) ProtoMessage() {}
func (*CollectionStatsResponse) Descriptor() ([]byte, []int) { func (*CollectionStatsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{19} return fileDescriptor_3385cd32ad6cfe64, []int{20}
} }
func (m *CollectionStatsResponse) XXX_Unmarshal(b []byte) error { func (m *CollectionStatsResponse) XXX_Unmarshal(b []byte) error {
@ -1295,7 +1350,7 @@ func (m *PartitionStatsRequest) Reset() { *m = PartitionStatsRequest{} }
func (m *PartitionStatsRequest) String() string { return proto.CompactTextString(m) } func (m *PartitionStatsRequest) String() string { return proto.CompactTextString(m) }
func (*PartitionStatsRequest) ProtoMessage() {} func (*PartitionStatsRequest) ProtoMessage() {}
func (*PartitionStatsRequest) Descriptor() ([]byte, []int) { func (*PartitionStatsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{20} return fileDescriptor_3385cd32ad6cfe64, []int{21}
} }
func (m *PartitionStatsRequest) XXX_Unmarshal(b []byte) error { func (m *PartitionStatsRequest) XXX_Unmarshal(b []byte) error {
@ -1356,7 +1411,7 @@ func (m *PartitionStatsResponse) Reset() { *m = PartitionStatsResponse{}
func (m *PartitionStatsResponse) String() string { return proto.CompactTextString(m) } func (m *PartitionStatsResponse) String() string { return proto.CompactTextString(m) }
func (*PartitionStatsResponse) ProtoMessage() {} func (*PartitionStatsResponse) ProtoMessage() {}
func (*PartitionStatsResponse) Descriptor() ([]byte, []int) { func (*PartitionStatsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{21} return fileDescriptor_3385cd32ad6cfe64, []int{22}
} }
func (m *PartitionStatsResponse) XXX_Unmarshal(b []byte) error { func (m *PartitionStatsResponse) XXX_Unmarshal(b []byte) error {
@ -1403,7 +1458,7 @@ func (m *FieldFlushMeta) Reset() { *m = FieldFlushMeta{} }
func (m *FieldFlushMeta) String() string { return proto.CompactTextString(m) } func (m *FieldFlushMeta) String() string { return proto.CompactTextString(m) }
func (*FieldFlushMeta) ProtoMessage() {} func (*FieldFlushMeta) ProtoMessage() {}
func (*FieldFlushMeta) Descriptor() ([]byte, []int) { func (*FieldFlushMeta) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{22} return fileDescriptor_3385cd32ad6cfe64, []int{23}
} }
func (m *FieldFlushMeta) XXX_Unmarshal(b []byte) error { func (m *FieldFlushMeta) XXX_Unmarshal(b []byte) error {
@ -1451,7 +1506,7 @@ func (m *SegmentFlushMeta) Reset() { *m = SegmentFlushMeta{} }
func (m *SegmentFlushMeta) String() string { return proto.CompactTextString(m) } func (m *SegmentFlushMeta) String() string { return proto.CompactTextString(m) }
func (*SegmentFlushMeta) ProtoMessage() {} func (*SegmentFlushMeta) ProtoMessage() {}
func (*SegmentFlushMeta) Descriptor() ([]byte, []int) { func (*SegmentFlushMeta) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{23} return fileDescriptor_3385cd32ad6cfe64, []int{24}
} }
func (m *SegmentFlushMeta) XXX_Unmarshal(b []byte) error { func (m *SegmentFlushMeta) XXX_Unmarshal(b []byte) error {
@ -1505,7 +1560,7 @@ func (m *DDLFlushMeta) Reset() { *m = DDLFlushMeta{} }
func (m *DDLFlushMeta) String() string { return proto.CompactTextString(m) } func (m *DDLFlushMeta) String() string { return proto.CompactTextString(m) }
func (*DDLFlushMeta) ProtoMessage() {} func (*DDLFlushMeta) ProtoMessage() {}
func (*DDLFlushMeta) Descriptor() ([]byte, []int) { func (*DDLFlushMeta) Descriptor() ([]byte, []int) {
return fileDescriptor_3385cd32ad6cfe64, []int{24} return fileDescriptor_3385cd32ad6cfe64, []int{25}
} }
func (m *DDLFlushMeta) XXX_Unmarshal(b []byte) error { func (m *DDLFlushMeta) XXX_Unmarshal(b []byte) error {
@ -1552,6 +1607,7 @@ func init() {
proto.RegisterType((*ShowSegmentRequest)(nil), "milvus.proto.data.ShowSegmentRequest") proto.RegisterType((*ShowSegmentRequest)(nil), "milvus.proto.data.ShowSegmentRequest")
proto.RegisterType((*ShowSegmentResponse)(nil), "milvus.proto.data.ShowSegmentResponse") proto.RegisterType((*ShowSegmentResponse)(nil), "milvus.proto.data.ShowSegmentResponse")
proto.RegisterType((*SegmentStatesRequest)(nil), "milvus.proto.data.SegmentStatesRequest") proto.RegisterType((*SegmentStatesRequest)(nil), "milvus.proto.data.SegmentStatesRequest")
proto.RegisterType((*SegmentStateInfo)(nil), "milvus.proto.data.SegmentStateInfo")
proto.RegisterType((*SegmentStatesResponse)(nil), "milvus.proto.data.SegmentStatesResponse") proto.RegisterType((*SegmentStatesResponse)(nil), "milvus.proto.data.SegmentStatesResponse")
proto.RegisterType((*InsertBinlogPathRequest)(nil), "milvus.proto.data.InsertBinlogPathRequest") proto.RegisterType((*InsertBinlogPathRequest)(nil), "milvus.proto.data.InsertBinlogPathRequest")
proto.RegisterType((*InsertBinlogPathsResponse)(nil), "milvus.proto.data.InsertBinlogPathsResponse") proto.RegisterType((*InsertBinlogPathsResponse)(nil), "milvus.proto.data.InsertBinlogPathsResponse")
@ -1572,105 +1628,107 @@ func init() {
func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) } func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) }
var fileDescriptor_3385cd32ad6cfe64 = []byte{ var fileDescriptor_3385cd32ad6cfe64 = []byte{
// 1560 bytes of a gzipped FileDescriptorProto // 1596 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4f, 0x6f, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5d, 0x6f, 0x1b, 0xc5,
0x14, 0xcf, 0x7a, 0xed, 0xc4, 0x7e, 0x76, 0x1c, 0x77, 0xf2, 0xa7, 0xae, 0x5b, 0xda, 0x64, 0x51, 0x1a, 0xce, 0x66, 0xed, 0xd8, 0x7e, 0xed, 0x38, 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 0x35, 0xea, 0xb2, 0x64, 0x3a, 0x8e, 0x49, 0xa6, 0x2b, 0xc4, 0x11, 0x2c, 0x29, 0x3b, 0xfe, 0x1f,
0x10, 0x36, 0x7d, 0x3c, 0x6e, 0x40, 0x2e, 0x70, 0x46, 0x05, 0x23, 0x14, 0x18, 0x7f, 0xa7, 0x60, 0x84, 0x4d, 0x9f, 0x8f, 0xa4, 0x7b, 0xb3, 0xc3, 0xee, 0x19, 0x3f, 0xea, 0x50, 0x89, 0x9b, 0x6a,
0x79, 0xc0, 0x90, 0x3a, 0xd6, 0xfb, 0x90, 0xf1, 0x7c, 0x91, 0xa6, 0x8a, 0xa3, 0x88, 0x22, 0xd8, 0x38, 0xcf, 0x5d, 0x74, 0x0d, 0x0a, 0x21, 0x44, 0x8d, 0x75, 0x24, 0x40, 0xff, 0x87, 0xac, 0xef,
0x88, 0x25, 0xda, 0x6b, 0xbc, 0x96, 0x4b, 0x4c, 0xae, 0x1a, 0x2f, 0x25, 0x1b, 0x4f, 0x8a, 0x44, 0xa6, 0x1c, 0xea, 0xf2, 0x59, 0x1c, 0x12, 0x6a, 0xc4, 0x12, 0xed, 0xcf, 0x64, 0xc7, 0x23, 0x26,
0xe3, 0xdd, 0x82, 0x3c, 0x23, 0x66, 0x97, 0xb4, 0x25, 0x40, 0x97, 0x00, 0x29, 0x12, 0x80, 0x35, 0x57, 0x33, 0xa9, 0xcb, 0x99, 0x94, 0x22, 0x31, 0x93, 0x37, 0xa0, 0xc8, 0x88, 0x69, 0x91, 0xae,
0x28, 0x1c, 0x7b, 0x35, 0xe8, 0x23, 0xd2, 0x02, 0x91, 0x57, 0x32, 0x01, 0x79, 0x02, 0x0b, 0x8c, 0x04, 0x64, 0x24, 0x40, 0x8a, 0x04, 0xe0, 0x26, 0x94, 0x9e, 0xfb, 0xed, 0x19, 0x20, 0xb2, 0x02,
0x9b, 0x2e, 0x6f, 0xf4, 0x1c, 0x26, 0x32, 0xc6, 0xca, 0x99, 0xa4, 0x56,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, 0x27, 0xad, 0x93, 0x2d, 0x4c, 0xfc, 0x21, 0x2c, 0x24, 0x1f, 0x38, 0xe9, 0xed, 0x93, 0xfa, 0x08, 0x1a, 0x47, 0x8d, 0x18,
0xb9, 0xeb, 0xdd, 0x36, 0x65, 0xdc, 0xa5, 0xcd, 0x3e, 0x27, 0xed, 0x2d, 0xff, 0xd8, 0x5b, 0x42, 0xe6, 0x83, 0xc7, 0x8c, 0xe4, 0x2d, 0xe3, 0x2c, 0xae, 0x8d, 0x9e, 0x3b, 0x63, 0x74, 0x6e, 0x7f,
0xd5, 0x96, 0x67, 0xae, 0xd7, 0x6c, 0xce, 0x8a, 0xd5, 0xfd, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x78, 0xf8, 0x41, 0x8f, 0xf2, 0xa3, 0x41, 0xdb, 0xff, 0x67, 0xf3, 0x94, 0x5a, 0x16, 0x3d, 0xe5,
0x47, 0xde, 0x61, 0x7b, 0x8e, 0x17, 0x00, 0x00, 0xa4, 0x73, 0xb4, 0x29, 0x77, 0xfd, 0xb7, 0x4b, 0x19, 0xf7, 0x68, 0x7b, 0xc0, 0x49, 0x77, 0x33,
0x08, 0x7b, 0x53, 0xa8, 0xda, 0xf4, 0xcd, 0xf5, 0xdb, 0xed, 0x39, 0xb1, 0xba, 0xf7, 0x57, 0x00,
0x00, 0x00, 0xff, 0xff, 0x3e, 0xe9, 0x0b, 0x5c, 0x35, 0x18, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View File

@ -124,7 +124,7 @@ message LoadSegmentRequest {
int64 partitionID = 4; int64 partitionID = 4;
repeated int64 segmentIDs = 5; repeated int64 segmentIDs = 5;
repeated int64 fieldIDs = 6; repeated int64 fieldIDs = 6;
data.SegmentStatesResponse last_segment_state = 7; data.SegmentStateInfo last_segment_state = 7;
} }
message ReleaseSegmentRequest { message ReleaseSegmentRequest {
@ -152,7 +152,7 @@ service QueryService {
rpc LoadCollection(LoadCollectionRequest) returns (common.Status) {} rpc LoadCollection(LoadCollectionRequest) returns (common.Status) {}
rpc ReleaseCollection(ReleaseCollectionRequest) returns (common.Status) {} rpc ReleaseCollection(ReleaseCollectionRequest) returns (common.Status) {}
rpc CreateQueryChannel(common.Empty ) returns (CreateQueryChannelResponse) {} rpc CreateQueryChannel(common.Empty) returns (CreateQueryChannelResponse) {}
rpc GetTimeTickChannel(common.Empty) returns (milvus.StringResponse) {} rpc GetTimeTickChannel(common.Empty) returns (milvus.StringResponse) {}
rpc GetStatisticsChannel(common.Empty) returns (milvus.StringResponse) {} rpc GetStatisticsChannel(common.Empty) returns (milvus.StringResponse) {}
rpc GetPartitionStates(PartitionStatesRequest) returns (PartitionStatesResponse) {} rpc GetPartitionStates(PartitionStatesRequest) returns (PartitionStatesResponse) {}

View File

@ -972,16 +972,16 @@ func (m *WatchDmChannelsRequest) GetChannelIDs() []string {
} }
type LoadSegmentRequest struct { type LoadSegmentRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"` DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,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"` PartitionID int64 `protobuf:"varint,4,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
SegmentIDs []int64 `protobuf:"varint,5,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"` SegmentIDs []int64 `protobuf:"varint,5,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
FieldIDs []int64 `protobuf:"varint,6,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"` FieldIDs []int64 `protobuf:"varint,6,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
LastSegmentState *datapb.SegmentStatesResponse `protobuf:"bytes,7,opt,name=last_segment_state,json=lastSegmentState,proto3" json:"last_segment_state,omitempty"` LastSegmentState *datapb.SegmentStateInfo `protobuf:"bytes,7,opt,name=last_segment_state,json=lastSegmentState,proto3" json:"last_segment_state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
} }
func (m *LoadSegmentRequest) Reset() { *m = LoadSegmentRequest{} } func (m *LoadSegmentRequest) Reset() { *m = LoadSegmentRequest{} }
@ -1051,7 +1051,7 @@ func (m *LoadSegmentRequest) GetFieldIDs() []int64 {
return nil return nil
} }
func (m *LoadSegmentRequest) GetLastSegmentState() *datapb.SegmentStatesResponse { func (m *LoadSegmentRequest) GetLastSegmentState() *datapb.SegmentStateInfo {
if m != nil { if m != nil {
return m.LastSegmentState return m.LastSegmentState
} }
@ -1211,81 +1211,81 @@ func init() {
func init() { proto.RegisterFile("query_service.proto", fileDescriptor_5fcb6756dc1afb8d) } func init() { proto.RegisterFile("query_service.proto", fileDescriptor_5fcb6756dc1afb8d) }
var fileDescriptor_5fcb6756dc1afb8d = []byte{ var fileDescriptor_5fcb6756dc1afb8d = []byte{
// 1174 bytes of a gzipped FileDescriptorProto // 1177 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xdd, 0x6e, 0x1b, 0x45, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xdd, 0x6e, 0x1b, 0x45,
0x14, 0xf6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 0x38, 0xf4, 0x94, 0x13, 0xab, 0xb3, 0x11, 0x79, 0x3e, 0xeb, 0x51, 0xde, 0x1f, 0x76, 0xfd, 0x3f, 0xf5, 0x53, 0x6a, 0x59, 0xf4, 0x94, 0x13, 0xa3,
0xbd, 0x6f, 0x53, 0xc6, 0x03, 0xda, 0xea, 0x71, 0x62, 0x6f, 0xf4, 0x8f, 0xce, 0x86, 0x08, 0xb5, 0x5f, 0x0f, 0xbc, 0x3e, 0x34, 0x29, 0xe3, 0x1e, 0xed, 0x0e, 0x39, 0x31, 0xeb, 0xa3, 0xa3, 0x53,
0x21, 0x50, 0xbb, 0xad, 0xd6, 0x8c, 0x18, 0xde, 0xfb, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x16, 0x17, 0xa1, 0xea, 0x02, 0x75, 0xd0, 0xed, 0x16, 0xc4, 0xf0, 0xee, 0x7f, 0x01, 0x00, 0x00, 0xff,
0x3b, 0xb4, 0x0b, 0x15, 0x00, 0x00, 0xff, 0x69, 0xea, 0xe4, 0xad, 0x06, 0x15, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

View File

@ -80,7 +80,6 @@ func (node *NodeImpl) DropCollection(request *milvuspb.DropCollectionRequest) (*
Condition: NewTaskCondition(ctx), Condition: NewTaskCondition(ctx),
DropCollectionRequest: request, DropCollectionRequest: request,
masterClient: node.masterClient, masterClient: node.masterClient,
dataServiceClient: node.dataServiceClient,
} }
var cancel func() var cancel func()
dct.ctx, cancel = context.WithTimeout(ctx, reqTimeoutInterval) dct.ctx, cancel = context.WithTimeout(ctx, reqTimeoutInterval)

View File

@ -47,6 +47,7 @@ type QueryServiceClient interface {
type DataServiceClient interface { type DataServiceClient interface {
AssignSegmentID(req *datapb.AssignSegIDRequest) (*datapb.AssignSegIDResponse, error) AssignSegmentID(req *datapb.AssignSegIDRequest) (*datapb.AssignSegIDResponse, error)
GetInsertChannels(req *datapb.InsertChannelRequest) ([]string, error) GetInsertChannels(req *datapb.InsertChannelRequest) ([]string, error)
Flush(req *datapb.FlushRequest) (*commonpb.Status, error)
GetComponentStates() (*internalpb2.ComponentStates, error) GetComponentStates() (*internalpb2.ComponentStates, error)
} }

View File

@ -364,10 +364,9 @@ func (cct *CreateCollectionTask) PostExecute() error {
type DropCollectionTask struct { type DropCollectionTask struct {
Condition Condition
*milvuspb.DropCollectionRequest *milvuspb.DropCollectionRequest
masterClient MasterClient masterClient MasterClient
dataServiceClient DataServiceClient result *commonpb.Status
result *commonpb.Status ctx context.Context
ctx context.Context
} }
func (dct *DropCollectionTask) OnEnqueue() error { func (dct *DropCollectionTask) OnEnqueue() error {
@ -1376,3 +1375,70 @@ func (dipt *GetIndexStateTask) Execute() error {
func (dipt *GetIndexStateTask) PostExecute() error { func (dipt *GetIndexStateTask) PostExecute() error {
return nil return nil
} }
type FlushTask struct {
Condition
*milvuspb.FlushRequest
dataServiceClient DataServiceClient
result *commonpb.Status
ctx context.Context
}
func (ft *FlushTask) OnEnqueue() error {
ft.Base = &commonpb.MsgBase{}
return nil
}
func (ft *FlushTask) ID() UniqueID {
return ft.Base.MsgID
}
func (ft *FlushTask) SetID(uid UniqueID) {
ft.Base.MsgID = uid
}
func (ft *FlushTask) Type() commonpb.MsgType {
return ft.Base.MsgType
}
func (ft *FlushTask) BeginTs() Timestamp {
return ft.Base.Timestamp
}
func (ft *FlushTask) EndTs() Timestamp {
return ft.Base.Timestamp
}
func (ft *FlushTask) SetTs(ts Timestamp) {
ft.Base.Timestamp = ts
}
func (ft *FlushTask) PreExecute() error {
ft.Base.MsgType = commonpb.MsgType_kFlush
ft.Base.SourceID = Params.ProxyID
return nil
}
func (ft *FlushTask) Execute() error {
var err error
collID, err := globalMetaCache.GetCollectionID(ft.CollectionName)
if err != nil {
return err
}
flushReq := &datapb.FlushRequest{
Base: &commonpb.MsgBase{
MsgType: commonpb.MsgType_kFlush,
MsgID: ft.Base.MsgID,
Timestamp: ft.Base.Timestamp,
SourceID: ft.Base.SourceID,
},
DbID: 0,
CollectionID: collID,
}
ft.result, err = ft.dataServiceClient.Flush(flushReq)
return err
}
func (ft *FlushTask) PostExecute() error {
return nil
}

View File

@ -67,7 +67,7 @@ func (ttBarrier *softTimeTickBarrier) GetTimeTick() (Timestamp, error) {
} }
} }
atomic.StoreInt64(&(ttBarrier.lastTt), int64(ts)) atomic.StoreInt64(&(ttBarrier.lastTt), int64(ts))
log.Println("current tick: ", ts) // log.Println("current tick: ", ts)
return ts, ttBarrier.ctx.Err() return ts, ttBarrier.ctx.Err()
} }
} }
@ -95,8 +95,8 @@ func (ttBarrier *softTimeTickBarrier) Start() error {
log.Printf("[softTimeTickBarrier] Warning: peerID %d not exist\n", ttmsg.Base.SourceID) log.Printf("[softTimeTickBarrier] Warning: peerID %d not exist\n", ttmsg.Base.SourceID)
continue continue
} }
log.Println("ttmsg.Base.Timestamp: ", ttmsg.Base.Timestamp) // log.Println("ttmsg.Base.Timestamp: ", ttmsg.Base.Timestamp)
log.Println("oldT: ", oldT) // log.Println("oldT: ", oldT)
if ttmsg.Base.Timestamp > oldT { if ttmsg.Base.Timestamp > oldT {
ttBarrier.peer2LastTt[ttmsg.Base.SourceID] = ttmsg.Base.Timestamp ttBarrier.peer2LastTt[ttmsg.Base.SourceID] = ttmsg.Base.Timestamp

View File

@ -269,19 +269,22 @@ func (qs *QueryService) LoadPartitions(req *querypb.LoadPartitionRequest) (*comm
log.Fatal("showSegment fail, v%", showSegmentResponse.Status.Reason) log.Fatal("showSegment fail, v%", showSegmentResponse.Status.Reason)
} }
segmentIDs := showSegmentResponse.SegmentIDs segmentIDs := showSegmentResponse.SegmentIDs
segmentStates := make(map[UniqueID]*datapb.SegmentStatesResponse) segmentStates := make(map[UniqueID]*datapb.SegmentStateInfo)
channel2id := make(map[string]int) channel2id := make(map[string]int)
//id2channels := make(map[int][]string) //id2channels := make(map[int][]string)
id2segs := make(map[int][]UniqueID) id2segs := make(map[int][]UniqueID)
offset := 0 offset := 0
for _, segmentID := range segmentIDs { resp, err := qs.dataServiceClient.GetSegmentStates(&datapb.SegmentStatesRequest{
state, err := qs.dataServiceClient.GetSegmentStates(&datapb.SegmentStatesRequest{ SegmentIDs: segmentIDs,
SegmentID: segmentID, })
})
if err != nil { if err != nil {
log.Fatal("get segment states fail") log.Fatal("get segment states fail")
} }
for _, state := range resp.States {
segmentID := state.SegmentID
segmentStates[segmentID] = state segmentStates[segmentID] = state
var flatChannelName string var flatChannelName string
channelNames := make([]string, 0) channelNames := make([]string, 0)

View File

@ -91,7 +91,7 @@ func (master *masterMock) ShowSegments(in *milvuspb.ShowSegmentRequest) (*milvus
type dataMock struct { type dataMock struct {
segmentIDs []UniqueID segmentIDs []UniqueID
segmentStates map[UniqueID]*datapb.SegmentStatesResponse segmentStates map[UniqueID]*datapb.SegmentStateInfo
} }
func newDataMock() *dataMock { func newDataMock() *dataMock {
@ -110,23 +110,24 @@ func newDataMock() *dataMock {
segmentIDs = append(segmentIDs, 5) segmentIDs = append(segmentIDs, 5)
segmentIDs = append(segmentIDs, 6) segmentIDs = append(segmentIDs, 6)
fillStates := func(time uint64, position []*internalpb2.MsgPosition, state datapb.SegmentState) *datapb.SegmentStatesResponse { fillStates := func(segmentID UniqueID, time uint64, position []*internalpb2.MsgPosition, state datapb.SegmentState) *datapb.SegmentStateInfo {
return &datapb.SegmentStatesResponse{ return &datapb.SegmentStateInfo{
Status: &commonpb.Status{ Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_SUCCESS, ErrorCode: commonpb.ErrorCode_SUCCESS,
}, },
SegmentID: segmentID,
State: state, State: state,
CreateTime: time, CreateTime: time,
StartPositions: position, StartPositions: position,
} }
} }
segmentStates := make(map[UniqueID]*datapb.SegmentStatesResponse) segmentStates := make(map[UniqueID]*datapb.SegmentStateInfo)
segmentStates[1] = fillStates(1, positions1, datapb.SegmentState_SegmentFlushed) segmentStates[1] = fillStates(1, 1, positions1, datapb.SegmentState_SegmentFlushed)
segmentStates[2] = fillStates(2, positions2, datapb.SegmentState_SegmentFlushed) segmentStates[2] = fillStates(2, 2, positions2, datapb.SegmentState_SegmentFlushed)
segmentStates[3] = fillStates(3, positions1, datapb.SegmentState_SegmentFlushed) segmentStates[3] = fillStates(3, 3, positions1, datapb.SegmentState_SegmentFlushed)
segmentStates[4] = fillStates(4, positions2, datapb.SegmentState_SegmentFlushed) segmentStates[4] = fillStates(4, 4, positions2, datapb.SegmentState_SegmentFlushed)
segmentStates[5] = fillStates(5, positions1, datapb.SegmentState_SegmentGrowing) segmentStates[5] = fillStates(5, 5, positions1, datapb.SegmentState_SegmentGrowing)
segmentStates[6] = fillStates(6, positions2, datapb.SegmentState_SegmentGrowing) segmentStates[6] = fillStates(6, 6, positions2, datapb.SegmentState_SegmentGrowing)
return &dataMock{ return &dataMock{
segmentIDs: segmentIDs, segmentIDs: segmentIDs,
@ -135,13 +136,24 @@ func newDataMock() *dataMock {
} }
func (data *dataMock) GetSegmentStates(req *datapb.SegmentStatesRequest) (*datapb.SegmentStatesResponse, error) { func (data *dataMock) GetSegmentStates(req *datapb.SegmentStatesRequest) (*datapb.SegmentStatesResponse, error) {
segmentID := req.SegmentID ret := &datapb.SegmentStatesResponse{
for _, id := range data.segmentIDs { Status: &commonpb.Status{
if segmentID == id { ErrorCode: commonpb.ErrorCode_SUCCESS,
return data.segmentStates[id], nil },
}
for _, segID := range req.SegmentIDs {
for _, segmentID := range data.segmentIDs {
if segmentID == segID {
ret.States = append(ret.States, data.segmentStates[segmentID])
}
} }
} }
return nil, errors.New("segment id not found")
if ret.States == nil {
return nil, errors.New("segment id not found")
}
return ret, nil
} }
func TestQueryService_Init(t *testing.T) { func TestQueryService_Init(t *testing.T) {