|
|
|
@ -8,6 +8,7 @@ import (
|
|
|
|
|
fmt "fmt"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
commonpb "github.com/milvus-io/milvus/internal/proto/commonpb"
|
|
|
|
|
datapb "github.com/milvus-io/milvus/internal/proto/datapb"
|
|
|
|
|
internalpb "github.com/milvus-io/milvus/internal/proto/internalpb"
|
|
|
|
|
milvuspb "github.com/milvus-io/milvus/internal/proto/milvuspb"
|
|
|
|
|
proxypb "github.com/milvus-io/milvus/internal/proto/proxypb"
|
|
|
|
@ -242,53 +243,56 @@ func init() {
|
|
|
|
|
func init() { proto.RegisterFile("root_coord.proto", fileDescriptor_4513485a144f6b06) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_4513485a144f6b06 = []byte{
|
|
|
|
|
// 732 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
// 783 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xdb, 0x4f, 0xdb, 0x30,
|
|
|
|
|
0x14, 0xc6, 0x69, 0x61, 0x4c, 0x1c, 0xda, 0x82, 0x2c, 0x60, 0xa8, 0xe3, 0x81, 0x75, 0x1a, 0xb4,
|
|
|
|
|
0x5c, 0x52, 0x04, 0xd2, 0xb4, 0xd7, 0xd1, 0x4a, 0x50, 0x69, 0x48, 0x23, 0x05, 0x69, 0x37, 0x54,
|
|
|
|
|
0xb9, 0xc1, 0x6a, 0x23, 0x12, 0x3b, 0xc4, 0xee, 0x60, 0x8f, 0xfb, 0xb7, 0xf7, 0x34, 0xe5, 0x62,
|
|
|
|
|
0x37, 0x49, 0x93, 0x10, 0xb4, 0xbd, 0xc5, 0xf1, 0xcf, 0xdf, 0xe7, 0x73, 0x91, 0x8e, 0x61, 0xd5,
|
|
|
|
|
0x65, 0x4c, 0x0c, 0x0c, 0xc6, 0xdc, 0x5b, 0xcd, 0x71, 0x99, 0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fc, 0x41, 0x1f, 0xf3, 0x91,
|
|
|
|
|
0xf3, 0x3a, 0xd0, 0x51, 0xe0, 0x80, 0x34, 0x12, 0x0a, 0x8a, 0xa5, 0x33, 0x94, 0xd5, 0x81, 0xe2,
|
|
|
|
|
0xe9, 0x60, 0xf0, 0x09, 0xe5, 0x5f, 0x87, 0xbc, 0x8a, 0xf2, 0xce, 0x1b, 0x56, 0x8a, 0x3f, 0x2e,
|
|
|
|
|
0x77, 0xf6, 0xfe, 0xdb, 0xbb, 0xa1, 0x26, 0x46, 0xe3, 0xbe, 0x33, 0xd3, 0xf0, 0xd0, 0x43, 0x8d,
|
|
|
|
|
0xf9, 0xbf, 0x1a, 0x72, 0xbb, 0x0d, 0x77, 0x75, 0x23, 0x88, 0xd4, 0xea, 0xf7, 0x17, 0xdd, 0x4f,
|
|
|
|
|
0x27, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x50, 0xce, 0xa8, 0x25, 0x99, 0x0b, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
@ -370,6 +374,8 @@ type RootCoordClient interface {
|
|
|
|
|
AllocID(ctx context.Context, in *AllocIDRequest, opts ...grpc.CallOption) (*AllocIDResponse, error)
|
|
|
|
|
UpdateChannelTimeTick(ctx context.Context, in *internalpb.ChannelTimeTickMsg, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
|
ReleaseDQLMessageStream(ctx context.Context, in *proxypb.ReleaseDQLMessageStreamRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
|
SegmentFlushCompleted(ctx context.Context, in *internalpb.SegmentFlushCompletedMsg, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
|
AddNewSegment(ctx context.Context, in *datapb.SegmentMsg, opts ...grpc.CallOption) (*commonpb.Status, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type rootCoordClient struct {
|
|
|
|
@ -569,6 +575,24 @@ func (c *rootCoordClient) ReleaseDQLMessageStream(ctx context.Context, in *proxy
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *rootCoordClient) SegmentFlushCompleted(ctx context.Context, in *internalpb.SegmentFlushCompletedMsg, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/SegmentFlushCompleted", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *rootCoordClient) AddNewSegment(ctx context.Context, in *datapb.SegmentMsg, opts ...grpc.CallOption) (*commonpb.Status, error) {
|
|
|
|
|
out := new(commonpb.Status)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/milvus.proto.rootcoord.RootCoord/AddNewSegment", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// RootCoordServer is the server API for RootCoord service.
|
|
|
|
|
type RootCoordServer interface {
|
|
|
|
|
GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error)
|
|
|
|
@ -638,6 +662,8 @@ type RootCoordServer interface {
|
|
|
|
|
AllocID(context.Context, *AllocIDRequest) (*AllocIDResponse, error)
|
|
|
|
|
UpdateChannelTimeTick(context.Context, *internalpb.ChannelTimeTickMsg) (*commonpb.Status, error)
|
|
|
|
|
ReleaseDQLMessageStream(context.Context, *proxypb.ReleaseDQLMessageStreamRequest) (*commonpb.Status, error)
|
|
|
|
|
SegmentFlushCompleted(context.Context, *internalpb.SegmentFlushCompletedMsg) (*commonpb.Status, error)
|
|
|
|
|
AddNewSegment(context.Context, *datapb.SegmentMsg) (*commonpb.Status, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedRootCoordServer can be embedded to have forward compatible implementations.
|
|
|
|
@ -707,6 +733,12 @@ func (*UnimplementedRootCoordServer) UpdateChannelTimeTick(ctx context.Context,
|
|
|
|
|
func (*UnimplementedRootCoordServer) ReleaseDQLMessageStream(ctx context.Context, req *proxypb.ReleaseDQLMessageStreamRequest) (*commonpb.Status, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method ReleaseDQLMessageStream not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedRootCoordServer) SegmentFlushCompleted(ctx context.Context, req *internalpb.SegmentFlushCompletedMsg) (*commonpb.Status, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SegmentFlushCompleted not implemented")
|
|
|
|
|
}
|
|
|
|
|
func (*UnimplementedRootCoordServer) AddNewSegment(ctx context.Context, req *datapb.SegmentMsg) (*commonpb.Status, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddNewSegment not implemented")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterRootCoordServer(s *grpc.Server, srv RootCoordServer) {
|
|
|
|
|
s.RegisterService(&_RootCoord_serviceDesc, srv)
|
|
|
|
@ -1090,6 +1122,42 @@ func _RootCoord_ReleaseDQLMessageStream_Handler(srv interface{}, ctx context.Con
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _RootCoord_SegmentFlushCompleted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(internalpb.SegmentFlushCompletedMsg)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(RootCoordServer).SegmentFlushCompleted(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/SegmentFlushCompleted",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(RootCoordServer).SegmentFlushCompleted(ctx, req.(*internalpb.SegmentFlushCompletedMsg))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _RootCoord_AddNewSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(datapb.SegmentMsg)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(RootCoordServer).AddNewSegment(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/milvus.proto.rootcoord.RootCoord/AddNewSegment",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(RootCoordServer).AddNewSegment(ctx, req.(*datapb.SegmentMsg))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var _RootCoord_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "milvus.proto.rootcoord.RootCoord",
|
|
|
|
|
HandlerType: (*RootCoordServer)(nil),
|
|
|
|
@ -1178,6 +1246,14 @@ var _RootCoord_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "ReleaseDQLMessageStream",
|
|
|
|
|
Handler: _RootCoord_ReleaseDQLMessageStream_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "SegmentFlushCompleted",
|
|
|
|
|
Handler: _RootCoord_SegmentFlushCompleted_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "AddNewSegment",
|
|
|
|
|
Handler: _RootCoord_AddNewSegment_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "root_coord.proto",
|
|
|
|
|