Disable register link logic, use proxy node directly

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/4973/head^2
dragondriver 2021-03-04 22:27:12 +08:00 committed by yefu.chen
parent c1d43134de
commit 801396e3ef
14 changed files with 227 additions and 154 deletions

View File

@ -11,7 +11,7 @@ INDEX_NODE_HOST=indexnode
QUERY_NODE_HOST1=querynode1
QUERY_NODE_HOST2=querynode2
DATA_NODE_HOST=datanode
PROXY_SERVICE_ADDRESS=proxyservice:19530
PROXY_SERVICE_ADDRESS=proxyservice:21122
INDEX_SERVICE_ADDRESS=indexservice:31000
DATA_SERVICE_ADDRESS=dataservice:13333
QUERY_SERVICE_ADDRESS=queryservice:19531

View File

@ -12,7 +12,7 @@ services:
- ../../..:/milvus-distributed:delegated
working_dir: "/milvus-distributed/tests/python"
command: >
/bin/bash -c "pytest --ip proxyservice -n 4"
/bin/bash -c "pytest --ip proxynode -n 4"
networks:
- milvus
@ -27,7 +27,7 @@ services:
- ../../..:/milvus-distributed:delegated
working_dir: "/milvus-distributed/tests/python_test"
command: >
/bin/bash -c "pytest --tags=0331 --ip proxyservice -n 4"
/bin/bash -c "sleep 10s && pytest -s --tags=0331 --ip proxynode -n 4"
networks:
- milvus

View File

@ -47,7 +47,7 @@ master:
port: 53100
proxyNode:
port: 21122
port: 19530
queryService:
address: localhost
@ -55,7 +55,7 @@ queryService:
proxyService:
address: localhost
port: 19530
port: 21122
queryNode:
gracefulTime: 5000 #ms

View File

@ -1610,7 +1610,7 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE(
"n.Address\022+\n\006status\030\002 \001(\0132\033.milvus.proto"
".common.Status*@\n\017PlaceholderType\022\010\n\004NON"
"E\020\000\022\021\n\rVECTOR_BINARY\020d\022\020\n\014VECTOR_FLOAT\020e"
"2\276\023\n\rMilvusService\022_\n\020CreateCollection\022,"
"2\227\024\n\rMilvusService\022_\n\020CreateCollection\022,"
".milvus.proto.milvus.CreateCollectionReq"
"uest\032\033.milvus.proto.common.Status\"\000\022[\n\016D"
"ropCollection\022*.milvus.proto.milvus.Drop"
@ -1672,11 +1672,14 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE(
"gmentInfoResponse\"\000\022t\n\023GetQuerySegmentIn"
"fo\022,.milvus.proto.milvus.QuerySegmentInf"
"oRequest\032-.milvus.proto.milvus.QuerySegm"
"entInfoResponse\"\0002g\n\014ProxyService\022W\n\014Reg"
"isterLink\022\032.milvus.proto.common.Empty\032)."
"milvus.proto.milvus.RegisterLinkResponse"
"\"\000BBZ@github.com/zilliztech/milvus-distr"
"ibuted/internal/proto/milvuspbb\006proto3"
"entInfoResponse\"\000\022W\n\014RegisterLink\022\032.milv"
"us.proto.common.Empty\032).milvus.proto.mil"
"vus.RegisterLinkResponse\"\0002g\n\014ProxyServi"
"ce\022W\n\014RegisterLink\022\032.milvus.proto.common"
".Empty\032).milvus.proto.milvus.RegisterLin"
"kResponse\"\000BBZ@github.com/zilliztech/mil"
"vus-distributed/internal/proto/milvuspbb"
"\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_milvus_2eproto_deps[2] = {
&::descriptor_table_common_2eproto,
@ -1735,7 +1738,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_milvus_2eproto_once;
static bool descriptor_table_milvus_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_milvus_2eproto = {
&descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 8718,
&descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 8807,
&descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 48, 2,
schemas, file_default_instances, TableStruct_milvus_2eproto::offsets,
file_level_metadata_milvus_2eproto, 48, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto,

View File

@ -150,14 +150,14 @@ Insert(CSegmentInterface c_segment,
void* raw_data,
int sizeof_per_row,
int64_t count) {
auto segment = (milvus::segcore::SegmentGrowing*)c_segment;
milvus::segcore::RowBasedRawData dataChunk{};
dataChunk.raw_data = raw_data;
dataChunk.sizeof_per_row = sizeof_per_row;
dataChunk.count = count;
try {
auto segment = (milvus::segcore::SegmentGrowing*)c_segment;
milvus::segcore::RowBasedRawData dataChunk{};
dataChunk.raw_data = raw_data;
dataChunk.sizeof_per_row = sizeof_per_row;
dataChunk.count = count;
auto res = segment->Insert(reserved_offset, size, row_ids, timestamps, dataChunk);
auto status = CStatus();

View File

@ -108,6 +108,7 @@ func (s *Server) Run() error {
}
func (s *Server) init() error {
ctx := context.Background()
var err error
Params.Init()
if !funcutil.CheckPortAvailable(Params.Port) {
@ -174,6 +175,11 @@ func (s *Server) init() error {
if err != nil {
return err
}
err = funcutil.WaitForComponentHealthy(ctx, s.masterServiceClient, "MasterService", 100, time.Millisecond*200)
if err != nil {
panic(err)
}
s.impl.SetMasterClient(s.masterServiceClient)
log.Println("set master client ...")
@ -354,3 +360,7 @@ func (s *Server) GetQuerySegmentInfo(ctx context.Context, request *milvuspb.Quer
return s.impl.GetQuerySegmentInfo(ctx, request)
}
func (s *Server) RegisterLink(ctx context.Context, empty *commonpb.Empty) (*milvuspb.RegisterLinkResponse, error) {
return s.impl.RegisterLink(empty)
}

View File

@ -353,6 +353,7 @@ service MilvusService {
rpc GetPersistentSegmentInfo(PersistentSegmentInfoRequest) returns (PersistentSegmentInfoResponse) {}
rpc GetQuerySegmentInfo(QuerySegmentInfoRequest) returns (QuerySegmentInfoResponse) {}
rpc RegisterLink(common.Empty) returns (RegisterLinkResponse) {}
}
message RegisterLinkResponse {

View File

@ -2896,132 +2896,132 @@ func init() {
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
var fileDescriptor_02345ba45cc0e303 = []byte{
// 1991 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0xdd, 0x6f, 0x1b, 0x4b,
0x15, 0xcf, 0xd8, 0x8e, 0x93, 0x9c, 0xac, 0x13, 0x67, 0xf2, 0xe5, 0xfa, 0xb6, 0xdc, 0x74, 0xa1,
0xb7, 0xe9, 0x67, 0x20, 0x97, 0x4f, 0x21, 0xa4, 0x36, 0x4d, 0x6f, 0x6a, 0xb5, 0xb7, 0x4d, 0xd7,
0xe1, 0x42, 0xb9, 0xaa, 0xcc, 0xda, 0x3b, 0xb5, 0x97, 0xbb, 0xde, 0x35, 0x3b, 0xe3, 0xa4, 0xe9,
0x13, 0xa2, 0x08, 0x24, 0xee, 0x15, 0xe2, 0x09, 0x89, 0x57, 0x24, 0x5e, 0x11, 0x5c, 0x10, 0x8f,
0x3c, 0x81, 0x84, 0xc4, 0xdf, 0xc1, 0x13, 0xe2, 0x4f, 0x40, 0x42, 0x33, 0xb3, 0xde, 0xec, 0xae,
0x67, 0x6d, 0xb7, 0xbe, 0xb7, 0x71, 0xde, 0x3c, 0x67, 0xcf, 0xcc, 0xfc, 0xce, 0x99, 0x73, 0xce,
0x9c, 0x39, 0xc7, 0xa0, 0xb5, 0x6d, 0xe7, 0xb0, 0x4b, 0x6f, 0x76, 0x7c, 0x8f, 0x79, 0x78, 0x39,
0x3a, 0xba, 0x29, 0x07, 0x65, 0xad, 0xe1, 0xb5, 0xdb, 0x9e, 0x2b, 0x89, 0x65, 0x8d, 0x36, 0x5a,
0xa4, 0x6d, 0xca, 0x91, 0xfe, 0x7b, 0x04, 0xeb, 0x77, 0x7c, 0x62, 0x32, 0x72, 0xc7, 0x73, 0x1c,
0xd2, 0x60, 0xb6, 0xe7, 0x1a, 0xe4, 0xc7, 0x5d, 0x42, 0x19, 0xfe, 0x32, 0xe4, 0xea, 0x26, 0x25,
0x25, 0xb4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0x2b, 0xaf, 0x90,
0xe1, 0x07, 0x12, 0x6c, 0xbf, 0xca, 0x94, 0x10, 0x05, 0x83, 0xe5, 0x3d, 0xc2, 0xfa, 0x5e, 0x06,
0xd7, 0x47, 0xcb, 0x2b, 0x83, 0xad, 0x6f, 0x8c, 0xc8, 0x1d, 0xee, 0xfa, 0x3d, 0xd0, 0xa2, 0x79,
0xe8, 0x40, 0x75, 0x5e, 0x49, 0x89, 0x89, 0xfd, 0x69, 0xac, 0x3e, 0xb5, 0xdd, 0x04, 0x6d, 0xdf,
0xf7, 0x9e, 0x1f, 0xf7, 0xf2, 0xc2, 0x37, 0xb5, 0xd1, 0xce, 0xce, 0x0f, 0x6e, 0x35, 0x6d, 0xd6,
0xea, 0xd6, 0xf9, 0x1a, 0x5b, 0x2f, 0x6c, 0xc7, 0xb1, 0x5f, 0x30, 0xd2, 0x68, 0x6d, 0xc9, 0x69,
0x37, 0x2c, 0x9b, 0x32, 0xdf, 0xae, 0x77, 0x19, 0xb1, 0xb6, 0x6c, 0x97, 0x11, 0xdf, 0x35, 0x9d,
0x2d, 0xb1, 0x70, 0xc0, 0xd1, 0xa9, 0xd7, 0xf3, 0x62, 0xfc, 0xee, 0xff, 0x03, 0x00, 0x00, 0xff,
0xff, 0xc1, 0x29, 0x3b, 0x4a, 0xec, 0x28, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -3061,6 +3061,7 @@ type MilvusServiceClient interface {
GetDdChannel(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*StringResponse, error)
GetPersistentSegmentInfo(ctx context.Context, in *PersistentSegmentInfoRequest, opts ...grpc.CallOption) (*PersistentSegmentInfoResponse, error)
GetQuerySegmentInfo(ctx context.Context, in *QuerySegmentInfoRequest, opts ...grpc.CallOption) (*QuerySegmentInfoResponse, error)
RegisterLink(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*RegisterLinkResponse, error)
}
type milvusServiceClient struct {
@ -3296,6 +3297,15 @@ func (c *milvusServiceClient) GetQuerySegmentInfo(ctx context.Context, in *Query
return out, nil
}
func (c *milvusServiceClient) RegisterLink(ctx context.Context, in *commonpb.Empty, opts ...grpc.CallOption) (*RegisterLinkResponse, error) {
out := new(RegisterLinkResponse)
err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/RegisterLink", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MilvusServiceServer is the server API for MilvusService service.
type MilvusServiceServer interface {
CreateCollection(context.Context, *CreateCollectionRequest) (*commonpb.Status, error)
@ -3323,6 +3333,7 @@ type MilvusServiceServer interface {
GetDdChannel(context.Context, *commonpb.Empty) (*StringResponse, error)
GetPersistentSegmentInfo(context.Context, *PersistentSegmentInfoRequest) (*PersistentSegmentInfoResponse, error)
GetQuerySegmentInfo(context.Context, *QuerySegmentInfoRequest) (*QuerySegmentInfoResponse, error)
RegisterLink(context.Context, *commonpb.Empty) (*RegisterLinkResponse, error)
}
// UnimplementedMilvusServiceServer can be embedded to have forward compatible implementations.
@ -3404,6 +3415,9 @@ func (*UnimplementedMilvusServiceServer) GetPersistentSegmentInfo(ctx context.Co
func (*UnimplementedMilvusServiceServer) GetQuerySegmentInfo(ctx context.Context, req *QuerySegmentInfoRequest) (*QuerySegmentInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetQuerySegmentInfo not implemented")
}
func (*UnimplementedMilvusServiceServer) RegisterLink(ctx context.Context, req *commonpb.Empty) (*RegisterLinkResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method RegisterLink not implemented")
}
func RegisterMilvusServiceServer(s *grpc.Server, srv MilvusServiceServer) {
s.RegisterService(&_MilvusService_serviceDesc, srv)
@ -3859,6 +3873,24 @@ func _MilvusService_GetQuerySegmentInfo_Handler(srv interface{}, ctx context.Con
return interceptor(ctx, in, info, handler)
}
func _MilvusService_RegisterLink_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.(MilvusServiceServer).RegisterLink(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/milvus.proto.milvus.MilvusService/RegisterLink",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MilvusServiceServer).RegisterLink(ctx, req.(*commonpb.Empty))
}
return interceptor(ctx, in, info, handler)
}
var _MilvusService_serviceDesc = grpc.ServiceDesc{
ServiceName: "milvus.proto.milvus.MilvusService",
HandlerType: (*MilvusServiceServer)(nil),
@ -3963,6 +3995,10 @@ var _MilvusService_serviceDesc = grpc.ServiceDesc{
MethodName: "GetQuerySegmentInfo",
Handler: _MilvusService_GetQuerySegmentInfo_Handler,
},
{
MethodName: "RegisterLink",
Handler: _MilvusService_RegisterLink_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "milvus.proto",

View File

@ -21,7 +21,7 @@ const (
)
func (node *NodeImpl) UpdateStateCode(code internalpb2.StateCode) {
node.stateCode = code
node.stateCode.Store(code)
}
func (node *NodeImpl) InvalidateCollectionMetaCache(ctx context.Context, request *proxypb.InvalidateCollMetaCacheRequest) (*commonpb.Status, error) {
@ -896,3 +896,23 @@ func (node *NodeImpl) getSegmentsOfCollection(ctx context.Context, dbName string
}
return ret, nil
}
func (node *NodeImpl) RegisterLink(request *commonpb.Empty) (*milvuspb.RegisterLinkResponse, error) {
code := node.stateCode.Load().(internalpb2.StateCode)
if code != internalpb2.StateCode_HEALTHY {
return &milvuspb.RegisterLinkResponse{
Address: nil,
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_UNEXPECTED_ERROR,
Reason: "proxy node not healthy",
},
}, nil
}
return &milvuspb.RegisterLinkResponse{
Address: nil,
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_SUCCESS,
Reason: "",
},
}, nil
}

View File

@ -6,6 +6,7 @@ import (
"log"
"math/rand"
"sync"
"sync/atomic"
"time"
"github.com/zilliztech/milvus-distributed/internal/proto/proxypb"
@ -33,7 +34,7 @@ type NodeImpl struct {
ip string
port int
stateCode internalpb2.StateCode
stateCode atomic.Value
masterClient MasterClient
indexServiceClient IndexServiceClient
@ -65,7 +66,7 @@ func NewProxyNodeImpl(ctx context.Context, factory msgstream.Factory) (*NodeImpl
cancel: cancel,
msFactory: factory,
}
node.UpdateStateCode(internalpb2.StateCode_ABNORMAL)
return node, nil
}
@ -165,9 +166,6 @@ func (node *NodeImpl) Init() error {
Params.SearchResultChannelNames = []string{resp.ResultChannel}
}
node.UpdateStateCode(internalpb2.StateCode_HEALTHY)
log.Println("proxy node is healthy ...")
// todo
//Params.InsertChannelNames, err = node.dataServiceClient.GetInsertChannels()
//if err != nil {
@ -264,6 +262,9 @@ func (node *NodeImpl) Start() error {
cb()
}
node.UpdateStateCode(internalpb2.StateCode_HEALTHY)
log.Println("proxy node is healthy ...")
return nil
}

View File

@ -2,7 +2,7 @@ grpcio==1.26.0
grpcio-tools==1.26.0
numpy==1.18.1
pytest-cov==2.8.1
pymilvus-distributed==0.0.34
pymilvus-distributed==0.0.35
sklearn==0.0
pytest==4.5.0
pytest-timeout==1.3.3

View File

@ -820,8 +820,8 @@ class TestIndexAsync:
@pytest.mark.level(2)
def test_create_index_with_invalid_collectionname(self, connect):
collection_name = " "
future = connect.create_index(collection_name, field_name, default_index, _async=True)
with pytest.raises(Exception) as e:
future = connect.create_index(collection_name, field_name, default_index, _async=True)
res = future.result()
@pytest.mark.timeout(BUILD_TIMEOUT)

View File

@ -77,6 +77,7 @@ def check_server_connection(request):
@pytest.fixture(scope="module")
def connect(request):
ip = request.config.getoption("--ip")
print("[debug] ip: ", ip)
service_name = request.config.getoption("--service")
port = request.config.getoption("--port")
http_port = request.config.getoption("--http-port")
@ -85,6 +86,7 @@ def connect(request):
port = http_port
try:
milvus = get_milvus(host=ip, port=port, handler=handler)
print("[debug] collections: ", milvus.list_collections())
# reset_build_index_threshold(milvus)
except Exception as e:
logging.getLogger().error(str(e))

View File

@ -2,7 +2,7 @@ grpcio==1.26.0
grpcio-tools==1.26.0
numpy==1.18.1
pytest-cov==2.8.1
pymilvus-distributed==0.0.34
pymilvus-distributed==0.0.35
sklearn==0.0
pytest==4.5.0
pytest-timeout==1.3.3