Rename GetServiceStates to GetComponentStates and reconstruct NodeStates and ServiceStates

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/4973/head^2
sunby 2021-01-20 11:02:29 +08:00 committed by yefu.chen
parent 7ee8623e1a
commit 3602376a10
21 changed files with 307 additions and 319 deletions

View File

@ -29,7 +29,7 @@ func (c Client) Stop() {
panic("implement me")
}
func (c Client) GetServiceStates() (internalpb2.ServiceStates, error) {
func (c Client) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -29,7 +29,7 @@ func (g Client) Stop() {
panic("implement me")
}
func (g Client) GetServiceStates() (internalpb2.ServiceStates, error) {
func (g Client) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -43,7 +43,7 @@ func (s *Server) Stop() {
s.loopWg.Wait()
}
func (s *Server) GetServiceStates() (internalpb2.ServiceStates, error) {
func (s *Server) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -56,7 +56,7 @@ func (c *GrpcClient) Stop() error {
}
//TODO, grpc, get service state from server
func (c *GrpcClient) GetServiceStates() (*internalpb2.ServiceStates, error) {
func (c *GrpcClient) GetComponentStates() (*internalpb2.ComponentStates, error) {
return nil, nil
}

View File

@ -73,7 +73,7 @@ func (s *GrpcServer) Stop() error {
return err
}
func (s *GrpcServer) GetServiceStates(ctx context.Context, empty *commonpb.Empty) (*internalpb2.ServiceStates, error) {
func (s *GrpcServer) GetComponentStates(ctx context.Context, empty *commonpb.Empty) (*internalpb2.ComponentStates, error) {
return nil, nil
}

View File

@ -25,7 +25,7 @@ func (c *Client) Stop() {
panic("implement me")
}
func (c *Client) GetServiceStates() (internalpb2.ServiceStates, error) {
func (c *Client) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -21,7 +21,7 @@ func (c *Client) Stop() {
panic("implement me")
}
func (c *Client) GetServiceStates() (internalpb2.ServiceStates, error) {
func (c *Client) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -25,7 +25,7 @@ func (s *Server) Stop() {
panic("implement me")
}
func (s *Server) GetServiceStates() (internalpb2.ServiceStates, error) {
func (s *Server) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -59,7 +59,7 @@ func (i *IndexNode) Stop() {
panic("implement me")
}
func (i *IndexNode) GetServiceStates() (internalpb2.ServiceStates, error) {
func (i *IndexNode) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -56,7 +56,7 @@ func (i *IndexService) Stop() {
panic("implement me")
}
func (i *IndexService) GetServiceStates() (internalpb2.ServiceStates, error) {
func (i *IndexService) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -476,7 +476,7 @@ func (s *Master) GetPartitionStatistics(ctx context.Context, request *milvuspb.P
panic("implement me")
}
func (s *Master) GetServiceStates(ctx context.Context, empty *commonpb.Empty) (*internalpb2.ServiceStates, error) {
func (s *Master) GetComponentStates(ctx context.Context, empty *commonpb.Empty) (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -38,7 +38,7 @@ type Service interface {
Init(params *InitParams) error
Start() error
Stop() error
GetServiceStates() (*internalpb2.ServiceStates, error)
GetComponentStates() (*internalpb2.ComponentStates, error)
GetTimeTickChannel() (string, error)
GetStatesChannel() (string, error)
}
@ -48,7 +48,7 @@ type Interface interface {
Init(params *InitParams) error
Start() error
Stop() error
GetServiceStates(empty *commonpb.Empty) (*internalpb2.ServiceStates, error)
GetComponentStates(empty *commonpb.Empty) (*internalpb2.ComponentStates, error)
//DDL request
CreateCollection(in *milvuspb.CreateCollectionRequest) (*commonpb.Status, error)
@ -485,19 +485,15 @@ func (c *Core) Stop() error {
return nil
}
func (c *Core) GetServiceStates(empty *commonpb.Empty) (*internalpb2.ServiceStates, error) {
func (c *Core) GetComponentStates(empty *commonpb.Empty) (*internalpb2.ComponentStates, error) {
code := c.stateCode.Load().(internalpb2.StateCode)
return &internalpb2.ServiceStates{
StateCode: code,
NodeStates: []*internalpb2.NodeStates{
{
NodeID: int64(Params.NodeID),
Role: "master",
StateCode: code,
ExtraInfo: nil,
},
return &internalpb2.ComponentStates{
State: &internalpb2.ComponentInfo{
NodeID: int64(Params.NodeID),
Role: "master",
StateCode: code,
ExtraInfo: nil,
},
ExtraInfo: nil,
}, nil
}

View File

@ -11,17 +11,16 @@ enum StateCode {
}
message NodeStates {
message ComponentInfo {
int64 nodeID = 1;
string role = 2;
StateCode state_code = 3;
repeated common.KeyValuePair extra_info = 4;
}
message ServiceStates {
StateCode state_code = 1;
repeated NodeStates node_states = 2;
repeated common.KeyValuePair extra_info = 3;
message ComponentStates {
ComponentInfo state = 1;
repeated common.KeyValuePair subcomponent_states = 2;
}
message NodeInfo {

View File

@ -49,7 +49,7 @@ func (StateCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{0}
}
type NodeStates struct {
type ComponentInfo struct {
NodeID int64 `protobuf:"varint,1,opt,name=nodeID,proto3" json:"nodeID,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
StateCode StateCode `protobuf:"varint,3,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.internal.StateCode" json:"state_code,omitempty"`
@ -59,110 +59,102 @@ type NodeStates struct {
XXX_sizecache int32 `json:"-"`
}
func (m *NodeStates) Reset() { *m = NodeStates{} }
func (m *NodeStates) String() string { return proto.CompactTextString(m) }
func (*NodeStates) ProtoMessage() {}
func (*NodeStates) Descriptor() ([]byte, []int) {
func (m *ComponentInfo) Reset() { *m = ComponentInfo{} }
func (m *ComponentInfo) String() string { return proto.CompactTextString(m) }
func (*ComponentInfo) ProtoMessage() {}
func (*ComponentInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{0}
}
func (m *NodeStates) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_NodeStates.Unmarshal(m, b)
func (m *ComponentInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ComponentInfo.Unmarshal(m, b)
}
func (m *NodeStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_NodeStates.Marshal(b, m, deterministic)
func (m *ComponentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ComponentInfo.Marshal(b, m, deterministic)
}
func (m *NodeStates) XXX_Merge(src proto.Message) {
xxx_messageInfo_NodeStates.Merge(m, src)
func (m *ComponentInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ComponentInfo.Merge(m, src)
}
func (m *NodeStates) XXX_Size() int {
return xxx_messageInfo_NodeStates.Size(m)
func (m *ComponentInfo) XXX_Size() int {
return xxx_messageInfo_ComponentInfo.Size(m)
}
func (m *NodeStates) XXX_DiscardUnknown() {
xxx_messageInfo_NodeStates.DiscardUnknown(m)
func (m *ComponentInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ComponentInfo.DiscardUnknown(m)
}
var xxx_messageInfo_NodeStates proto.InternalMessageInfo
var xxx_messageInfo_ComponentInfo proto.InternalMessageInfo
func (m *NodeStates) GetNodeID() int64 {
func (m *ComponentInfo) GetNodeID() int64 {
if m != nil {
return m.NodeID
}
return 0
}
func (m *NodeStates) GetRole() string {
func (m *ComponentInfo) GetRole() string {
if m != nil {
return m.Role
}
return ""
}
func (m *NodeStates) GetStateCode() StateCode {
func (m *ComponentInfo) GetStateCode() StateCode {
if m != nil {
return m.StateCode
}
return StateCode_INITIALIZING
}
func (m *NodeStates) GetExtraInfo() []*commonpb.KeyValuePair {
func (m *ComponentInfo) GetExtraInfo() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraInfo
}
return nil
}
type ServiceStates struct {
StateCode StateCode `protobuf:"varint,1,opt,name=state_code,json=stateCode,proto3,enum=milvus.proto.internal.StateCode" json:"state_code,omitempty"`
NodeStates []*NodeStates `protobuf:"bytes,2,rep,name=node_states,json=nodeStates,proto3" json:"node_states,omitempty"`
ExtraInfo []*commonpb.KeyValuePair `protobuf:"bytes,3,rep,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"`
type ComponentStates struct {
State *ComponentInfo `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
SubcomponentStates []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=subcomponent_states,json=subcomponentStates,proto3" json:"subcomponent_states,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStates) Reset() { *m = ServiceStates{} }
func (m *ServiceStates) String() string { return proto.CompactTextString(m) }
func (*ServiceStates) ProtoMessage() {}
func (*ServiceStates) Descriptor() ([]byte, []int) {
func (m *ComponentStates) Reset() { *m = ComponentStates{} }
func (m *ComponentStates) String() string { return proto.CompactTextString(m) }
func (*ComponentStates) ProtoMessage() {}
func (*ComponentStates) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{1}
}
func (m *ServiceStates) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStates.Unmarshal(m, b)
func (m *ComponentStates) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ComponentStates.Unmarshal(m, b)
}
func (m *ServiceStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStates.Marshal(b, m, deterministic)
func (m *ComponentStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ComponentStates.Marshal(b, m, deterministic)
}
func (m *ServiceStates) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStates.Merge(m, src)
func (m *ComponentStates) XXX_Merge(src proto.Message) {
xxx_messageInfo_ComponentStates.Merge(m, src)
}
func (m *ServiceStates) XXX_Size() int {
return xxx_messageInfo_ServiceStates.Size(m)
func (m *ComponentStates) XXX_Size() int {
return xxx_messageInfo_ComponentStates.Size(m)
}
func (m *ServiceStates) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStates.DiscardUnknown(m)
func (m *ComponentStates) XXX_DiscardUnknown() {
xxx_messageInfo_ComponentStates.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStates proto.InternalMessageInfo
var xxx_messageInfo_ComponentStates proto.InternalMessageInfo
func (m *ServiceStates) GetStateCode() StateCode {
func (m *ComponentStates) GetState() *ComponentInfo {
if m != nil {
return m.StateCode
}
return StateCode_INITIALIZING
}
func (m *ServiceStates) GetNodeStates() []*NodeStates {
if m != nil {
return m.NodeStates
return m.State
}
return nil
}
func (m *ServiceStates) GetExtraInfo() []*commonpb.KeyValuePair {
func (m *ComponentStates) GetSubcomponentStates() []*commonpb.KeyValuePair {
if m != nil {
return m.ExtraInfo
return m.SubcomponentStates
}
return nil
}
@ -1478,8 +1470,8 @@ func (m *MsgPosition) GetTimestamp() uint64 {
func init() {
proto.RegisterEnum("milvus.proto.internal.StateCode", StateCode_name, StateCode_value)
proto.RegisterType((*NodeStates)(nil), "milvus.proto.internal.NodeStates")
proto.RegisterType((*ServiceStates)(nil), "milvus.proto.internal.ServiceStates")
proto.RegisterType((*ComponentInfo)(nil), "milvus.proto.internal.ComponentInfo")
proto.RegisterType((*ComponentStates)(nil), "milvus.proto.internal.ComponentStates")
proto.RegisterType((*NodeInfo)(nil), "milvus.proto.internal.NodeInfo")
proto.RegisterType((*InitParams)(nil), "milvus.proto.internal.InitParams")
proto.RegisterType((*StringList)(nil), "milvus.proto.internal.StringList")
@ -1505,84 +1497,85 @@ func init() {
func init() { proto.RegisterFile("internal.proto", fileDescriptor_41f4a519b878ee3b) }
var fileDescriptor_41f4a519b878ee3b = []byte{
// 1259 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcf, 0x6f, 0x1b, 0xc5,
0x17, 0xff, 0xae, 0xed, 0xd8, 0xde, 0xb7, 0x4e, 0x9a, 0xef, 0xaa, 0x3f, 0xb6, 0x50,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51, 0xf1, 0x1b, 0xd1, 0x13, 0x59, 0x99, 0x42, 0x95, 0x14, 0xb7, 0x0d, 0x54, 0x1a,
0xde, 0xfb, 0x18, 0xcc, 0xe2, 0xb5, 0x6b, 0xaf, 0x42, 0xc7, 0xdb, 0xf5, 0x0e, 0xbc, 0xcd, 0x6d,
0xef, 0x81, 0xb7, 0xfb, 0xc9, 0xea, 0xff, 0x6c, 0x0b, 0x5a, 0x77, 0x6f, 0x6f, 0x6e, 0x1f, 0xdc,
0xfd, 0x7c, 0xd5, 0xb0, 0x3b, 0xd0, 0xde, 0xec, 0xef, 0x7e, 0x8a, 0x76, 0x36, 0xb7, 0x57, 0x6b,
0xfd, 0xdb, 0x0f, 0xb6, 0x46, 0x54, 0x8c, 0xa7, 0x43, 0x49, 0xe2, 0xfa, 0x31, 0x8d, 0x22, 0x7a,
0x2c, 0x48, 0x30, 0x5e, 0xd7, 0x28, 0x3f, 0x08, 0x29, 0x17, 0x8c, 0x0e, 0xa7, 0x82, 0x84, 0xeb,
0x39, 0xd6, 0x75, 0x05, 0xbd, 0x98, 0x4e, 0x86, 0x1b, 0xc3, 0xa6, 0x32, 0xdd, 0xf8, 0x33, 0x00,
0x00, 0xff, 0xff, 0x3b, 0xf9, 0xfd, 0xe5, 0xa5, 0x10, 0x00, 0x00,
// 1272 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4f, 0x6f, 0x1b, 0xc5,
0x1b, 0xfe, 0xad, 0xed, 0xf8, 0xcf, 0x6b, 0x27, 0xcd, 0x6f, 0xe9, 0x9f, 0x2d, 0x14, 0xea, 0x2e,
0x05, 0x0c, 0x88, 0xa4, 0x4a, 0x11, 0x42, 0x5c, 0xda, 0x24, 0x6e, 0xe9, 0xaa, 0x49, 0x08, 0x13,
0xab, 0x12, 0xbd, 0xac, 0xc6, 0xde, 0x89, 0x3d, 0x74, 0x77, 0xc7, 0x9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x23, 0xff, 0x9b, 0xb6, 0x97, 0xa1, 0xe5, 0xed, 0x78, 0x3d, 0x6f, 0x7d, 0xcb, 0x7b, 0xe8, 0xed,
0x7c, 0xbc, 0xfc, 0x3f, 0xbb, 0x09, 0xb5, 0x7b, 0x77, 0xd6, 0xb7, 0x7a, 0xf7, 0x3e, 0x5b, 0xb6,
0xec, 0x16, 0xd4, 0xd7, 0x37, 0x76, 0x3e, 0x41, 0xdb, 0xeb, 0x5b, 0xcb, 0xa5, 0x8d, 0x3b, 0x0f,
0x37, 0x87, 0x54, 0x8e, 0x92, 0xbe, 0x12, 0x71, 0xf5, 0x90, 0x86, 0x21, 0x3d, 0x94, 0x64, 0x30,
0x5a, 0x35, 0x2c, 0xdf, 0x0b, 0xa8, 0x90, 0x9c, 0xf6, 0x13, 0x49, 0x82, 0xd5, 0x8c, 0xeb, 0xaa,
0xa6, 0x9e, 0x0f, 0xc7, 0xfd, 0xb5, 0x7e, 0x55, 0x43, 0x37, 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff,
0x6b, 0x80, 0x63, 0x47, 0x73, 0x10, 0x00, 0x00,
}

View File

@ -117,7 +117,7 @@ service MasterService {
// todo move to data service
rpc AssignSegmentID(data.AssignSegIDRequest) returns (data.AssignSegIDResponse) {}
rpc GetServiceStates(common.Empty) returns (internal.ServiceStates) {}
rpc GetComponentStates(common.Empty) returns (internal.ComponentStates) {}
rpc GetTimeTickChannel(common.Empty) returns (milvus.StringResponse) {}

View File

@ -242,52 +242,52 @@ func init() {
func init() { proto.RegisterFile("master.proto", fileDescriptor_f9c348dec43a6705) }
var fileDescriptor_f9c348dec43a6705 = []byte{
// 714 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x5b, 0x4f, 0xdb, 0x3c,
0x18, 0xc7, 0x39, 0xbd, 0xbc, 0xe2, 0xa1, 0x07, 0xe4, 0x71, 0x81, 0x32, 0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bf, 0x23, 0x33, 0x8c, 0xc6, 0x12,
0xfa, 0x2a, 0xd9, 0x41, 0x89, 0x87, 0xc4, 0xfe, 0xde, 0x99, 0x98, 0x94, 0x62, 0x67, 0x2e, 0xfb,
0x75, 0xfe, 0x9c, 0x0b, 0x9f, 0xd0, 0x71, 0x2a, 0xe8, 0xcf, 0x50, 0xe9, 0x62, 0x61, 0x8c, 0x16,
0x88, 0xbc, 0x82, 0xad, 0x2e, 0x96, 0xa1, 0x13, 0x2e, 0x88, 0xcd, 0x17, 0x87, 0x6e, 0xb7, 0xaf,
0xdf, 0x8f, 0x89, 0x98, 0x4c, 0xad, 0xe0, 0x76, 0xeb, 0x81, 0x38, 0x0e, 0x79, 0x10, 0xd8, 0x9e,
0xb4, 0xc2, 0x0b, 0x6f, 0x47, 0x84, 0x0b, 0x9f, 0x58, 0x53, 0x81, 0x47, 0xad, 0xb8, 0x9a, 0x2d,
0x89, 0x6c, 0x85, 0x53, 0xe1, 0x59, 0xd6, 0xba, 0x5c, 0x9f, 0xfd, 0x09, 0x00, 0x00, 0xff, 0xff,
0x65, 0x1d, 0xbf, 0x1d, 0x3d, 0x0a, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -366,7 +366,7 @@ type MasterServiceClient interface {
AllocID(ctx context.Context, in *IDRequest, opts ...grpc.CallOption) (*IDResponse, error)
// todo move to data service
AssignSegmentID(ctx context.Context, in *datapb.AssignSegIDRequest, opts ...grpc.CallOption) (*datapb.AssignSegIDResponse, error)
GetServiceStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ServiceStates, error)
GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error)
GetTimeTickChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetDdChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetStatisticsChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
@ -533,9 +533,9 @@ func (c *masterServiceClient) AssignSegmentID(ctx context.Context, in *datapb.As
return out, nil
}
func (c *masterServiceClient) GetServiceStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ServiceStates, error) {
out := new(internalpb2.ServiceStates)
err := c.cc.Invoke(ctx, "/milvus.proto.master.MasterService/GetServiceStates", in, out, opts...)
func (c *masterServiceClient) GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*internalpb2.ComponentStates, error) {
out := new(internalpb2.ComponentStates)
err := c.cc.Invoke(ctx, "/milvus.proto.master.MasterService/GetComponentStates", in, out, opts...)
if err != nil {
return nil, err
}
@ -635,7 +635,7 @@ type MasterServiceServer interface {
AllocID(context.Context, *IDRequest) (*IDResponse, error)
// todo move to data service
AssignSegmentID(context.Context, *datapb.AssignSegIDRequest) (*datapb.AssignSegIDResponse, error)
GetServiceStates(context.Context, *commonpb.Empty) (*internalpb2.ServiceStates, error)
GetComponentStates(context.Context, *commonpb.Empty) (*internalpb2.ComponentStates, error)
GetTimeTickChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
GetDdChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
GetStatisticsChannel(context.Context, *commonpb.Empty) (*milvuspb.StringResponse, error)
@ -696,8 +696,8 @@ func (*UnimplementedMasterServiceServer) AllocID(ctx context.Context, req *IDReq
func (*UnimplementedMasterServiceServer) AssignSegmentID(ctx context.Context, req *datapb.AssignSegIDRequest) (*datapb.AssignSegIDResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AssignSegmentID not implemented")
}
func (*UnimplementedMasterServiceServer) GetServiceStates(ctx context.Context, req *commonpb.Empty) (*internalpb2.ServiceStates, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetServiceStates not implemented")
func (*UnimplementedMasterServiceServer) GetComponentStates(ctx context.Context, req *commonpb.Empty) (*internalpb2.ComponentStates, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
}
func (*UnimplementedMasterServiceServer) GetTimeTickChannel(ctx context.Context, req *commonpb.Empty) (*milvuspb.StringResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetTimeTickChannel not implemented")
@ -1019,20 +1019,20 @@ func _MasterService_AssignSegmentID_Handler(srv interface{}, ctx context.Context
return interceptor(ctx, in, info, handler)
}
func _MasterService_GetServiceStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _MasterService_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(commonpb.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MasterServiceServer).GetServiceStates(ctx, in)
return srv.(MasterServiceServer).GetComponentStates(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.master.MasterService/GetServiceStates",
FullMethod: "/milvus.proto.master.MasterService/GetComponentStates",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MasterServiceServer).GetServiceStates(ctx, req.(*commonpb.Empty))
return srv.(MasterServiceServer).GetComponentStates(ctx, req.(*commonpb.Empty))
}
return interceptor(ctx, in, info, handler)
}
@ -1164,8 +1164,8 @@ var _MasterService_serviceDesc = grpc.ServiceDesc{
Handler: _MasterService_AssignSegmentID_Handler,
},
{
MethodName: "GetServiceStates",
Handler: _MasterService_GetServiceStates_Handler,
MethodName: "GetComponentStates",
Handler: _MasterService_GetComponentStates_Handler,
},
{
MethodName: "GetTimeTickChannel",

View File

@ -145,7 +145,7 @@ message GetStatsChannelResponse {
message ServiceStatesResponse {
common.Status status = 1;
internal.ServiceStates server_states = 2;
internal.ComponentStates server_states = 2;
}
service QueryService {
@ -163,7 +163,7 @@ service QueryService {
rpc GetTimeTickChannel(common.Empty) returns (GetTimeTickChannelResponse) {}
rpc GetStatsChannel(common.Empty) returns (GetStatsChannelResponse) {}
rpc GetPartitionStates(PartitionStatesRequest) returns (PartitionStatesResponse) {}
rpc GetServiceStates(common.Empty) returns (ServiceStatesResponse) {}
rpc GetComponentStates(common.Empty) returns (ServiceStatesResponse) {}
}
service QueryNode {

View File

@ -1222,11 +1222,11 @@ func (m *GetStatsChannelResponse) GetStatsChannelID() string {
}
type ServiceStatesResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
ServerStates *internalpb2.ServiceStates `protobuf:"bytes,2,opt,name=server_states,json=serverStates,proto3" json:"server_states,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
ServerStates *internalpb2.ComponentStates `protobuf:"bytes,2,opt,name=server_states,json=serverStates,proto3" json:"server_states,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStatesResponse) Reset() { *m = ServiceStatesResponse{} }
@ -1261,7 +1261,7 @@ func (m *ServiceStatesResponse) GetStatus() *commonpb.Status {
return nil
}
func (m *ServiceStatesResponse) GetServerStates() *internalpb2.ServiceStates {
func (m *ServiceStatesResponse) GetServerStates() *internalpb2.ComponentStates {
if m != nil {
return m.ServerStates
}
@ -1297,81 +1297,81 @@ func init() {
func init() { proto.RegisterFile("query_service.proto", fileDescriptor_5fcb6756dc1afb8d) }
var fileDescriptor_5fcb6756dc1afb8d = []byte{
// 1170 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x5d, 0x6f, 0x1b, 0x45,
0x17, 0xf6, 0xc6, 0x4e, 0xde, 0xfa, 0xc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0x04, 0xe7, 0x30, 0x90, 0x47, 0x50, 0xc9, 0x08, 0x3a, 0xf5, 0xf6,
0xa8, 0x55, 0xdf, 0x30, 0xef, 0x0f, 0xa1, 0x94, 0x50, 0x70, 0x0c, 0xdd, 0xee, 0x57, 0xe1, 0x69,
0x05, 0x34, 0xcc, 0xed, 0xd7, 0x50, 0x49, 0x2b, 0xa7, 0x3e, 0xbd, 0x5c, 0x29, 0xaf, 0x86, 0x39,
0xf7, 0x60, 0xb6, 0xe7, 0xcc, 0xbe, 0xc4, 0x23, 0xbb, 0xbd, 0x75, 0xf8, 0xc9, 0x31, 0xe5, 0x27,
0x9d, 0x56, 0xc8, 0x64, 0xe3, 0x9c, 0x3a, 0x0e, 0x3d, 0xe7, 0xc4, 0x3a, 0xd9, 0x90, 0x5e, 0x3e,
0xb0, 0x29, 0xe3, 0x01, 0x6d, 0x75, 0x38, 0xb1, 0x37, 0xba, 0xb7, 0xfb, 0x86, 0x70, 0xbd, 0x21,
0x5c, 0xb7, 0x5b, 0xad, 0x29, 0x31, 0xbc, 0xfb, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x90, 0x66,
0x45, 0xf8, 0x0a, 0x15, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -1397,7 +1397,7 @@ type QueryServiceClient interface {
GetTimeTickChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*GetTimeTickChannelResponse, error)
GetStatsChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*GetStatsChannelResponse, error)
GetPartitionStates(ctx context.Context, in *PartitionStatesRequest, opts ...grpc.CallOption) (*PartitionStatesResponse, error)
GetServiceStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*ServiceStatesResponse, error)
GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*ServiceStatesResponse, error)
}
type queryServiceClient struct {
@ -1507,9 +1507,9 @@ func (c *queryServiceClient) GetPartitionStates(ctx context.Context, in *Partiti
return out, nil
}
func (c *queryServiceClient) GetServiceStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*ServiceStatesResponse, error) {
func (c *queryServiceClient) GetComponentStates(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*ServiceStatesResponse, error) {
out := new(ServiceStatesResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryService/GetServiceStates", in, out, opts...)
err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryService/GetComponentStates", in, out, opts...)
if err != nil {
return nil, err
}
@ -1529,7 +1529,7 @@ type QueryServiceServer interface {
GetTimeTickChannel(context.Context, *commonpb.Empty) (*GetTimeTickChannelResponse, error)
GetStatsChannel(context.Context, *commonpb.Empty) (*GetStatsChannelResponse, error)
GetPartitionStates(context.Context, *PartitionStatesRequest) (*PartitionStatesResponse, error)
GetServiceStates(context.Context, *commonpb.Empty) (*ServiceStatesResponse, error)
GetComponentStates(context.Context, *commonpb.Empty) (*ServiceStatesResponse, error)
}
// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
@ -1569,8 +1569,8 @@ func (*UnimplementedQueryServiceServer) GetStatsChannel(ctx context.Context, req
func (*UnimplementedQueryServiceServer) GetPartitionStates(ctx context.Context, req *PartitionStatesRequest) (*PartitionStatesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetPartitionStates not implemented")
}
func (*UnimplementedQueryServiceServer) GetServiceStates(ctx context.Context, req *commonpb.Empty) (*ServiceStatesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetServiceStates not implemented")
func (*UnimplementedQueryServiceServer) GetComponentStates(ctx context.Context, req *commonpb.Empty) (*ServiceStatesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetComponentStates not implemented")
}
func RegisterQueryServiceServer(s *grpc.Server, srv QueryServiceServer) {
@ -1775,20 +1775,20 @@ func _QueryService_GetPartitionStates_Handler(srv interface{}, ctx context.Conte
return interceptor(ctx, in, info, handler)
}
func _QueryService_GetServiceStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
func _QueryService_GetComponentStates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(commonpb.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(QueryServiceServer).GetServiceStates(ctx, in)
return srv.(QueryServiceServer).GetComponentStates(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.query.QueryService/GetServiceStates",
FullMethod: "/milvus.proto.query.QueryService/GetComponentStates",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServiceServer).GetServiceStates(ctx, req.(*commonpb.Empty))
return srv.(QueryServiceServer).GetComponentStates(ctx, req.(*commonpb.Empty))
}
return interceptor(ctx, in, info, handler)
}
@ -1842,8 +1842,8 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{
Handler: _QueryService_GetPartitionStates_Handler,
},
{
MethodName: "GetServiceStates",
Handler: _QueryService_GetServiceStates_Handler,
MethodName: "GetComponentStates",
Handler: _QueryService_GetComponentStates_Handler,
},
},
Streams: []grpc.StreamDesc{},

View File

@ -25,7 +25,7 @@ func (s ProxyService) Stop() {
panic("implement me")
}
func (s ProxyService) GetServiceStates() (internalpb2.ServiceStates, error) {
func (s ProxyService) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -21,7 +21,7 @@ func (qs *QueryService) Stop() {
panic("implement me")
}
func (qs *QueryService) GetServiceStates() (internalpb2.ServiceStates, error) {
func (qs *QueryService) GetComponentStates() (*internalpb2.ComponentStates, error) {
panic("implement me")
}

View File

@ -11,7 +11,7 @@ type Service interface {
}
type Component interface {
GetServiceStates() (internalpb2.ServiceStates, error)
GetComponentStates() (*internalpb2.ComponentStates, error)
GetTimeTickChannel() (string, error)
GetStatisticsChannel() (string, error)
}