mirror of https://github.com/milvus-io/milvus.git
Fix getSegmentInfo in query node (#9549)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/10313/head
parent
a1df15220f
commit
2d984ba0d1
|
@ -147,7 +147,8 @@ message GetPartitionStatesResponse {
|
|||
|
||||
message GetSegmentInfoRequest {
|
||||
common.MsgBase base = 1;
|
||||
repeated int64 segmentIDs = 2;
|
||||
repeated int64 segmentIDs = 2; // deprecated
|
||||
int64 collectionID = 3;
|
||||
}
|
||||
|
||||
message SegmentInfo {
|
||||
|
|
|
@ -928,6 +928,7 @@ func (m *GetPartitionStatesResponse) GetPartitionDescriptions() []*PartitionStat
|
|||
type GetSegmentInfoRequest struct {
|
||||
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
|
||||
SegmentIDs []int64 `protobuf:"varint,2,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
|
||||
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
|
@ -972,6 +973,13 @@ func (m *GetSegmentInfoRequest) GetSegmentIDs() []int64 {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (m *GetSegmentInfoRequest) GetCollectionID() int64 {
|
||||
if m != nil {
|
||||
return m.CollectionID
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type SegmentInfo struct {
|
||||
SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
|
||||
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
|
||||
|
@ -2128,140 +2136,141 @@ func init() {
|
|||
func init() { proto.RegisterFile("query_coord.proto", fileDescriptor_aab7cc9a69ed26e8) }
|
||||
|
||||
var fileDescriptor_aab7cc9a69ed26e8 = []byte{
|
||||
// 2125 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x73, 0xdb, 0xc6,
|
||||
0x15, 0x17, 0xf8, 0x25, 0xf2, 0xf1, 0x0b, 0x5e, 0x5b, 0x0a, 0xcd, 0xda, 0x8e, 0x0b, 0xc7, 0xb1,
|
||||
0xa3, 0x34, 0x72, 0x22, 0xa7, 0x9d, 0xfa, 0xd0, 0x43, 0x2c, 0xc6, 0x0a, 0xd3, 0x58, 0x56, 0x21,
|
||||
0x25, 0x9d, 0x7a, 0x3c, 0x83, 0x82, 0xc4, 0x8a, 0xc2, 0x18, 0xc0, 0xd2, 0x58, 0xd0, 0xb2, 0x7c,
|
||||
0xe8, 0xa9, 0xb7, 0x9e, 0x7b, 0x6a, 0xa7, 0x33, 0x9d, 0xe9, 0xc7, 0xf4, 0xd0, 0x1e, 0x7b, 0xe8,
|
||||
0x29, 0x97, 0xde, 0xfb, 0x0f, 0xb4, 0x33, 0x9d, 0xf6, 0xde, 0x7f, 0xa1, 0xb3, 0x1f, 0x00, 0x01,
|
||||
0x70, 0x29, 0xd1, 0x52, 0x5c, 0x7b, 0x32, 0xbd, 0x11, 0x6f, 0xdf, 0xee, 0xef, 0xed, 0xfb, 0xf8,
|
||||
0xed, 0xee, 0x23, 0x9c, 0x7b, 0x32, 0xc1, 0xe1, 0x91, 0x35, 0x24, 0x24, 0x74, 0xd6, 0xc7, 0x21,
|
||||
0x89, 0x08, 0x42, 0xbe, 0xeb, 0x3d, 0x9d, 0x50, 0xf1, 0xb5, 0xce, 0xc7, 0xbb, 0x8d, 0x21, 0xf1,
|
||||
0x7d, 0x12, 0x08, 0x59, 0xb7, 0x91, 0xd6, 0xe8, 0xb6, 0xdc, 0x20, 0xc2, 0x61, 0x60, 0x7b, 0xf1,
|
||||
0x28, 0x1d, 0x1e, 0x60, 0xdf, 0x96, 0x5f, 0xba, 0x63, 0x47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, 0xde, 0x62, 0x61, 0xc6, 0x8f, 0xad, 0x31, 0xa1, 0x3c, 0x3d, 0x79, 0x02, 0xd5, 0xf3,
|
||||
0x6c, 0x94, 0xbc, 0x23, 0xee, 0xd3, 0xd1, 0x8e, 0xd4, 0x64, 0x81, 0xc6, 0x8f, 0xe3, 0x2f, 0xf4,
|
||||
0x39, 0xac, 0x2a, 0x0d, 0xa0, 0x9d, 0xea, 0x62, 0x91, 0xba, 0xa0, 0x30, 0x90, 0x1a, 0xff, 0xd4,
|
||||
0xe0, 0xa2, 0x89, 0x7d, 0xf2, 0x14, 0x7f, 0x6d, 0x63, 0x67, 0xfc, 0xab, 0x00, 0xab, 0x3f, 0xb4,
|
||||
0xa3, 0xe1, 0x41, 0xcf, 0x97, 0x42, 0xfa, 0x6a, 0x36, 0x98, 0xa3, 0xae, 0xd2, 0x2c, 0x75, 0x25,
|
||||
0xe5, 0x57, 0x56, 0x05, 0x95, 0x3d, 0x28, 0xd7, 0xbf, 0x88, 0xf7, 0x3b, 0x2d, 0xbf, 0xd4, 0x75,
|
||||
0xae, 0x72, 0x8a, 0xeb, 0x1c, 0xda, 0x84, 0x26, 0x7e, 0x36, 0xf4, 0x26, 0x0e, 0xb6, 0x04, 0xfa,
|
||||
0x32, 0x47, 0xbf, 0xa2, 0x40, 0x4f, 0x67, 0x54, 0x43, 0x4e, 0xea, 0x73, 0x0a, 0xf8, 0x59, 0x01,
|
||||
0xda, 0x72, 0x94, 0xdd, 0x80, 0x17, 0x60, 0xfb, 0x9c, 0x3b, 0x0a, 0xb3, 0xee, 0x58, 0xc4, 0xa9,
|
||||
0xf1, 0xcd, 0xa3, 0x94, 0xba, 0x79, 0x5c, 0x06, 0xd8, 0xf7, 0x26, 0xf4, 0xc0, 0x8a, 0x5c, 0x3f,
|
||||
0xe6, 0xfa, 0x1a, 0x97, 0xec, 0xb9, 0x3e, 0x46, 0x1f, 0x41, 0x63, 0xe0, 0x06, 0x1e, 0x19, 0x59,
|
||||
0x63, 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x26, 0xe1, 0x10, 0x5b,
|
||||
0x99, 0x47, 0x45, 0x43, 0x08, 0xb7, 0x05, 0xc1, 0x5c, 0x06, 0x70, 0x68, 0x64, 0x65, 0x3a, 0x0d,
|
||||
0x35, 0x87, 0x46, 0x72, 0xf8, 0x4d, 0xa8, 0xcb, 0x35, 0x1c, 0x12, 0x60, 0x1e, 0xec, 0xaa, 0x09,
|
||||
0x42, 0xd4, 0x23, 0x01, 0x7f, 0x7f, 0xb0, 0xf9, 0x7c, 0x74, 0x99, 0x8f, 0x2e, 0x3b, 0x34, 0xe2,
|
||||
0x43, 0x97, 0x01, 0x9e, 0xda, 0x9e, 0xeb, 0xf0, 0x24, 0xe5, 0x61, 0xaa, 0x9a, 0x35, 0x2e, 0x61,
|
||||
0x2e, 0x30, 0xfe, 0xa2, 0x01, 0x4a, 0x79, 0xe7, 0xf4, 0xdc, 0x79, 0x1d, 0x5a, 0x99, 0x7d, 0x26,
|
||||
0x5d, 0xdc, 0xf4, 0x46, 0x29, 0x23, 0xff, 0x81, 0x80, 0xb2, 0x42, 0x6c, 0x53, 0x12, 0x70, 0xa7,
|
||||
0x2d, 0x4c, 0xfe, 0x83, 0xd8, 0x4c, 0x36, 0xd5, 0xf8, 0x53, 0x01, 0x3a, 0xd9, 0x0b, 0x29, 0x2b,
|
||||
0xb3, 0x11, 0xbf, 0x51, 0x9c, 0x62, 0x0b, 0xd7, 0xa0, 0x49, 0x02, 0xcf, 0x0d, 0x92, 0x50, 0xc9,
|
||||
0xf7, 0xa3, 0x10, 0xca, 0x58, 0x7c, 0x02, 0x6d, 0xa9, 0x94, 0xdc, 0xa0, 0x8b, 0x8b, 0xdd, 0xa0,
|
||||
0x5b, 0x62, 0x5e, 0x52, 0x05, 0xd7, 0xa1, 0x45, 0xf6, 0xf7, 0xd3, 0x78, 0x22, 0x35, 0x9a, 0x52,
|
||||
0x2a, 0x01, 0x3f, 0x05, 0x3d, 0x56, 0x4b, 0x10, 0xcb, 0x8b, 0x21, 0x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, 0x60, 0x32, 0x60, 0xbb, 0xbc, 0x25, 0x34, 0xdf, 0x73, 0x89, 0xfc, 0x75,
|
||||
0x2b, 0x2e, 0xe8, 0x5b, 0x7c, 0xa5, 0x5b, 0xdc, 0xda, 0xf1, 0x60, 0x50, 0xe1, 0x9f, 0xb7, 0xff,
|
||||
0x1b, 0x00, 0x00, 0xff, 0xff, 0xa5, 0x29, 0x71, 0xcf, 0x79, 0x24, 0x00, 0x00,
|
||||
// 2133 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4b, 0x73, 0xdc, 0xc6,
|
||||
0xf1, 0x27, 0xf6, 0xc5, 0xdd, 0xde, 0x17, 0x34, 0x12, 0xe9, 0xd5, 0xfe, 0x25, 0x59, 0x7f, 0xc8,
|
||||
0xb2, 0x64, 0x3a, 0xa6, 0x6c, 0xca, 0x49, 0x45, 0x87, 0x1c, 0x2c, 0xae, 0x45, 0xaf, 0x63, 0x51,
|
||||
0x0c, 0x48, 0x3b, 0x15, 0x95, 0xaa, 0x10, 0xec, 0x62, 0xb8, 0x44, 0x09, 0xc0, 0xac, 0x30, 0x58,
|
||||
0x51, 0xd4, 0x21, 0xa7, 0xdc, 0x52, 0x39, 0xe6, 0x94, 0x54, 0xaa, 0x52, 0x95, 0x47, 0xe5, 0x90,
|
||||
0x1c, 0x73, 0xc8, 0xc9, 0x97, 0xdc, 0xf3, 0x05, 0x92, 0xaa, 0x54, 0x72, 0xcf, 0x57, 0x48, 0xcd,
|
||||
0x03, 0x58, 0x00, 0x3b, 0x4b, 0xae, 0x48, 0x2b, 0x52, 0xb9, 0x72, 0xc3, 0xf4, 0xf4, 0x74, 0xf7,
|
||||
0xf4, 0xe3, 0x37, 0x33, 0x0d, 0x38, 0xf7, 0x64, 0x82, 0xc3, 0x23, 0x6b, 0x48, 0x48, 0xe8, 0xac,
|
||||
0x8f, 0x43, 0x12, 0x11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,
|
||||
0xc6, 0xaf, 0x34, 0xe8, 0xaa, 0x64, 0x9f, 0x05, 0x11, 0x6e, 0x40, 0x3b, 0x14, 0xc6, 0x59, 0x43,
|
||||
0x21, 0x8f, 0x6b, 0xad, 0x99, 0x2d, 0x49, 0x96, 0x5a, 0xd0, 0x75, 0x68, 0x85, 0x98, 0x4e, 0xbc,
|
||||
0x29, 0x5f, 0x91, 0xf3, 0x35, 0x05, 0x55, 0xb2, 0x19, 0xbf, 0xd7, 0xe0, 0xe2, 0x16, 0x8e, 0x92,
|
||||
0xe8, 0x31, 0x75, 0xf8, 0x35, 0x45, 0xd7, 0x5f, 0x6a, 0xd0, 0xce, 0x19, 0x8a, 0xae, 0x42, 0x3d,
|
||||
0xc5, 0x23, 0x03, 0x94, 0x26, 0xa1, 0x6f, 0x43, 0x99, 0xf9, 0x0e, 0x73, 0x93, 0x5a, 0x1b, 0xc6,
|
||||
0xfa, 0xec, 0xe1, 0xbe, 0x9e, 0x95, 0x6a, 0x8a, 0x05, 0xe8, 0x16, 0x9c, 0x57, 0x20, 0xab, 0x34,
|
||||
0x1f, 0xcd, 0x02, 0xab, 0xf1, 0x07, 0x0d, 0xba, 0x2a, 0x67, 0x9e, 0x25, 0xe0, 0x0f, 0x61, 0x35,
|
||||
0xd9, 0x8d, 0xe5, 0x60, 0x3a, 0x0c, 0xdd, 0x31, 0x2f, 0x33, 0x7e, 0x18, 0xd4, 0x37, 0xae, 0x9d,
|
||||
0xbc, 0x1f, 0x6a, 0xae, 0x24, 0x22, 0x7a, 0x29, 0x09, 0xc6, 0x4f, 0x35, 0x58, 0xd9, 0xc2, 0xd1,
|
||||
0x2e, 0x1e, 0xf9, 0x38, 0x88, 0xfa, 0xc1, 0x3e, 0x39, 0x7d, 0xe0, 0xaf, 0x00, 0x50, 0x29, 0x27,
|
||||
0x39, 0xa8, 0x52, 0x94, 0x45, 0x92, 0xc0, 0xf8, 0x5b, 0x01, 0xea, 0x29, 0x63, 0xd0, 0x25, 0xa8,
|
||||
0x25, 0x12, 0x64, 0x68, 0xa7, 0x84, 0x19, 0x89, 0x05, 0x45, 0x5a, 0xe5, 0xd2, 0xa3, 0x38, 0x9b,
|
||||
0x1e, 0x73, 0x10, 0x1c, 0x5d, 0x84, 0xaa, 0x8f, 0x7d, 0x8b, 0xba, 0xcf, 0xb1, 0x44, 0x8c, 0x65,
|
||||
0x1f, 0xfb, 0xbb, 0xee, 0x73, 0xcc, 0xa6, 0x82, 0x89, 0x6f, 0x85, 0xe4, 0x90, 0x76, 0x2a, 0x62,
|
||||
0x2a, 0x98, 0xf8, 0x26, 0x39, 0xa4, 0xe8, 0x32, 0x80, 0x1b, 0x38, 0xf8, 0x99, 0x15, 0xd8, 0x3e,
|
||||
0xee, 0x2c, 0xf3, 0x8a, 0xab, 0x71, 0xca, 0xb6, 0xed, 0x63, 0x86, 0x15, 0x7c, 0xd0, 0xef, 0x75,
|
||||
0xaa, 0x62, 0xa1, 0x1c, 0xb2, 0xad, 0xca, 0x3a, 0xed, 0xf7, 0x3a, 0x35, 0xb1, 0x2e, 0x21, 0xa0,
|
||||
0x8f, 0xa1, 0x29, 0xf7, 0x6d, 0x89, 0x5c, 0x06, 0x9e, 0xcb, 0x57, 0x55, 0xb1, 0x97, 0x0e, 0x14,
|
||||
0x99, 0xdc, 0xa0, 0xa9, 0x11, 0xbf, 0x77, 0xe6, 0xe3, 0x7d, 0x96, 0xdc, 0xfc, 0x26, 0x94, 0xdd,
|
||||
0x60, 0x9f, 0xc4, 0xa9, 0xf8, 0xe6, 0x31, 0xe6, 0x70, 0x65, 0x82, 0xdb, 0xf8, 0x53, 0x11, 0x56,
|
||||
0x3f, 0x72, 0x1c, 0x15, 0xe0, 0xbe, 0x78, 0xde, 0x4d, 0xe3, 0x57, 0xc8, 0xc4, 0x6f, 0x11, 0xd0,
|
||||
0x79, 0x17, 0xce, 0xe5, 0xc0, 0x54, 0xa6, 0x41, 0xcd, 0xd4, 0xb3, 0x70, 0xda, 0xef, 0xa1, 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x77,
|
||||
0x92, 0xf4, 0x2f, 0xa0, 0x91, 0xee, 0xca, 0xa0, 0x1b, 0xf3, 0x70, 0x2f, 0xd7, 0x8b, 0x78, 0xf5,
|
||||
0xa8, 0xf7, 0xf2, 0x4f, 0x85, 0x47, 0xd0, 0xce, 0x35, 0x62, 0xd4, 0x9e, 0x57, 0x77, 0x6b, 0x4e,
|
||||
0x92, 0xfe, 0x35, 0xc2, 0xb1, 0xbb, 0x1f, 0x3e, 0xdc, 0x18, 0xb9, 0xd1, 0xc1, 0x64, 0xc0, 0x76,
|
||||
0x79, 0x4b, 0x70, 0xbe, 0xe7, 0x12, 0xf9, 0x75, 0x2b, 0x2e, 0xe8, 0x5b, 0x5c, 0xd2, 0x2d, 0x6e,
|
||||
0xed, 0x78, 0x30, 0xa8, 0xf0, 0xe1, 0xed, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x6c, 0x21,
|
||||
0xbc, 0x9e, 0x24, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
|
|
|
@ -457,55 +457,120 @@ func (node *QueryNode) GetSegmentInfo(ctx context.Context, in *queryPb.GetSegmen
|
|||
return res, err
|
||||
}
|
||||
infos := make([]*queryPb.SegmentInfo, 0)
|
||||
// TODO: remove segmentType and use queryPb.SegmentState instead
|
||||
getSegmentStateBySegmentType := func(segType segmentType) queryPb.SegmentState {
|
||||
switch segType {
|
||||
case segmentTypeGrowing:
|
||||
return queryPb.SegmentState_Growing
|
||||
case segmentTypeSealed:
|
||||
return queryPb.SegmentState_sealed
|
||||
default:
|
||||
// TODO: remove segmentTypeIndexing
|
||||
return queryPb.SegmentState_None
|
||||
}
|
||||
}
|
||||
getSegmentInfo := func(segment *Segment) *queryPb.SegmentInfo {
|
||||
var indexName string
|
||||
var indexID int64
|
||||
// TODO:: segment has multi vec column
|
||||
if len(segment.indexInfos) > 0 {
|
||||
for fieldID := range segment.indexInfos {
|
||||
indexName = segment.getIndexName(fieldID)
|
||||
indexID = segment.getIndexID(fieldID)
|
||||
break
|
||||
}
|
||||
for fieldID := range segment.indexInfos {
|
||||
indexName = segment.getIndexName(fieldID)
|
||||
indexID = segment.getIndexID(fieldID)
|
||||
break
|
||||
}
|
||||
info := &queryPb.SegmentInfo{
|
||||
SegmentID: segment.ID(),
|
||||
CollectionID: segment.collectionID,
|
||||
PartitionID: segment.partitionID,
|
||||
NodeID: Params.QueryNodeID,
|
||||
MemSize: segment.getMemSize(),
|
||||
NumRows: segment.getRowCount(),
|
||||
IndexName: indexName,
|
||||
IndexID: indexID,
|
||||
ChannelID: segment.vChannelID,
|
||||
SegmentState: getSegmentStateBySegmentType(segment.segmentType),
|
||||
}
|
||||
return info
|
||||
}
|
||||
// get info from historical
|
||||
node.historical.replica.printReplica()
|
||||
for _, id := range in.SegmentIDs {
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo for historical", zap.Any("SegmentID", id))
|
||||
segment, err := node.historical.replica.getSegmentByID(id)
|
||||
if err != nil {
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo, for historical segmentID not exist", zap.Any("SegmentID", id))
|
||||
continue
|
||||
partitionIDs, err := node.historical.replica.getPartitionIDs(in.CollectionID)
|
||||
if err != nil {
|
||||
res := &queryPb.GetSegmentInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_UnexpectedError,
|
||||
Reason: err.Error(),
|
||||
},
|
||||
}
|
||||
info := getSegmentInfo(segment)
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo for historical", zap.Any("SegmentID", id), zap.Any("info", info))
|
||||
|
||||
infos = append(infos, info)
|
||||
return res, err
|
||||
}
|
||||
for _, partitionID := range partitionIDs {
|
||||
segmentIDs, err := node.historical.replica.getSegmentIDs(partitionID)
|
||||
if err != nil {
|
||||
res := &queryPb.GetSegmentInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_UnexpectedError,
|
||||
Reason: err.Error(),
|
||||
},
|
||||
}
|
||||
return res, err
|
||||
}
|
||||
for _, id := range segmentIDs {
|
||||
segment, err := node.historical.replica.getSegmentByID(id)
|
||||
if err != nil {
|
||||
res := &queryPb.GetSegmentInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_UnexpectedError,
|
||||
Reason: err.Error(),
|
||||
},
|
||||
}
|
||||
return res, err
|
||||
}
|
||||
info := getSegmentInfo(segment)
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo for historical", zap.Any("SegmentID", id), zap.Any("info", info))
|
||||
|
||||
infos = append(infos, info)
|
||||
}
|
||||
}
|
||||
|
||||
// get info from streaming
|
||||
node.streaming.replica.printReplica()
|
||||
for _, id := range in.SegmentIDs {
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo for streaming", zap.Any("SegmentID", id))
|
||||
|
||||
segment, err := node.streaming.replica.getSegmentByID(id)
|
||||
if err != nil {
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo, for streaming segmentID not exist", zap.Any("SegmentID", id))
|
||||
continue
|
||||
partitionIDs, err = node.streaming.replica.getPartitionIDs(in.CollectionID)
|
||||
if err != nil {
|
||||
res := &queryPb.GetSegmentInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_UnexpectedError,
|
||||
Reason: err.Error(),
|
||||
},
|
||||
}
|
||||
return res, err
|
||||
}
|
||||
for _, partitionID := range partitionIDs {
|
||||
segmentIDs, err := node.streaming.replica.getSegmentIDs(partitionID)
|
||||
if err != nil {
|
||||
res := &queryPb.GetSegmentInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_UnexpectedError,
|
||||
Reason: err.Error(),
|
||||
},
|
||||
}
|
||||
return res, err
|
||||
}
|
||||
for _, id := range segmentIDs {
|
||||
segment, err := node.streaming.replica.getSegmentByID(id)
|
||||
if err != nil {
|
||||
res := &queryPb.GetSegmentInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
ErrorCode: commonpb.ErrorCode_UnexpectedError,
|
||||
Reason: err.Error(),
|
||||
},
|
||||
}
|
||||
return res, err
|
||||
}
|
||||
info := getSegmentInfo(segment)
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo for streaming", zap.Any("SegmentID", id), zap.Any("info", info))
|
||||
infos = append(infos, info)
|
||||
}
|
||||
info := getSegmentInfo(segment)
|
||||
log.Debug("QueryNode::Impl::GetSegmentInfo for streaming", zap.Any("SegmentID", id), zap.Any("info", info))
|
||||
infos = append(infos, info)
|
||||
}
|
||||
return &queryPb.GetSegmentInfoResponse{
|
||||
Status: &commonpb.Status{
|
||||
|
|
|
@ -342,25 +342,217 @@ func TestImpl_ReleasePartitions(t *testing.T) {
|
|||
func TestImpl_GetSegmentInfo(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
}
|
||||
t.Run("test GetSegmentInfo", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, rsp.Status.ErrorCode)
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
node.UpdateStateCode(internalpb.StateCode_Abnormal)
|
||||
rsp, err = node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, rsp.Status.ErrorCode)
|
||||
|
||||
node.UpdateStateCode(internalpb.StateCode_Abnormal)
|
||||
rsp, err = node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test no collection in historical", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
err = node.historical.replica.removeCollection(defaultCollectionID)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test no collection in streaming", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
err = node.streaming.replica.removeCollection(defaultCollectionID)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test different segment type", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
seg, err := node.streaming.replica.getSegmentByID(defaultSegmentID)
|
||||
assert.NoError(t, err)
|
||||
|
||||
seg.setType(segmentTypeInvalid)
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, rsp.Status.ErrorCode)
|
||||
|
||||
seg.setType(segmentTypeSealed)
|
||||
rsp, err = node.GetSegmentInfo(ctx, req)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, rsp.Status.ErrorCode)
|
||||
|
||||
seg.setType(segmentTypeGrowing)
|
||||
rsp, err = node.GetSegmentInfo(ctx, req)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, rsp.Status.ErrorCode)
|
||||
|
||||
seg.setType(-100)
|
||||
rsp, err = node.GetSegmentInfo(ctx, req)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test GetSegmentInfo with indexed segment", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
seg, err := node.historical.replica.getSegmentByID(defaultSegmentID)
|
||||
assert.NoError(t, err)
|
||||
|
||||
err = seg.setIndexInfo(simpleVecField.id, &indexInfo{
|
||||
indexName: "query-node-test",
|
||||
indexID: UniqueID(0),
|
||||
buildID: UniqueID(0),
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, rsp.Status.ErrorCode)
|
||||
|
||||
node.UpdateStateCode(internalpb.StateCode_Abnormal)
|
||||
rsp, err = node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test GetSegmentInfo without streaming partition", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
node.streaming.replica.(*collectionReplica).partitions = make(map[UniqueID]*Partition)
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test GetSegmentInfo without streaming segment", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
node.streaming.replica.(*collectionReplica).segments = make(map[UniqueID]*Segment)
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test GetSegmentInfo without historical partition", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
node.historical.replica.(*collectionReplica).partitions = make(map[UniqueID]*Partition)
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
|
||||
t.Run("test GetSegmentInfo without historical segment", func(t *testing.T) {
|
||||
node, err := genSimpleQueryNode(ctx)
|
||||
assert.NoError(t, err)
|
||||
|
||||
req := &queryPb.GetSegmentInfoRequest{
|
||||
Base: &commonpb.MsgBase{
|
||||
MsgType: commonpb.MsgType_WatchQueryChannels,
|
||||
MsgID: rand.Int63(),
|
||||
},
|
||||
SegmentIDs: []UniqueID{defaultSegmentID},
|
||||
CollectionID: defaultCollectionID,
|
||||
}
|
||||
|
||||
node.historical.replica.(*collectionReplica).segments = make(map[UniqueID]*Segment)
|
||||
rsp, err := node.GetSegmentInfo(ctx, req)
|
||||
assert.Error(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_UnexpectedError, rsp.Status.ErrorCode)
|
||||
})
|
||||
}
|
||||
|
||||
func TestImpl_isHealthy(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue