Add ShowConfigurations to QueryNode (#18426)

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
pull/18366/head
aoiasd 2022-08-03 01:12:33 +08:00 committed by GitHub
parent 6e7831470c
commit a7ce0eb6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 420 additions and 196 deletions

View File

@ -18,6 +18,7 @@ package config
import (
"errors"
"fmt"
"strings"
"sync"
"github.com/milvus-io/milvus/internal/log"
@ -62,6 +63,26 @@ func (m *Manager) GetConfig(key string) (string, error) {
return m.getConfigValueBySource(realKey, sourceName)
}
//GetConfigsByPattern returns key values that matched pattern
func (m *Manager) GetConfigsByPattern(pattern string) map[string]string {
m.RLock()
defer m.RLock()
matchedConfig := make(map[string]string)
pattern = strings.ToLower(pattern)
for key, value := range m.keySourceMap {
result := strings.HasPrefix(key, pattern)
if result {
sValue, err := m.getConfigValueBySource(key, value)
if err != nil {
continue
}
matchedConfig[key] = sValue
}
}
return matchedConfig
}
// Configs returns all the key values
func (m *Manager) Configs() map[string]string {
m.RLock()

View File

@ -278,6 +278,21 @@ func (c *Client) SyncReplicaSegments(ctx context.Context, req *querypb.SyncRepli
return ret.(*commonpb.Status), err
}
// ShowConfigurations gets specified configurations para of QueryNode
func (c *Client) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
ret, err := c.grpcClient.ReCall(ctx, func(client interface{}) (interface{}, error) {
if !funcutil.CheckCtxValid(ctx) {
return nil, ctx.Err()
}
return client.(querypb.QueryNodeClient).ShowConfigurations(ctx, req)
})
if err != nil || ret == nil {
return nil, err
}
return ret.(*internalpb.ShowConfigurationsResponse), err
}
// GetMetrics gets the metrics information of QueryNode.
func (c *Client) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
ret, err := c.grpcClient.ReCall(ctx, func(client interface{}) (interface{}, error) {

View File

@ -104,6 +104,9 @@ func Test_NewClient(t *testing.T) {
r17, err := client.GetStatistics(ctx, nil)
retCheck(retNotNil, r17, err)
r18, err := client.ShowConfigurations(ctx, nil)
retCheck(retNotNil, r18, err)
}
client.grpcClient = &mock.GRPCClientBase{

View File

@ -312,6 +312,11 @@ func (s *Server) SyncReplicaSegments(ctx context.Context, req *querypb.SyncRepli
return s.querynode.SyncReplicaSegments(ctx, req)
}
// ShowConfigurations gets specified configurations para of QueryNode
func (s *Server) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
return s.querynode.ShowConfigurations(ctx, req)
}
// GetMetrics gets the metrics information of QueryNode.
func (s *Server) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
return s.querynode.GetMetrics(ctx, req)

View File

@ -44,6 +44,7 @@ type MockQueryNode struct {
strResp *milvuspb.StringResponse
infoResp *querypb.GetSegmentInfoResponse
metricResp *milvuspb.GetMetricsResponse
configResp *internalpb.ShowConfigurationsResponse
StatsResp *internalpb.GetStatisticsResponse
searchResp *internalpb.SearchResults
queryResp *internalpb.RetrieveResults
@ -139,6 +140,10 @@ func (m *MockQueryNode) SetIndexCoord(index types.IndexCoord) error {
return m.err
}
func (m *MockQueryNode) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
return m.configResp, m.err
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
type MockRootCoord struct {
types.RootCoord
@ -326,6 +331,15 @@ func Test_NewServer(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_Success, resp.GetErrorCode())
})
t.Run("ShowConfigurtaions", func(t *testing.T) {
req := &internalpb.ShowConfigurationsRequest{
Pattern: "Cache",
}
resp, err := server.ShowConfigurations(ctx, req)
assert.NoError(t, err)
assert.Equal(t, commonpb.ErrorCode_Success, resp.GetStatus().GetErrorCode())
})
err = server.Stop()
assert.Nil(t, err)
}

View File

@ -53,6 +53,7 @@ service QueryNode {
rpc Search(SearchRequest) returns (internal.SearchResults) {}
rpc Query(QueryRequest) returns (internal.RetrieveResults) {}
rpc ShowConfigurations(internal.ShowConfigurationsRequest) returns (internal.ShowConfigurationsResponse){}
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
rpc GetMetrics(milvus.GetMetricsRequest) returns (milvus.GetMetricsResponse) {}
}

View File

@ -2876,194 +2876,195 @@ func init() {
func init() { proto.RegisterFile("query_coord.proto", fileDescriptor_aab7cc9a69ed26e8) }
var fileDescriptor_aab7cc9a69ed26e8 = []byte{
// 2977 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3a, 0xc9, 0x8f, 0x1c, 0x57,
0xf9, 0x53, 0xbd, 0x4c, 0x77, 0x7f, 0xbd, 0x95, 0xdf, 0xd8, 0xe3, 0x4e, 0xff, 0xec, 0x64, 0x52,
0x8e, 0x93, 0xf9, 0x4d, 0x92, 0xb1, 0x19, 0x87, 0x28, 0x81, 0x44, 0xc2, 0x9e, 0x89, 0x27, 0x83,
0xed, 0xc9, 0x50, 0x6d, 0x07, 0x64, 0x45, 0x6a, 0xaa, 0xbb, 0xde, 0xf4, 0x94, 0x5c, 0x4b, 0xbb,
0x5e, 0xf5, 0xd8, 0x93, 0x33, 0x42, 0x62, 0x3b, 0x20, 0xae, 0x28, 0xe2, 0x00, 0x07, 0x24, 0x22,
0x2e, 0x5c, 0x90, 0x10, 0xe2, 0xc6, 0x15, 0x89, 0x3f, 0x00, 0x89, 0x0b, 0x07, 0xb8, 0x72, 0xe0,
0x86, 0xde, 0x52, 0x6b, 0xbf, 0x72, 0xf7, 0xcc, 0xc4, 0x89, 0x23, 0x71, 0xab, 0xfa, 0xde, 0xf2,
0xed, 0xdb, 0x7b, 0x0f, 0xce, 0x3c, 0x9c, 0x60, 0xff, 0xa8, 0x3f, 0xf4, 0x3c, 0xdf, 0x5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b,
0x93, 0xc4, 0xa5, 0x52, 0x77, 0xd6, 0xd5, 0x13, 0x99, 0xd8, 0x01, 0x61, 0x9b, 0x96, 0x59, 0xb4,
0x44, 0xd2, 0x7b, 0xc7, 0xe4, 0x6d, 0x4f, 0x77, 0xf6, 0x05, 0x4f, 0xb8, 0xe9, 0xd3, 0x4e, 0x5b,
0x37, 0xde, 0xb8, 0xbf, 0x31, 0xb2, 0x82, 0x83, 0xc9, 0x80, 0xea, 0xe3, 0x0a, 0x9f, 0xf9, 0xba,
0xe5, 0x89, 0xaf, 0x2b, 0x21, 0x69, 0x57, 0xd8, 0x4e, 0x57, 0x18, 0x2f, 0xe3, 0xc1, 0x60, 0x91,
0xfd, 0x5e, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x62, 0xc3, 0x9a, 0xa7, 0xb7, 0x31, 0x00,
0x00,
// 3003 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3a, 0x49, 0x6f, 0x1c, 0xc7,
0xd5, 0xec, 0x59, 0xc8, 0x99, 0x37, 0x5b, 0xab, 0x28, 0x51, 0xe3, 0xf9, 0x24, 0x9b, 0x6e, 0x59,
0x36, 0x3f, 0xda, 0xa6, 0x64, 0xca, 0x31, 0xec, 0xc4, 0x06, 0x22, 0x91, 0x16, 0xcd, 0x48, 0xa2,
0x99, 0x1e, 0xc9, 0x09, 0x04, 0x03, 0x93, 0x9e, 0xe9, 0x9a, 0x61, 0x43, 0xbd, 0x8c, 0xba, 0x7a,
0x28, 0xd1, 0xb9, 0x06, 0x01, 0xb2, 0x1d, 0x82, 0x5c, 0x03, 0x23, 0x87, 0xe4, 0x10, 0x20, 0x46,
0x2e, 0xb9, 0x04, 0x08, 0x82, 0xdc, 0x72, 0x0d, 0x90, 0x1f, 0xe0, 0x63, 0x0e, 0xc9, 0x35, 0x87,
0xdc, 0x82, 0xda, 0x7a, 0x9b, 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0xf4, 0x1e, 0x65,
0x66, 0x91, 0xfc, 0x63, 0xfe, 0xd9, 0x1b, 0x6a, 0x24, 0x5c, 0x0a, 0xad, 0xe5, 0x31, 0x99, 0x7e,
0x36, 0xdb, 0x79, 0x65, 0xbe, 0x37, 0xb6, 0xe1, 0x86, 0xba, 0xb0, 0xc8, 0x2f, 0x8e, 0xd0, 0xf3,
0xd9, 0xcd, 0x49, 0xec, 0x52, 0xa9, 0x33, 0xeb, 0xea, 0x89, 0x4c, 0xec, 0x80, 0xb0, 0x45, 0xcb,
0x2c, 0x5a, 0xa2, 0xcc, 0x7b, 0xc7, 0xf8, 0x6d, 0x4f, 0x67, 0xf6, 0x05, 0x8f, 0x5c, 0xf4, 0xfb,
0x80, 0x78, 0xc9, 0xe7, 0x0e, 0xad, 0xd1, 0xc4, 0x37, 0xb8, 0x99, 0xe6, 0xc5, 0xc0, 0x69, 0x54,
0x49, 0xf1, 0xb5, 0x63, 0xcc, 0x08, 0xc5, 0xf4, 0xb4, 0x73, 0xe6, 0x8d, 0xd7, 0xef, 0x6f, 0x8e,
0xac, 0xe0, 0x60, 0xd2, 0xa7, 0xc6, 0x70, 0x85, 0x63, 0xbe, 0x6a, 0x79, 0xe2, 0xeb, 0x8a, 0xe4,
0xf2, 0x0a, 0x5b, 0xe9, 0x0a, 0x13, 0xe4, 0xb8, 0xdf, 0x5f, 0x64, 0xbf, 0xd7, 0xfe, 0x1b, 0x00,
0x00, 0xff, 0xff, 0xcc, 0xd9, 0x54, 0x42, 0x34, 0x32, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -3672,6 +3673,7 @@ type QueryNodeClient interface {
GetStatistics(ctx context.Context, in *GetStatisticsRequest, opts ...grpc.CallOption) (*internalpb.GetStatisticsResponse, error)
Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*internalpb.SearchResults, error)
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*internalpb.RetrieveResults, error)
ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error)
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
}
@ -3810,6 +3812,15 @@ func (c *queryNodeClient) Query(ctx context.Context, in *QueryRequest, opts ...g
return out, nil
}
func (c *queryNodeClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) {
out := new(internalpb.ShowConfigurationsResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/ShowConfigurations", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *queryNodeClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
out := new(milvuspb.GetMetricsResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/GetMetrics", in, out, opts...)
@ -3835,6 +3846,7 @@ type QueryNodeServer interface {
GetStatistics(context.Context, *GetStatisticsRequest) (*internalpb.GetStatisticsResponse, error)
Search(context.Context, *SearchRequest) (*internalpb.SearchResults, error)
Query(context.Context, *QueryRequest) (*internalpb.RetrieveResults, error)
ShowConfigurations(context.Context, *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error)
// https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy
GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
}
@ -3885,6 +3897,9 @@ func (*UnimplementedQueryNodeServer) Search(ctx context.Context, req *SearchRequ
func (*UnimplementedQueryNodeServer) Query(ctx context.Context, req *QueryRequest) (*internalpb.RetrieveResults, error) {
return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
}
func (*UnimplementedQueryNodeServer) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ShowConfigurations not implemented")
}
func (*UnimplementedQueryNodeServer) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetMetrics not implemented")
}
@ -4145,6 +4160,24 @@ func _QueryNode_Query_Handler(srv interface{}, ctx context.Context, dec func(int
return interceptor(ctx, in, info, handler)
}
func _QueryNode_ShowConfigurations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(internalpb.ShowConfigurationsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryNodeServer).ShowConfigurations(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.query.QueryNode/ShowConfigurations",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryNodeServer).ShowConfigurations(ctx, req.(*internalpb.ShowConfigurationsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _QueryNode_GetMetrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(milvuspb.GetMetricsRequest)
if err := dec(in); err != nil {
@ -4223,6 +4256,10 @@ var _QueryNode_serviceDesc = grpc.ServiceDesc{
MethodName: "Query",
Handler: _QueryNode_Query_Handler,
},
{
MethodName: "ShowConfigurations",
Handler: _QueryNode_ShowConfigurations_Handler,
},
{
MethodName: "GetMetrics",
Handler: _QueryNode_GetMetrics_Handler,

View File

@ -123,3 +123,6 @@ func (m *QueryNodeMock) GetStatisticsChannel(ctx context.Context) (*milvuspb.Str
func (m *QueryNodeMock) GetTimeTickChannel(ctx context.Context) (*milvuspb.StringResponse, error) {
return nil, nil
}
func (m *QueryNodeMock) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
return nil, nil
}

View File

@ -163,3 +163,7 @@ func (client *queryNodeClientMock) Query(ctx context.Context, req *querypb.Query
func (client *queryNodeClientMock) SyncReplicaSegments(ctx context.Context, req *querypb.SyncReplicaSegmentsRequest) (*commonpb.Status, error) {
return client.grpcClient.SyncReplicaSegments(ctx, req)
}
func (client *queryNodeClientMock) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
return client.grpcClient.ShowConfigurations(ctx, req)
}

View File

@ -1049,12 +1049,32 @@ func (node *QueryNode) SyncReplicaSegments(ctx context.Context, req *querypb.Syn
return &commonpb.Status{ErrorCode: commonpb.ErrorCode_Success}, nil
}
//ShowConfigurations returns the configurations of queryNode matching req.Pattern
func (node *QueryNode) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
if !node.isHealthy() {
log.Warn("QueryNode.ShowConfigurations failed",
zap.Int64("nodeId", Params.QueryNodeCfg.GetNodeID()),
zap.String("req", req.Pattern),
zap.Error(errQueryNodeIsUnhealthy(Params.QueryNodeCfg.GetNodeID())))
return &internalpb.ShowConfigurationsResponse{
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_UnexpectedError,
Reason: msgQueryNodeIsUnhealthy(Params.QueryNodeCfg.GetNodeID()),
},
Configuations: nil,
}, nil
}
return getComponentConfigurations(ctx, req), nil
}
// GetMetrics return system infos of the query node, such as total memory, memory usage, cpu usage ...
// TODO(dragondriver): cache the Metrics and set a retention to the cache
func (node *QueryNode) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
if !node.isHealthy() {
log.Warn("QueryNode.GetMetrics failed",
zap.Int64("node_id", Params.QueryNodeCfg.GetNodeID()),
zap.Int64("nodeId", Params.QueryNodeCfg.GetNodeID()),
zap.String("req", req.Request),
zap.Error(errQueryNodeIsUnhealthy(Params.QueryNodeCfg.GetNodeID())))
@ -1070,7 +1090,7 @@ func (node *QueryNode) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsR
metricType, err := metricsinfo.ParseMetricType(req.Request)
if err != nil {
log.Warn("QueryNode.GetMetrics failed to parse metric type",
zap.Int64("node_id", Params.QueryNodeCfg.GetNodeID()),
zap.Int64("nodeId", Params.QueryNodeCfg.GetNodeID()),
zap.String("req", req.Request),
zap.Error(err))
@ -1087,9 +1107,9 @@ func (node *QueryNode) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsR
metrics, err := getSystemInfoMetrics(ctx, req, node)
if err != nil {
log.Warn("QueryNode.GetMetrics failed",
zap.Int64("node_id", Params.QueryNodeCfg.GetNodeID()),
zap.Int64("nodeId", Params.QueryNodeCfg.GetNodeID()),
zap.String("req", req.Request),
zap.String("metric_type", metricType),
zap.String("metricType", metricType),
zap.Error(err))
}
@ -1097,9 +1117,9 @@ func (node *QueryNode) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsR
}
log.Debug("QueryNode.GetMetrics failed, request metric type is not implemented yet",
zap.Int64("node_id", Params.QueryNodeCfg.GetNodeID()),
zap.Int64("nodeId", Params.QueryNodeCfg.GetNodeID()),
zap.String("req", req.Request),
zap.String("metric_type", metricType))
zap.String("metricType", metricType))
return &milvuspb.GetMetricsResponse{
Status: &commonpb.Status{

View File

@ -320,6 +320,47 @@ func TestImpl_isHealthy(t *testing.T) {
assert.True(t, isHealthy)
}
func TestImpl_ShowConfigurations(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
etcdCli, err := etcd.GetEtcdClient(&Params.EtcdCfg)
assert.NoError(t, err)
defer etcdCli.Close()
t.Run("test ShowConfigurations", func(t *testing.T) {
node, err := genSimpleQueryNode(ctx)
assert.NoError(t, err)
node.session = sessionutil.NewSession(node.queryNodeLoopCtx, Params.EtcdCfg.MetaRootPath, etcdCli)
pattern := "Cache"
req := &internalpb.ShowConfigurationsRequest{
Base: genCommonMsgBase(commonpb.MsgType_WatchQueryChannels),
Pattern: pattern,
}
reqs, err := node.ShowConfigurations(ctx, req)
assert.NoError(t, err)
assert.Equal(t, reqs.Status.ErrorCode, commonpb.ErrorCode_Success)
})
t.Run("test ShowConfigurations node failed", func(t *testing.T) {
node, err := genSimpleQueryNode(ctx)
assert.NoError(t, err)
node.session = sessionutil.NewSession(node.queryNodeLoopCtx, Params.EtcdCfg.MetaRootPath, etcdCli)
node.UpdateStateCode(internalpb.StateCode_Abnormal)
pattern := "Cache"
req := &internalpb.ShowConfigurationsRequest{
Base: genCommonMsgBase(commonpb.MsgType_WatchQueryChannels),
Pattern: pattern,
}
reqs, err := node.ShowConfigurations(ctx, req)
assert.NoError(t, err)
assert.Equal(t, reqs.Status.ErrorCode, commonpb.ErrorCode_UnexpectedError)
})
}
func TestImpl_GetMetrics(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

View File

@ -20,11 +20,34 @@ import (
"context"
"github.com/milvus-io/milvus/internal/proto/commonpb"
"github.com/milvus-io/milvus/internal/proto/internalpb"
"github.com/milvus-io/milvus/internal/proto/milvuspb"
"github.com/milvus-io/milvus/internal/util/metricsinfo"
"github.com/milvus-io/milvus/internal/util/typeutil"
)
//getComponentConfigurations returns the configurations of queryNode matching req.Pattern
func getComponentConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) *internalpb.ShowConfigurationsResponse {
prefix := "querynode."
matchedConfig := Params.QueryNodeCfg.Base.GetByPattern(prefix + req.Pattern)
configList := make([]*commonpb.KeyValuePair, 0, len(matchedConfig))
for key, value := range matchedConfig {
configList = append(configList,
&commonpb.KeyValuePair{
Key: key,
Value: value,
})
}
return &internalpb.ShowConfigurationsResponse{
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_Success,
Reason: "",
},
Configuations: configList,
}
}
// getSystemInfoMetrics returns metrics info of QueryNode
func getSystemInfoMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest, node *QueryNode) (*milvuspb.GetMetricsResponse, error) {
usedMem := metricsinfo.GetUsedMemoryCount()

View File

@ -23,6 +23,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/milvus-io/milvus/internal/proto/commonpb"
"github.com/milvus-io/milvus/internal/proto/internalpb"
"github.com/milvus-io/milvus/internal/proto/milvuspb"
"github.com/milvus-io/milvus/internal/util/etcd"
"github.com/milvus-io/milvus/internal/util/sessionutil"
@ -47,3 +48,24 @@ func TestGetSystemInfoMetrics(t *testing.T) {
assert.NoError(t, err)
resp.Status.ErrorCode = commonpb.ErrorCode_Success
}
func TestGetComponentConfigurationsFailed(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
node, err := genSimpleQueryNode(ctx)
assert.NoError(t, err)
etcdCli, err := etcd.GetEtcdClient(&Params.EtcdCfg)
assert.NoError(t, err)
defer etcdCli.Close()
node.session = sessionutil.NewSession(node.queryNodeLoopCtx, Params.EtcdCfg.MetaRootPath, etcdCli)
req := &internalpb.ShowConfigurationsRequest{
Base: genCommonMsgBase(commonpb.MsgType_WatchQueryChannels),
Pattern: "Cache",
}
resq := getComponentConfigurations(ctx, req)
assert.Equal(t, resq.Status.ErrorCode, commonpb.ErrorCode_Success)
}

View File

@ -1224,6 +1224,7 @@ type QueryNode interface {
Query(ctx context.Context, req *querypb.QueryRequest) (*internalpb.RetrieveResults, error)
SyncReplicaSegments(ctx context.Context, req *querypb.SyncReplicaSegmentsRequest) (*commonpb.Status, error)
ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error)
// GetMetrics gets the metrics about QueryNode.
GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
}

View File

@ -44,6 +44,7 @@ func (m *GrpcQueryNodeClient) GetComponentStates(ctx context.Context, in *intern
func (m *GrpcQueryNodeClient) GetTimeTickChannel(ctx context.Context, in *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
return &milvuspb.StringResponse{}, m.Err
}
func (m *GrpcQueryNodeClient) GetStatisticsChannel(ctx context.Context, in *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error) {
return &milvuspb.StringResponse{}, m.Err
}
@ -91,3 +92,7 @@ func (m *GrpcQueryNodeClient) SyncReplicaSegments(ctx context.Context, in *query
func (m *GrpcQueryNodeClient) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) {
return &milvuspb.GetMetricsResponse{}, m.Err
}
func (m *GrpcQueryNodeClient) ShowConfigurations(ctx context.Context, in *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error) {
return &internalpb.ShowConfigurationsResponse{}, m.Err
}

View File

@ -108,3 +108,7 @@ func (q QueryNodeClient) SyncReplicaSegments(ctx context.Context, req *querypb.S
func (q QueryNodeClient) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) {
return q.grpcClient.GetMetrics(ctx, req)
}
func (q QueryNodeClient) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest) (*internalpb.ShowConfigurationsResponse, error) {
return q.grpcClient.ShowConfigurations(ctx, req)
}

View File

@ -211,6 +211,10 @@ func (gp *BaseTable) Get(key string) string {
return value
}
func (gp *BaseTable) GetByPattern(pattern string) map[string]string {
return gp.mgr.GetConfigsByPattern(pattern)
}
// For compatible reason, only visiable for Test
func (gp *BaseTable) Remove(key string) error {
gp.mgr.DeleteConfig(key)
@ -317,7 +321,6 @@ func (gp *BaseTable) ParseIntWithDefault(key string, defaultValue int) int {
}
// package methods
// ConvertRangeToIntRange converts a range of strings to a range of ints.
func ConvertRangeToIntRange(rangeStr, sep string) []int {
items := strings.Split(rangeStr, sep)

View File

@ -16,7 +16,9 @@
package typeutil
import "strings"
import (
"strings"
)
// AddOne add one to last byte in string, on empty string return empty
// it helps with key iteration upper bound