diff --git a/internal/core/src/pb/common.pb.cc b/internal/core/src/pb/common.pb.cc index 1ef3764cd4..b4bd8504ce 100644 --- a/internal/core/src/pb/common.pb.cc +++ b/internal/core/src/pb/common.pb.cc @@ -284,7 +284,7 @@ const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE( "ssued\020\001\022\016\n\nInProgress\020\002\022\014\n\010Finished\020\003\022\n\n" "\006Failed\020\004*f\n\014SegmentState\022\024\n\020SegmentStat" "eNone\020\000\022\014\n\010NotExist\020\001\022\013\n\007Growing\020\002\022\n\n\006Se" - "aled\020\003\022\013\n\007Flushed\020\004\022\014\n\010Flushing\020\005*\344\010\n\007Ms" + "aled\020\003\022\013\n\007Flushed\020\004\022\014\n\010Flushing\020\005*\375\010\n\007Ms" "gType\022\r\n\tUndefined\020\000\022\024\n\020CreateCollection" "\020d\022\022\n\016DropCollection\020e\022\021\n\rHasCollection\020" "f\022\026\n\022DescribeCollection\020g\022\023\n\017ShowCollect" @@ -307,15 +307,16 @@ const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE( "eve\020\372\003\022\023\n\016RetrieveResult\020\373\003\022\024\n\017WatchDmCh" "annels\020\374\003\022\025\n\020RemoveDmChannels\020\375\003\022\027\n\022Watc" "hQueryChannels\020\376\003\022\030\n\023RemoveQueryChannels" - "\020\377\003\022\035\n\030SealedSegmentsChangeInfo\020\200\004\022\020\n\013Se" - "gmentInfo\020\330\004\022\017\n\nSystemInfo\020\331\004\022\r\n\010TimeTic" - "k\020\260\t\022\023\n\016QueryNodeStats\020\261\t\022\016\n\tLoadIndex\020\262" - "\t\022\016\n\tRequestID\020\263\t\022\017\n\nRequestTSO\020\264\t\022\024\n\017Al" - "locateSegment\020\265\t\022\026\n\021SegmentStatistics\020\266\t" - "\022\025\n\020SegmentFlushDone\020\267\t\022\017\n\nDataNodeTt\020\270\t" - "*\"\n\007DslType\022\007\n\003Dsl\020\000\022\016\n\nBoolExprV1\020\001B5Z3" - "github.com/milvus-io/milvus/internal/pro" - "to/commonpbb\006proto3" + "\020\377\003\022\035\n\030SealedSegmentsChangeInfo\020\200\004\022\027\n\022Wa" + "tchDeltaChannels\020\201\004\022\020\n\013SegmentInfo\020\330\004\022\017\n" + "\nSystemInfo\020\331\004\022\r\n\010TimeTick\020\260\t\022\023\n\016QueryNo" + "deStats\020\261\t\022\016\n\tLoadIndex\020\262\t\022\016\n\tRequestID\020" + "\263\t\022\017\n\nRequestTSO\020\264\t\022\024\n\017AllocateSegment\020\265" + "\t\022\026\n\021SegmentStatistics\020\266\t\022\025\n\020SegmentFlus" + "hDone\020\267\t\022\017\n\nDataNodeTt\020\270\t*\"\n\007DslType\022\007\n\003" + "Dsl\020\000\022\016\n\nBoolExprV1\020\001B5Z3github.com/milv" + "us-io/milvus/internal/proto/commonpbb\006pr" + "oto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_common_2eproto_deps[1] = { }; @@ -332,7 +333,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_com static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_common_2eproto_once; static bool descriptor_table_common_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_2eproto = { - &descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2499, + &descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2524, &descriptor_table_common_2eproto_once, descriptor_table_common_2eproto_sccs, descriptor_table_common_2eproto_deps, 8, 0, schemas, file_default_instances, TableStruct_common_2eproto::offsets, file_level_metadata_common_2eproto, 8, file_level_enum_descriptors_common_2eproto, file_level_service_descriptors_common_2eproto, @@ -467,6 +468,7 @@ bool MsgType_IsValid(int value) { case 510: case 511: case 512: + case 513: case 600: case 601: case 1200: diff --git a/internal/core/src/pb/common.pb.h b/internal/core/src/pb/common.pb.h index fd6d29ed2b..e289b271ef 100644 --- a/internal/core/src/pb/common.pb.h +++ b/internal/core/src/pb/common.pb.h @@ -251,6 +251,7 @@ enum MsgType : int { WatchQueryChannels = 510, RemoveQueryChannels = 511, SealedSegmentsChangeInfo = 512, + WatchDeltaChannels = 513, SegmentInfo = 600, SystemInfo = 601, TimeTick = 1200, diff --git a/internal/distributed/querynode/client/client.go b/internal/distributed/querynode/client/client.go index 6bb1688e8b..9233eb4edd 100644 --- a/internal/distributed/querynode/client/client.go +++ b/internal/distributed/querynode/client/client.go @@ -289,6 +289,22 @@ func (c *Client) WatchDmChannels(ctx context.Context, req *querypb.WatchDmChanne return ret.(*commonpb.Status), err } +// WatchDeltaChannels watches the channels about data manipulation. +func (c *Client) WatchDeltaChannels(ctx context.Context, req *querypb.WatchDeltaChannelsRequest) (*commonpb.Status, error) { + ret, err := c.recall(func() (interface{}, error) { + client, err := c.getGrpcClient() + if err != nil { + return nil, err + } + + return client.WatchDeltaChannels(ctx, req) + }) + if err != nil || ret == nil { + return nil, err + } + return ret.(*commonpb.Status), err +} + // LoadSegments loads the segments to search. func (c *Client) LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { diff --git a/internal/distributed/querynode/client/client_test.go b/internal/distributed/querynode/client/client_test.go index f830381716..6c3c73e384 100644 --- a/internal/distributed/querynode/client/client_test.go +++ b/internal/distributed/querynode/client/client_test.go @@ -57,6 +57,10 @@ func (m *MockQueryNodeClient) WatchDmChannels(ctx context.Context, in *querypb.W return &commonpb.Status{}, m.err } +func (m *MockQueryNodeClient) WatchDeltaChannels(ctx context.Context, in *querypb.WatchDeltaChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + return &commonpb.Status{}, m.err +} + func (m *MockQueryNodeClient) LoadSegments(ctx context.Context, in *querypb.LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { return &commonpb.Status{}, m.err } @@ -148,6 +152,9 @@ func Test_NewClient(t *testing.T) { r12, err := client.GetMetrics(ctx, nil) retCheck(retNotNil, r12, err) + + r13, err := client.WatchDeltaChannels(ctx, nil) + retCheck(retNotNil, r13, err) } client.getGrpcClient = func() (querypb.QueryNodeClient, error) { diff --git a/internal/distributed/querynode/service.go b/internal/distributed/querynode/service.go index a6943acbf7..535f79ca74 100644 --- a/internal/distributed/querynode/service.go +++ b/internal/distributed/querynode/service.go @@ -308,6 +308,12 @@ func (s *Server) WatchDmChannels(ctx context.Context, req *querypb.WatchDmChanne return s.querynode.WatchDmChannels(ctx, req) } +// WatchDeltaChannels watches the channels about data manipulation. +func (s *Server) WatchDeltaChannels(ctx context.Context, req *querypb.WatchDeltaChannelsRequest) (*commonpb.Status, error) { + // ignore ctx + return s.querynode.WatchDeltaChannels(ctx, req) +} + // LoadSegments loads the segments to search. func (s *Server) LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error) { // ignore ctx diff --git a/internal/distributed/querynode/service_test.go b/internal/distributed/querynode/service_test.go index efaaffca4f..4fb882e7f1 100644 --- a/internal/distributed/querynode/service_test.go +++ b/internal/distributed/querynode/service_test.go @@ -84,6 +84,10 @@ func (m *MockQueryNode) WatchDmChannels(ctx context.Context, req *querypb.WatchD return m.status, m.err } +func (m *MockQueryNode) WatchDeltaChannels(ctx context.Context, req *querypb.WatchDeltaChannelsRequest) (*commonpb.Status, error) { + return m.status, m.err +} + func (m *MockQueryNode) LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error) { return m.status, m.err } diff --git a/internal/proto/common.proto b/internal/proto/common.proto index 2c25f64be0..f3313c05cb 100644 --- a/internal/proto/common.proto +++ b/internal/proto/common.proto @@ -134,6 +134,7 @@ enum MsgType { WatchQueryChannels = 510; RemoveQueryChannels = 511; SealedSegmentsChangeInfo = 512; + WatchDeltaChannels = 513; /* DATA SERVICE */ SegmentInfo = 600; @@ -173,4 +174,4 @@ message MsgHeader { message DMLMsgHeader { common.MsgBase base = 1; string shardName = 2; -} \ No newline at end of file +} diff --git a/internal/proto/commonpb/common.pb.go b/internal/proto/commonpb/common.pb.go index 6f104846c5..bfbc790c1f 100644 --- a/internal/proto/commonpb/common.pb.go +++ b/internal/proto/commonpb/common.pb.go @@ -245,6 +245,7 @@ const ( MsgType_WatchQueryChannels MsgType = 510 MsgType_RemoveQueryChannels MsgType = 511 MsgType_SealedSegmentsChangeInfo MsgType = 512 + MsgType_WatchDeltaChannels MsgType = 513 // DATA SERVICE MsgType_SegmentInfo MsgType = 600 MsgType_SystemInfo MsgType = 601 @@ -305,6 +306,7 @@ var MsgType_name = map[int32]string{ 510: "WatchQueryChannels", 511: "RemoveQueryChannels", 512: "SealedSegmentsChangeInfo", + 513: "WatchDeltaChannels", 600: "SegmentInfo", 601: "SystemInfo", 1200: "TimeTick", @@ -363,6 +365,7 @@ var MsgType_value = map[string]int32{ "WatchQueryChannels": 510, "RemoveQueryChannels": 511, "SealedSegmentsChangeInfo": 512, + "WatchDeltaChannels": 513, "SegmentInfo": 600, "SystemInfo": 601, "TimeTick": 1200, @@ -806,92 +809,92 @@ func init() { func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) } var fileDescriptor_555bd8c177793206 = []byte{ - // 1380 bytes of a gzipped FileDescriptorProto + // 1390 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4b, 0x73, 0x1b, 0x37, 0x12, 0xd6, 0x70, 0x28, 0x51, 0x84, 0x28, 0x09, 0x82, 0x1e, 0x96, 0xbd, 0xda, 0x2d, 0x17, 0x4f, 0x2e, 0x55, 0x59, 0xda, 0x5d, 0xd7, 0xee, 0x9e, 0x7c, 0x90, 0x38, 0x7a, 0xb0, 0x6c, 0x3d, 0x76, 0x28, 0x3b, 0xa9, 0x1c, 0xe2, 0x82, 0x66, 0x9a, 0x24, 0xe2, 0x19, 0x80, 0x01, 0x40, 0x59, 0xbc, - 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xe2, 0x58, 0x83, 0x31, 0x6c, 0x8e, 0x94, 0x44, 0x2f, 0x67, - 0x2b, 0x89, 0x1e, 0x92, 0xf5, 0x94, 0xb6, 0x8e, 0xcc, 0x0f, 0xdd, 0xba, 0x7e, 0xdf, 0x23, 0x95, - 0x03, 0xd3, 0xd9, 0xe6, 0x06, 0xd8, 0xff, 0xc8, 0x74, 0x6a, 0x3a, 0x77, 0xec, 0xa0, 0x37, 0x94, - 0x66, 0xed, 0xb9, 0xd2, 0x1c, 0x98, 0xce, 0xc9, 0xa0, 0x07, 0x61, 0x25, 0xcd, 0x16, 0x98, 0x49, - 0x6a, 0x3a, 0xcd, 0x20, 0x67, 0xce, 0x0c, 0xb6, 0x46, 0xaa, 0x56, 0xa4, 0x60, 0x2c, 0x4f, 0x7b, - 0xab, 0xfe, 0x65, 0xef, 0x4a, 0x39, 0x1c, 0x03, 0xec, 0x12, 0x99, 0x36, 0xaa, 0xaf, 0x23, 0x68, - 0x06, 0xab, 0x65, 0x77, 0x6c, 0x64, 0xd7, 0xaf, 0x93, 0xea, 0x81, 0xe9, 0xec, 0x03, 0x8f, 0x41, - 0xb3, 0x7f, 0x92, 0xf2, 0x29, 0x37, 0x59, 0x46, 0x33, 0x2f, 0xce, 0x08, 0x2b, 0x08, 0x9d, 0x67, - 0xfd, 0x55, 0x52, 0x0b, 0x0e, 0x6e, 0xfe, 0x05, 0x06, 0x4c, 0xdd, 0x74, 0xb9, 0x8e, 0x0f, 0x79, - 0x3a, 0xec, 0xd8, 0x18, 0x58, 0xff, 0xbc, 0x4c, 0xaa, 0xa3, 0xf1, 0x60, 0x33, 0xa4, 0xd2, 0xea, - 0x47, 0x11, 0x18, 0x43, 0x27, 0xd8, 0x22, 0x99, 0xbf, 0x25, 0xe1, 0xbc, 0x07, 0x91, 0x85, 0xd8, - 0xf9, 0x50, 0x8f, 0x2d, 0x90, 0xd9, 0x86, 0x92, 0x12, 0x22, 0xbb, 0xcb, 0x45, 0x02, 0x31, 0x2d,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a, 0x17, 0x65, 0x52, 0x1d, 0x8d, 0x07, 0x9b, 0x21, 0x95, 0x56, 0x3f, + 0x8a, 0xc0, 0x18, 0x3a, 0xc1, 0x16, 0xc9, 0xfc, 0x2d, 0x09, 0xe7, 0x3d, 0x88, 0x2c, 0xc4, 0xce, + 0x87, 0x7a, 0x6c, 0x81, 0xcc, 0x36, 0x94, 0x94, 0x10, 0xd9, 0x5d, 0x2e, 0x12, 0x88, 0x69, 0x89, + 0x2d, 0x11, 0x7a, 0x0c, 0x3a, 0x15, 0xc6, 0x08, 0x25, 0x03, 0x90, 0x02, 0x62, 0xea, 0xb3, 0x0b, + 0x64, 0xb1, 0xa1, 0x92, 0x04, 0x22, 0x2b, 0x94, 0x3c, 0x54, 0x76, 0xe7, 0x5c, 0x18, 0x6b, 0x68, + 0x19, 0x69, 0x9b, 0x49, 0x02, 0x1d, 0x9e, 0x6c, 0xe9, 0x4e, 0x3f, 0x05, 0x69, 0xe9, 0x24, 0x72, + 0xe4, 0x60, 0x20, 0x52, 0x90, 0xc8, 0x44, 0x2b, 0x05, 0xb4, 0x29, 0x63, 0x38, 0xc7, 0xfe, 0xd0, + 0x69, 0x76, 0x91, 0x2c, 0xe7, 0x68, 0x21, 0x01, 0x4f, 0x81, 0x56, 0xd9, 0x3c, 0x99, 0xc9, 0xb7, + 0x4e, 0x8e, 0x8e, 0x6f, 0x50, 0x52, 0x60, 0x08, 0xd5, 0xbd, 0x10, 0x22, 0xa5, 0x63, 0x3a, 0x53, + 0x28, 0xe1, 0x36, 0x44, 0x56, 0xe9, 0x66, 0x40, 0x6b, 0x58, 0x70, 0x0e, 0xb6, 0x80, 0xeb, 0xa8, + 0x1b, 0x82, 0xe9, 0x27, 0x96, 0xce, 0x32, 0x4a, 0x6a, 0xbb, 0x22, 0x81, 0x43, 0x65, 0x77, 0x55, + 0x5f, 0xc6, 0x74, 0x8e, 0xcd, 0x11, 0x72, 0x00, 0x96, 0xe7, 0x0a, 0xcc, 0x63, 0xda, 0x06, 0x8f, + 0xba, 0x90, 0x03, 0x94, 0xad, 0x10, 0xd6, 0xe0, 0x52, 0x2a, 0xdb, 0xd0, 0xc0, 0x2d, 0xec, 0xaa, + 0x24, 0x06, 0x4d, 0x17, 0xb0, 0x9c, 0x67, 0x70, 0x91, 0x00, 0x65, 0x63, 0xef, 0x00, 0x12, 0x18, + 0x79, 0x2f, 0x8e, 0xbd, 0x73, 0x1c, 0xbd, 0x97, 0xb0, 0xf8, 0xed, 0xbe, 0x48, 0x62, 0x27, 0x49, + 0xd6, 0x96, 0x65, 0xac, 0x31, 0x2f, 0xfe, 0xf0, 0x66, 0xb3, 0x75, 0x42, 0x57, 0xd8, 0x32, 0x59, + 0xc8, 0x91, 0x03, 0xb0, 0x5a, 0x44, 0x4e, 0xbc, 0x0b, 0x58, 0xea, 0x51, 0xdf, 0x1e, 0xb5, 0x0f, + 0x20, 0x55, 0x7a, 0x40, 0x57, 0xb1, 0xa1, 0x8e, 0x69, 0xd8, 0x22, 0x7a, 0x11, 0x33, 0xec, 0xa4, + 0x3d, 0x3b, 0x18, 0xcb, 0x4b, 0x2f, 0x31, 0x46, 0x66, 0x83, 0x20, 0x84, 0xd7, 0xfb, 0x60, 0x6c, + 0xc8, 0x23, 0xa0, 0x3f, 0x55, 0xd6, 0x5f, 0x26, 0xc4, 0xc5, 0xe2, 0x83, 0x04, 0x8c, 0x91, 0xb9, + 0xb1, 0x75, 0xa8, 0x24, 0xd0, 0x09, 0x56, 0x23, 0xd3, 0xb7, 0xa4, 0x30, 0xa6, 0x0f, 0x31, 0xf5, + 0x50, 0xb7, 0xa6, 0x3c, 0xd6, 0xaa, 0x83, 0x57, 0x9a, 0x96, 0x70, 0x77, 0x57, 0x48, 0x61, 0xba, + 0x6e, 0x62, 0x08, 0x99, 0xca, 0x05, 0x2c, 0xaf, 0xb7, 0x49, 0xad, 0x05, 0x1d, 0x1c, 0x8e, 0x8c, + 0x7b, 0x89, 0xd0, 0xa2, 0x3d, 0x66, 0x1f,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0x84, 0x19, + 0xfa, 0xad, 0x03, 0xf1, 0x10, 0x05, 0xf0, 0x3b, 0xc7, 0x90, 0x9f, 0xa2, 0x80, 0x7f, 0xef, 0x92, + 0x21, 0x43, 0xde, 0x68, 0x43, 0x1f, 0x78, 0x58, 0xe9, 0x30, 0x59, 0x0e, 0xd3, 0x87, 0xce, 0x11, + 0x59, 0x47, 0x8e, 0x8f, 0x9c, 0x63, 0xce, 0x39, 0x42, 0x1f, 0x3b, 0x74, 0x9f, 0xcb, 0x58, 0xb5, + 0xdb, 0x23, 0xf4, 0x89, 0xc7, 0x56, 0xc9, 0x22, 0x86, 0x6f, 0xf3, 0x84, 0xcb, 0x68, 0xec, 0xff, + 0xd4, 0x63, 0x74, 0x28, 0xa4, 0x1b, 0x64, 0xfa, 0x4e, 0xc9, 0x89, 0x92, 0x17, 0x90, 0x61, 0xef, + 0x96, 0xd8, 0x5c, 0xa6, 0x6e, 0x66, 0xbf, 0x57, 0x62, 0x33, 0x64, 0xaa, 0x29, 0x0d, 0x68, 0x4b, + 0xdf, 0xc2, 0x61, 0x9b, 0xca, 0xae, 0x2b, 0x7d, 0x1b, 0x47, 0x7a, 0xd2, 0x0d, 0x1b, 0xbd, 0xef, + 0x36, 0xb2, 0x87, 0x85, 0xfe, 0xec, 0xbb, 0xa3, 0x16, 0x5f, 0x99, 0x5f, 0x7c, 0xcc, 0xb4, 0x07, + 0x76, 0x7c, 0x83, 0xe8, 0xaf, 0x3e, 0xbb, 0x44, 0x96, 0x87, 0x98, 0xbb, 0xf3, 0xa3, 0xbb, 0xf3, + 0x9b, 0xcf, 0xd6, 0xc8, 0x85, 0x3d, 0xb0, 0xe3, 0x39, 0xc0, 0x20, 0x61, 0xac, 0x88, 0x0c, 0xfd, + 0xdd, 0x67, 0x7f, 0x23, 0x2b, 0x7b, 0x60, 0x47, 0xfa, 0x16, 0x36, 0xff, 0xf0, 0xd9, 0x2c, 0x99, + 0x0e, 0xf1, 0x51, 0x80, 0x33, 0xa0, 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1, 0xf4, 0xf3, 0xea, 0x7a, 0x9d, + 0x54, 0x02, 0x93, 0xb8, 0xe7, 0xa7, 0x42, 0xfc, 0xc0, 0x24, 0x74, 0x02, 0x6f, 0xeb, 0xb6, 0x52, + 0xc9, 0xce, 0x79, 0x4f, 0xdf, 0xfe, 0x17, 0xf5, 0xb6, 0xff, 0xf3, 0xca, 0xb5, 0x8e, 0xb0, 0xdd, + 0xfe, 0x29, 0x7e, 0xdf, 0x37, 0xb3, 0x0f, 0xfe, 0x55, 0xa1, 0xf2, 0xd5, 0xa6, 0x90, 0x16, 0xb4, + 0xe4, 0xc9, 0xa6, 0xfb, 0x07, 0xd8, 0xcc, 0xfe, 0x01, 0x7a, 0xa7, 0xa7, 0x53, 0xce, 0xbe, 0xf6, + 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x26, 0x52, 0x92, 0x64, 0x54, 0x0a, 0x00, 0x00, } diff --git a/internal/proto/query_coord.proto b/internal/proto/query_coord.proto index 1ac889b6f7..decddc1fdc 100644 --- a/internal/proto/query_coord.proto +++ b/internal/proto/query_coord.proto @@ -39,6 +39,7 @@ service QueryNode { rpc AddQueryChannel(AddQueryChannelRequest) returns (common.Status) {} rpc RemoveQueryChannel(RemoveQueryChannelRequest) returns (common.Status) {} rpc WatchDmChannels(WatchDmChannelsRequest) returns (common.Status) {} + rpc WatchDeltaChannels(WatchDeltaChannelsRequest) returns (common.Status) {} rpc LoadSegments(LoadSegmentsRequest) returns (common.Status) {} rpc ReleaseCollection(ReleaseCollectionRequest) returns (common.Status) {} rpc ReleasePartitions(ReleasePartitionsRequest) returns (common.Status) {} @@ -212,6 +213,13 @@ message WatchDmChannelsRequest { repeated data.SegmentInfo exclude_infos = 7; } +message WatchDeltaChannelsRequest { + common.MsgBase base = 1; + int64 nodeID = 2; + int64 collectionID = 3; + repeated data.VchannelInfo infos = 4; +} + enum TriggerCondition { handoff = 0; loadBalance = 1; diff --git a/internal/proto/querypb/query_coord.pb.go b/internal/proto/querypb/query_coord.pb.go index 2e63bd43e1..73106fd21f 100644 --- a/internal/proto/querypb/query_coord.pb.go +++ b/internal/proto/querypb/query_coord.pb.go @@ -1416,6 +1416,69 @@ func (m *WatchDmChannelsRequest) GetExcludeInfos() []*datapb.SegmentInfo { return nil } +type WatchDeltaChannelsRequest struct { + Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + NodeID int64 `protobuf:"varint,2,opt,name=nodeID,proto3" json:"nodeID,omitempty"` + CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + Infos []*datapb.VchannelInfo `protobuf:"bytes,4,rep,name=infos,proto3" json:"infos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WatchDeltaChannelsRequest) Reset() { *m = WatchDeltaChannelsRequest{} } +func (m *WatchDeltaChannelsRequest) String() string { return proto.CompactTextString(m) } +func (*WatchDeltaChannelsRequest) ProtoMessage() {} +func (*WatchDeltaChannelsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_aab7cc9a69ed26e8, []int{19} +} + +func (m *WatchDeltaChannelsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WatchDeltaChannelsRequest.Unmarshal(m, b) +} +func (m *WatchDeltaChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WatchDeltaChannelsRequest.Marshal(b, m, deterministic) +} +func (m *WatchDeltaChannelsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchDeltaChannelsRequest.Merge(m, src) +} +func (m *WatchDeltaChannelsRequest) XXX_Size() int { + return xxx_messageInfo_WatchDeltaChannelsRequest.Size(m) +} +func (m *WatchDeltaChannelsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WatchDeltaChannelsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchDeltaChannelsRequest proto.InternalMessageInfo + +func (m *WatchDeltaChannelsRequest) GetBase() *commonpb.MsgBase { + if m != nil { + return m.Base + } + return nil +} + +func (m *WatchDeltaChannelsRequest) GetNodeID() int64 { + if m != nil { + return m.NodeID + } + return 0 +} + +func (m *WatchDeltaChannelsRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *WatchDeltaChannelsRequest) GetInfos() []*datapb.VchannelInfo { + if m != nil { + return m.Infos + } + return nil +} + //used for handoff task type SegmentLoadInfo struct { SegmentID int64 `protobuf:"varint,1,opt,name=segmentID,proto3" json:"segmentID,omitempty"` @@ -1436,7 +1499,7 @@ func (m *SegmentLoadInfo) Reset() { *m = SegmentLoadInfo{} } func (m *SegmentLoadInfo) String() string { return proto.CompactTextString(m) } func (*SegmentLoadInfo) ProtoMessage() {} func (*SegmentLoadInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{19} + return fileDescriptor_aab7cc9a69ed26e8, []int{20} } func (m *SegmentLoadInfo) XXX_Unmarshal(b []byte) error { @@ -1537,7 +1600,7 @@ func (m *LoadSegmentsRequest) Reset() { *m = LoadSegmentsRequest{} } func (m *LoadSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*LoadSegmentsRequest) ProtoMessage() {} func (*LoadSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{20} + return fileDescriptor_aab7cc9a69ed26e8, []int{21} } func (m *LoadSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -1624,7 +1687,7 @@ func (m *ReleaseSegmentsRequest) Reset() { *m = ReleaseSegmentsRequest{} func (m *ReleaseSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*ReleaseSegmentsRequest) ProtoMessage() {} func (*ReleaseSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{21} + return fileDescriptor_aab7cc9a69ed26e8, []int{22} } func (m *ReleaseSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -1699,7 +1762,7 @@ func (m *DmChannelInfo) Reset() { *m = DmChannelInfo{} } func (m *DmChannelInfo) String() string { return proto.CompactTextString(m) } func (*DmChannelInfo) ProtoMessage() {} func (*DmChannelInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{22} + return fileDescriptor_aab7cc9a69ed26e8, []int{23} } func (m *DmChannelInfo) XXX_Unmarshal(b []byte) error { @@ -1749,7 +1812,7 @@ func (m *QueryChannelInfo) Reset() { *m = QueryChannelInfo{} } func (m *QueryChannelInfo) String() string { return proto.CompactTextString(m) } func (*QueryChannelInfo) ProtoMessage() {} func (*QueryChannelInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{23} + return fileDescriptor_aab7cc9a69ed26e8, []int{24} } func (m *QueryChannelInfo) XXX_Unmarshal(b []byte) error { @@ -1823,7 +1886,7 @@ func (m *CollectionInfo) Reset() { *m = CollectionInfo{} } func (m *CollectionInfo) String() string { return proto.CompactTextString(m) } func (*CollectionInfo) ProtoMessage() {} func (*CollectionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{24} + return fileDescriptor_aab7cc9a69ed26e8, []int{25} } func (m *CollectionInfo) XXX_Unmarshal(b []byte) error { @@ -1918,7 +1981,7 @@ func (m *LoadBalanceSegmentInfo) Reset() { *m = LoadBalanceSegmentInfo{} func (m *LoadBalanceSegmentInfo) String() string { return proto.CompactTextString(m) } func (*LoadBalanceSegmentInfo) ProtoMessage() {} func (*LoadBalanceSegmentInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{25} + return fileDescriptor_aab7cc9a69ed26e8, []int{26} } func (m *LoadBalanceSegmentInfo) XXX_Unmarshal(b []byte) error { @@ -2007,7 +2070,7 @@ func (m *HandoffSegmentsRequest) Reset() { *m = HandoffSegmentsRequest{} func (m *HandoffSegmentsRequest) String() string { return proto.CompactTextString(m) } func (*HandoffSegmentsRequest) ProtoMessage() {} func (*HandoffSegmentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{26} + return fileDescriptor_aab7cc9a69ed26e8, []int{27} } func (m *HandoffSegmentsRequest) XXX_Unmarshal(b []byte) error { @@ -2055,7 +2118,7 @@ func (m *LoadBalanceRequest) Reset() { *m = LoadBalanceRequest{} } func (m *LoadBalanceRequest) String() string { return proto.CompactTextString(m) } func (*LoadBalanceRequest) ProtoMessage() {} func (*LoadBalanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{27} + return fileDescriptor_aab7cc9a69ed26e8, []int{28} } func (m *LoadBalanceRequest) XXX_Unmarshal(b []byte) error { @@ -2112,7 +2175,7 @@ func (m *SegmentChangeInfo) Reset() { *m = SegmentChangeInfo{} } func (m *SegmentChangeInfo) String() string { return proto.CompactTextString(m) } func (*SegmentChangeInfo) ProtoMessage() {} func (*SegmentChangeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{28} + return fileDescriptor_aab7cc9a69ed26e8, []int{29} } func (m *SegmentChangeInfo) XXX_Unmarshal(b []byte) error { @@ -2173,7 +2236,7 @@ func (m *SealedSegmentsChangeInfo) Reset() { *m = SealedSegmentsChangeIn func (m *SealedSegmentsChangeInfo) String() string { return proto.CompactTextString(m) } func (*SealedSegmentsChangeInfo) ProtoMessage() {} func (*SealedSegmentsChangeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aab7cc9a69ed26e8, []int{29} + return fileDescriptor_aab7cc9a69ed26e8, []int{30} } func (m *SealedSegmentsChangeInfo) XXX_Unmarshal(b []byte) error { @@ -2232,6 +2295,7 @@ func init() { proto.RegisterType((*AddQueryChannelRequest)(nil), "milvus.proto.query.AddQueryChannelRequest") proto.RegisterType((*RemoveQueryChannelRequest)(nil), "milvus.proto.query.RemoveQueryChannelRequest") proto.RegisterType((*WatchDmChannelsRequest)(nil), "milvus.proto.query.WatchDmChannelsRequest") + proto.RegisterType((*WatchDeltaChannelsRequest)(nil), "milvus.proto.query.WatchDeltaChannelsRequest") proto.RegisterType((*SegmentLoadInfo)(nil), "milvus.proto.query.SegmentLoadInfo") proto.RegisterType((*LoadSegmentsRequest)(nil), "milvus.proto.query.LoadSegmentsRequest") proto.RegisterType((*ReleaseSegmentsRequest)(nil), "milvus.proto.query.ReleaseSegmentsRequest") @@ -2248,150 +2312,151 @@ func init() { func init() { proto.RegisterFile("query_coord.proto", fileDescriptor_aab7cc9a69ed26e8) } var fileDescriptor_aab7cc9a69ed26e8 = []byte{ - // 2274 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x19, 0x4d, 0x73, 0x1c, 0x47, - 0x55, 0xb3, 0x1f, 0xda, 0xdd, 0xb7, 0x5f, 0xe3, 0xb6, 0xb5, 0x59, 0x2f, 0xb1, 0xa3, 0x8c, 0xe3, - 0x8f, 0x28, 0x44, 0x76, 0xe4, 0xf0, 0x91, 0x82, 0x1c, 0x62, 0x6d, 0xac, 0x6c, 0xb0, 0x65, 0x31, - 0x72, 0x42, 0xe1, 0x72, 0xd5, 0x30, 0xbb, 0xd3, 0x5a, 0x4d, 0x79, 0x66, 0x7a, 0x3d, 0x3d, 0x6b, - 0x5b, 0x3e, 0x73, 0x80, 0x03, 0xc5, 0x0f, 0x80, 0xa2, 0x8a, 0x2a, 0x28, 0x8a, 0x03, 0x47, 0x38, - 0x70, 0xca, 0x85, 0x3b, 0xbf, 0x80, 0x2a, 0x0a, 0xee, 0x70, 0x81, 0x33, 0x35, 0xdd, 0x3d, 0xb3, - 0xf3, 0xd1, 0x2b, 0xad, 0x24, 0x8c, 0x5d, 0x29, 0x6e, 0x33, 0xef, 0xbd, 0x7e, 0xef, 0xf5, 0xfb, - 0xec, 0xd7, 0x0d, 0x67, 0x1e, 0x4f, 0xb1, 0x7f, 0x60, 0x8c, 0x08, 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0x6d, 0x9f, 0x2b, 0x67, 0x8c, 0x38, 0x3f, 0x26, - 0xb5, 0xa6, 0xb7, 0x04, 0x58, 0x48, 0x41, 0x97, 0xa1, 0xe5, 0x63, 0x3a, 0x75, 0x66, 0x74, 0x45, - 0x46, 0xd7, 0xe4, 0x50, 0x41, 0xa6, 0xfd, 0x56, 0x81, 0xf3, 0x5b, 0x38, 0x88, 0xbd, 0x17, 0x8a, - 0xc3, 0xaf, 0x68, 0x75, 0xfd, 0x85, 0x02, 0xed, 0x8c, 0xa2, 0x68, 0x15, 0xea, 0x09, 0x1a, 0xe1, - 0xa0, 0x24, 0x08, 0x7d, 0x13, 0xca, 0xa1, 0xed, 0x30, 0x53, 0xa9, 0xb5, 0xa1, 0xad, 0xe7, 0x9b, - 0xfb, 0x7a, 0x9a, 0xab, 0xce, 0x17, 0xa0, 0xeb, 0x70, 0x56, 0x52, 0x59, 0x85, 0xfa, 0x28, 0x5f, - 0x58, 0xb5, 0xdf, 0x29, 0xd0, 0x93, 0x19, 0xf3, 0x34, 0x0e, 0x7f, 0x00, 0x9d, 0x78, 0x37, 0x86, - 0x85, 0xe9, 0xc8, 0xb7, 0x27, 0x2c, 0xcd, 0x58, 0x33, 0xa8, 0x6f, 0x5c, 0x3a, 0x7a, 0x3f, 0x54, - 0x5f, 0x89, 0x59, 0xf4, 0x13, 0x1c, 0xb4, 0x9f, 0x28, 0xb0, 0xb2, 0x85, 0x83, 0x5d, 0x3c, 0x76, - 0xb1, 0x17, 0x0c, 0xbc, 0x3d, 0x72, 0x72, 0xc7, 0x5f, 0x04, 0xa0, 0x82, 0x4f, 0xdc, 0xa8, 0x12, - 0x90, 0x45, 0x82, 0x40, 0xfb, 0x67, 0x11, 0xea, 0x09, 0x65, 0xd0, 0xeb, 0x50, 0x8b, 0x39, 0x08, - 0xd7, 0xce, 0x00, 0x39, 0x8e, 0x05, 0x49, 0x58, 0x65, 0xc2, 0xa3, 0x98, 0x0f, 0x8f, 0x39, 0x15, - 0x1c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 0x48, 0xba, 0x48, 0xc0, 0xc6, 0x9f, 0x6a, 0x50, 0x63, 0xd6, 0x0d, 0xbb, - 0xf4, 0xff, 0x0b, 0xee, 0x0b, 0x28, 0xb8, 0x0f, 0xa1, 0x9d, 0xb9, 0x58, 0x97, 0x17, 0x5c, 0xf9, - 0xed, 0xfb, 0x51, 0x99, 0x37, 0x04, 0x94, 0xbf, 0xfd, 0x95, 0xa7, 0xc0, 0xdc, 0x5b, 0xe2, 0xa3, - 0x64, 0x3c, 0x84, 0x76, 0xe6, 0xf6, 0x55, 0xbe, 0x03, 0xf9, 0x15, 0xed, 0x51, 0xdc, 0x3f, 0x87, - 0x46, 0xf2, 0xaa, 0x0b, 0x5d, 0x9d, 0x57, 0xf7, 0x32, 0x03, 0xc3, 0xcb, 0xaf, 0x7a, 0x2f, 0xbe, - 0x2b, 0x3c, 0x84, 0x76, 0xe6, 0x36, 0x4a, 0x6e, 0x79, 0xf9, 0x95, 0xd5, 0x51, 0xdc, 0xbf, 0x44, - 0x75, 0xec, 0xd6, 0xfb, 0x0f, 0x36, 0xc6, 0x76, 0xb0, 0x3f, 0x1d, 0x86, 0xbb, 0xbc, 0xce, 0x29, - 0xdf, 0xb5, 0x89, 0xf8, 0xba, 0x1e, 0x25, 0xf4, 0x75, 0xc6, 0xe9, 0x3a, 0xd3, 0x76, 0x32, 0x1c, - 0x2e, 0xb3, 0xdf, 0x9b, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0xa4, 0xa4, 0xde, 0x9c, 0x03, 0x27, - 0x00, 0x00, + // 2299 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x19, 0x4b, 0x6f, 0x1c, 0x49, + 0xd9, 0x3d, 0x0f, 0x7b, 0xe6, 0x9b, 0x57, 0xa7, 0x12, 0xcf, 0x4e, 0x86, 0x24, 0xeb, 0xed, 0x6c, + 0x1e, 0xeb, 0x65, 0x9d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 0x5b, 0x33, 0x43, 0xc9, 0xab, 0xaf, 0xac, 0x2f, 0xbf, 0xf3, 0x3c, 0x82, 0x56, 0xe6, 0xc6, 0x4b, + 0xee, 0x5d, 0xf9, 0xb5, 0xd8, 0x51, 0xd4, 0xbf, 0x42, 0xb5, 0xf2, 0xf6, 0x07, 0x0f, 0xd7, 0x47, + 0x76, 0xb0, 0x37, 0x19, 0x84, 0x5a, 0xde, 0xe0, 0x98, 0xef, 0xd9, 0x44, 0x7c, 0xdd, 0x88, 0x8a, + 0xc6, 0x0d, 0x46, 0xe9, 0x06, 0x93, 0x76, 0x3c, 0x18, 0x2c, 0xb2, 0xdf, 0x5b, 0xff, 0x09, 0x00, + 0x00, 0xff, 0xff, 0x2e, 0xfd, 0xc9, 0x8e, 0x2a, 0x28, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2918,6 +2983,7 @@ type QueryNodeClient interface { AddQueryChannel(ctx context.Context, in *AddQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) RemoveQueryChannel(ctx context.Context, in *RemoveQueryChannelRequest, opts ...grpc.CallOption) (*commonpb.Status, error) WatchDmChannels(ctx context.Context, in *WatchDmChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + WatchDeltaChannels(ctx context.Context, in *WatchDeltaChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) ReleaseCollection(ctx context.Context, in *ReleaseCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error) ReleasePartitions(ctx context.Context, in *ReleasePartitionsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) @@ -2989,6 +3055,15 @@ func (c *queryNodeClient) WatchDmChannels(ctx context.Context, in *WatchDmChanne return out, nil } +func (c *queryNodeClient) WatchDeltaChannels(ctx context.Context, in *WatchDeltaChannelsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { + out := new(commonpb.Status) + err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/WatchDeltaChannels", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryNodeClient) LoadSegments(ctx context.Context, in *LoadSegmentsRequest, opts ...grpc.CallOption) (*commonpb.Status, error) { out := new(commonpb.Status) err := c.cc.Invoke(ctx, "/milvus.proto.query.QueryNode/LoadSegments", in, out, opts...) @@ -3051,6 +3126,7 @@ type QueryNodeServer interface { AddQueryChannel(context.Context, *AddQueryChannelRequest) (*commonpb.Status, error) RemoveQueryChannel(context.Context, *RemoveQueryChannelRequest) (*commonpb.Status, error) WatchDmChannels(context.Context, *WatchDmChannelsRequest) (*commonpb.Status, error) + WatchDeltaChannels(context.Context, *WatchDeltaChannelsRequest) (*commonpb.Status, error) LoadSegments(context.Context, *LoadSegmentsRequest) (*commonpb.Status, error) ReleaseCollection(context.Context, *ReleaseCollectionRequest) (*commonpb.Status, error) ReleasePartitions(context.Context, *ReleasePartitionsRequest) (*commonpb.Status, error) @@ -3082,6 +3158,9 @@ func (*UnimplementedQueryNodeServer) RemoveQueryChannel(ctx context.Context, req func (*UnimplementedQueryNodeServer) WatchDmChannels(ctx context.Context, req *WatchDmChannelsRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method WatchDmChannels not implemented") } +func (*UnimplementedQueryNodeServer) WatchDeltaChannels(ctx context.Context, req *WatchDeltaChannelsRequest) (*commonpb.Status, error) { + return nil, status.Errorf(codes.Unimplemented, "method WatchDeltaChannels not implemented") +} func (*UnimplementedQueryNodeServer) LoadSegments(ctx context.Context, req *LoadSegmentsRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method LoadSegments not implemented") } @@ -3213,6 +3292,24 @@ func _QueryNode_WatchDmChannels_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +func _QueryNode_WatchDeltaChannels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WatchDeltaChannelsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryNodeServer).WatchDeltaChannels(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.query.QueryNode/WatchDeltaChannels", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryNodeServer).WatchDeltaChannels(ctx, req.(*WatchDeltaChannelsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _QueryNode_LoadSegments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LoadSegmentsRequest) if err := dec(in); err != nil { @@ -3349,6 +3446,10 @@ var _QueryNode_serviceDesc = grpc.ServiceDesc{ MethodName: "WatchDmChannels", Handler: _QueryNode_WatchDmChannels_Handler, }, + { + MethodName: "WatchDeltaChannels", + Handler: _QueryNode_WatchDeltaChannels_Handler, + }, { MethodName: "LoadSegments", Handler: _QueryNode_LoadSegments_Handler, diff --git a/internal/querycoord/cluster.go b/internal/querycoord/cluster.go index 7a1ae1ada9..3a22170d47 100644 --- a/internal/querycoord/cluster.go +++ b/internal/querycoord/cluster.go @@ -47,6 +47,7 @@ type Cluster interface { getNumSegments(nodeID int64) (int, error) watchDmChannels(ctx context.Context, nodeID int64, in *querypb.WatchDmChannelsRequest) error + watchDeltaChannels(ctx context.Context, nodeID int64, in *querypb.WatchDeltaChannelsRequest) error //TODO:: removeDmChannel getNumDmChannels(nodeID int64) (int, error) @@ -262,7 +263,6 @@ func (c *queryNodeCluster) watchDmChannels(ctx context.Context, nodeID int64, in } collectionID := in.CollectionID - //c.clusterMeta.addCollection(collectionID, in.Schema) err = c.clusterMeta.addDmChannel(collectionID, nodeID, channels) if err != nil { log.Debug("WatchDmChannels: queryNode watch dm channel error", zap.String("error", err.Error())) @@ -274,6 +274,21 @@ func (c *queryNodeCluster) watchDmChannels(ctx context.Context, nodeID int64, in return errors.New("WatchDmChannels: Can't find query node by nodeID ") } +func (c *queryNodeCluster) watchDeltaChannels(ctx context.Context, nodeID int64, in *querypb.WatchDeltaChannelsRequest) error { + c.Lock() + defer c.Unlock() + + if node, ok := c.nodes[nodeID]; ok { + err := node.watchDeltaChannels(ctx, in) + if err != nil { + log.Debug("WatchDeltaChannels: queryNode watch dm channel error", zap.String("error", err.Error())) + return err + } + return nil + } + return errors.New("WatchDeltaChannels: Can't find query node by nodeID ") +} + func (c *queryNodeCluster) hasWatchedQueryChannel(ctx context.Context, nodeID int64, collectionID UniqueID) bool { c.Lock() defer c.Unlock() diff --git a/internal/querycoord/mock_3rd_component_test.go b/internal/querycoord/mock_3rd_component_test.go index 15e4b49a95..4355ff84dc 100644 --- a/internal/querycoord/mock_3rd_component_test.go +++ b/internal/querycoord/mock_3rd_component_test.go @@ -361,7 +361,7 @@ func (data *dataCoordMock) GetRecoveryInfo(ctx context.Context, req *datapb.GetR data.collections = append(data.collections, collectionID) collectionName := funcutil.RandomString(8) for i := int32(0); i < common.DefaultShardsNum; i++ { - vChannel := fmt.Sprintf("%s_%d_%d_v", collectionName, collectionID, i) + vChannel := fmt.Sprintf("Dml_%s_%d_%d_v", collectionName, collectionID, i) channelInfo := &datapb.VchannelInfo{ CollectionID: collectionID, ChannelName: vChannel, diff --git a/internal/querycoord/mock_querynode_client_test.go b/internal/querycoord/mock_querynode_client_test.go index 960e3944c9..516a063078 100644 --- a/internal/querycoord/mock_querynode_client_test.go +++ b/internal/querycoord/mock_querynode_client_test.go @@ -123,6 +123,10 @@ func (client *queryNodeClientMock) WatchDmChannels(ctx context.Context, req *que return client.grpcClient.WatchDmChannels(ctx, req) } +func (client *queryNodeClientMock) WatchDeltaChannels(ctx context.Context, req *querypb.WatchDeltaChannelsRequest) (*commonpb.Status, error) { + return client.grpcClient.WatchDeltaChannels(ctx, req) +} + func (client *queryNodeClientMock) LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error) { return client.grpcClient.LoadSegments(ctx, req) } diff --git a/internal/querycoord/mock_querynode_server_test.go b/internal/querycoord/mock_querynode_server_test.go index 5d2987335e..f8e20c1262 100644 --- a/internal/querycoord/mock_querynode_server_test.go +++ b/internal/querycoord/mock_querynode_server_test.go @@ -45,6 +45,7 @@ type queryNodeServerMock struct { addQueryChannels func() (*commonpb.Status, error) removeQueryChannels func() (*commonpb.Status, error) watchDmChannels func() (*commonpb.Status, error) + watchDeltaChannels func() (*commonpb.Status, error) loadSegment func() (*commonpb.Status, error) releaseCollection func() (*commonpb.Status, error) releasePartition func() (*commonpb.Status, error) @@ -61,6 +62,7 @@ func newQueryNodeServerMock(ctx context.Context) *queryNodeServerMock { addQueryChannels: returnSuccessResult, removeQueryChannels: returnSuccessResult, watchDmChannels: returnSuccessResult, + watchDeltaChannels: returnSuccessResult, loadSegment: returnSuccessResult, releaseCollection: returnSuccessResult, releasePartition: returnSuccessResult, @@ -166,6 +168,10 @@ func (qs *queryNodeServerMock) WatchDmChannels(ctx context.Context, req *querypb return qs.watchDmChannels() } +func (qs *queryNodeServerMock) WatchDeltaChannels(ctx context.Context, req *querypb.WatchDeltaChannelsRequest) (*commonpb.Status, error) { + return qs.watchDeltaChannels() +} + func (qs *queryNodeServerMock) LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error) { return qs.loadSegment() } diff --git a/internal/querycoord/param_table.go b/internal/querycoord/param_table.go index 87b3faa623..dbc8c28f42 100644 --- a/internal/querycoord/param_table.go +++ b/internal/querycoord/param_table.go @@ -62,6 +62,9 @@ type ParamTable struct { CreatedTime time.Time UpdatedTime time.Time + DmlChannelPrefix string + DeltaChannelPrefix string + // --- Pulsar --- PulsarAddress string @@ -120,6 +123,9 @@ func (p *ParamTable) Init() { //---- Handoff --- p.initAutoHandoff() + + p.initDmlChannelName() + p.initDeltaChannelName() } func (p *ParamTable) initQueryCoordAddress() { @@ -273,3 +279,21 @@ func (p *ParamTable) initAutoHandoff() { panic(err) } } + +func (p *ParamTable) initDmlChannelName() { + config, err := p.Load("msgChannel.chanNamePrefix.rootCoordDml") + if err != nil { + config = "rootcoord-dml" + } + s := []string{p.ClusterChannelPrefix, config} + p.DmlChannelPrefix = strings.Join(s, "-") +} + +func (p *ParamTable) initDeltaChannelName() { + config, err := p.Load("msgChannel.chanNamePrefix.rootCoordDelta") + if err != nil { + config = "rootcoord-delta" + } + s := []string{p.ClusterChannelPrefix, config} + p.DeltaChannelPrefix = strings.Join(s, "-") +} diff --git a/internal/querycoord/query_coord_test.go b/internal/querycoord/query_coord_test.go index 2d20414d21..21b32d4dd2 100644 --- a/internal/querycoord/query_coord_test.go +++ b/internal/querycoord/query_coord_test.go @@ -41,6 +41,8 @@ func refreshParams() { Params.StatsChannelName = Params.StatsChannelName + suffix Params.TimeTickChannelName = Params.TimeTickChannelName + suffix Params.MetaRootPath = Params.MetaRootPath + suffix + Params.DmlChannelPrefix = "Dml" + Params.DeltaChannelPrefix = "delta" } func TestMain(m *testing.M) { diff --git a/internal/querycoord/querynode.go b/internal/querycoord/querynode.go index 78041513cf..491c842cdf 100644 --- a/internal/querycoord/querynode.go +++ b/internal/querycoord/querynode.go @@ -46,6 +46,7 @@ type Node interface { releasePartitions(ctx context.Context, in *querypb.ReleasePartitionsRequest) error watchDmChannels(ctx context.Context, in *querypb.WatchDmChannelsRequest) error + watchDeltaChannels(ctx context.Context, in *querypb.WatchDeltaChannelsRequest) error //removeDmChannel(collectionID UniqueID, channels []string) error hasWatchedQueryChannel(collectionID UniqueID) bool @@ -413,6 +414,21 @@ func (qn *queryNode) watchDmChannels(ctx context.Context, in *querypb.WatchDmCha return err } +func (qn *queryNode) watchDeltaChannels(ctx context.Context, in *querypb.WatchDeltaChannelsRequest) error { + if !qn.isOnline() { + return errors.New("WatchDmChannels: queryNode is offline") + } + + status, err := qn.client.WatchDeltaChannels(ctx, in) + if err != nil { + return err + } + if status.ErrorCode != commonpb.ErrorCode_Success { + return errors.New(status.Reason) + } + return err +} + func (qn *queryNode) addQueryChannel(ctx context.Context, in *querypb.AddQueryChannelRequest) error { if !qn.isOnline() { return errors.New("AddQueryChannel: queryNode is offline") diff --git a/internal/querycoord/task.go b/internal/querycoord/task.go index b56fbf5643..01354b497a 100644 --- a/internal/querycoord/task.go +++ b/internal/querycoord/task.go @@ -28,6 +28,7 @@ import ( "github.com/milvus-io/milvus/internal/proto/milvuspb" "github.com/milvus-io/milvus/internal/proto/proxypb" "github.com/milvus-io/milvus/internal/proto/querypb" + "github.com/milvus-io/milvus/internal/rootcoord" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/internal/util/trace" "github.com/opentracing/opentracing-go" @@ -351,6 +352,7 @@ func (lct *loadCollectionTask) execute(ctx context.Context) error { watchDmChannelReqs := make([]*querypb.WatchDmChannelsRequest, 0) channelsToWatch := make([]string, 0) segmentsToLoad := make([]UniqueID, 0) + watchDeltaChannelReqs := make([]*querypb.WatchDeltaChannelsRequest, 0) for _, partitionID := range toLoadPartitionIDs { getRecoveryInfoRequest := &datapb.GetRecoveryInfoRequest{ Base: lct.Base, @@ -388,6 +390,27 @@ func (lct *loadCollectionTask) execute(ctx context.Context) error { loadSegmentReqs = append(loadSegmentReqs, loadSegmentReq) } + // init delta channels for sealed segments. + if len(loadSegmentReqs) != 0 && len(watchDeltaChannelReqs) != len(recoveryInfo.Channels) { + for _, info := range recoveryInfo.Channels { + deltaChannel, err := rootcoord.ConvertChannelName(info.ChannelName, Params.DmlChannelPrefix, Params.DeltaChannelPrefix) + if err != nil { + return err + } + deltaInfo := proto.Clone(info).(*datapb.VchannelInfo) + deltaInfo.ChannelName = deltaChannel + msgBase := proto.Clone(lct.Base).(*commonpb.MsgBase) + msgBase.MsgType = commonpb.MsgType_WatchDeltaChannels + watchDeltaRequest := &querypb.WatchDeltaChannelsRequest{ + Base: msgBase, + CollectionID: collectionID, + Infos: []*datapb.VchannelInfo{deltaInfo}, + } + watchDeltaChannelReqs = append(watchDeltaChannelReqs, watchDeltaRequest) + } + + } + for _, info := range recoveryInfo.Channels { channel := info.ChannelName if !watchPartition { @@ -427,9 +450,10 @@ func (lct *loadCollectionTask) execute(ctx context.Context) error { watchDmChannelReqs = append(watchDmChannelReqs, watchRequest) } } + } - err = assignInternalTask(ctx, collectionID, lct, lct.meta, lct.cluster, loadSegmentReqs, watchDmChannelReqs, false) + err = assignInternalTask(ctx, collectionID, lct, lct.meta, lct.cluster, loadSegmentReqs, watchDmChannelReqs, watchDeltaChannelReqs, false) if err != nil { log.Warn("loadCollectionTask: assign child task failed", zap.Int64("collectionID", collectionID)) lct.setResultInfo(err) @@ -679,6 +703,7 @@ func (lpt *loadPartitionTask) execute(ctx context.Context) error { loadSegmentReqs := make([]*querypb.LoadSegmentsRequest, 0) channelsToWatch := make([]string, 0) watchDmReqs := make([]*querypb.WatchDmChannelsRequest, 0) + watchDeltaReqs := make([]*querypb.WatchDeltaChannelsRequest, 0) for _, partitionID := range partitionIDs { getRecoveryInfoRequest := &datapb.GetRecoveryInfoRequest{ Base: lpt.Base, @@ -715,7 +740,28 @@ func (lpt *loadPartitionTask) execute(ctx context.Context) error { loadSegmentReqs = append(loadSegmentReqs, loadSegmentReq) } + // init delta channels for sealed segments. + if len(loadSegmentReqs) != 0 && len(watchDeltaReqs) != len(recoveryInfo.Channels) { + for _, info := range recoveryInfo.Channels { + deltaChannel, err := rootcoord.ConvertChannelName(info.ChannelName, Params.DmlChannelPrefix, Params.DeltaChannelPrefix) + if err != nil { + return err + } + deltaInfo := proto.Clone(info).(*datapb.VchannelInfo) + deltaInfo.ChannelName = deltaChannel + msgBase := proto.Clone(lpt.Base).(*commonpb.MsgBase) + msgBase.MsgType = commonpb.MsgType_WatchDeltaChannels + watchDeltaRequest := &querypb.WatchDeltaChannelsRequest{ + Base: msgBase, + CollectionID: collectionID, + Infos: []*datapb.VchannelInfo{deltaInfo}, + } + watchDeltaReqs = append(watchDeltaReqs, watchDeltaRequest) + } + } + for _, info := range recoveryInfo.Channels { + // watch dml channels channel := info.ChannelName msgBase := proto.Clone(lpt.Base).(*commonpb.MsgBase) msgBase.MsgType = commonpb.MsgType_WatchDmChannels @@ -729,9 +775,10 @@ func (lpt *loadPartitionTask) execute(ctx context.Context) error { channelsToWatch = append(channelsToWatch, channel) watchDmReqs = append(watchDmReqs, watchDmRequest) log.Debug("loadPartitionTask: set watchDmChannelsRequests", zap.Any("request", watchDmRequest), zap.Int64("collectionID", collectionID)) + } } - err := assignInternalTask(ctx, collectionID, lpt, lpt.meta, lpt.cluster, loadSegmentReqs, watchDmReqs, false) + err := assignInternalTask(ctx, collectionID, lpt, lpt.meta, lpt.cluster, loadSegmentReqs, watchDmReqs, watchDeltaReqs, false) if err != nil { log.Warn("loadPartitionTask: assign child task failed", zap.Int64("collectionID", collectionID), zap.Int64s("partitionIDs", partitionIDs)) lpt.setResultInfo(err) @@ -1074,6 +1121,7 @@ func (lst *loadSegmentTask) reschedule(ctx context.Context) ([]task, error) { reScheduledTask = append(reScheduledTask, watchQueryChannelTask) log.Debug("loadSegmentTask: add a watchQueryChannelTask to RescheduleTasks", zap.Any("task", watchQueryChannelTask)) } + } return reScheduledTask, nil @@ -1300,6 +1348,76 @@ func (wdt *watchDmChannelTask) reschedule(ctx context.Context) ([]task, error) { return reScheduledTask, nil } +type watchDeltaChannelTask struct { + *baseTask + *querypb.WatchDeltaChannelsRequest + meta Meta + cluster Cluster + excludeNodeIDs []int64 +} + +func (wdt *watchDeltaChannelTask) msgBase() *commonpb.MsgBase { + return wdt.Base +} + +func (wdt *watchDeltaChannelTask) marshal() ([]byte, error) { + return proto.Marshal(wdt.WatchDeltaChannelsRequest) +} + +func (wdt *watchDeltaChannelTask) msgType() commonpb.MsgType { + return wdt.Base.MsgType +} + +func (wdt *watchDeltaChannelTask) timestamp() Timestamp { + return wdt.Base.Timestamp +} + +func (wdt *watchDeltaChannelTask) updateTaskProcess() { + parentTask := wdt.getParentTask() + if parentTask == nil { + log.Warn("watchDeltaChannel: parentTask should not be nil") + return + } + parentTask.updateTaskProcess() +} + +func (wdt *watchDeltaChannelTask) preExecute(context.Context) error { + channelInfos := wdt.Infos + channels := make([]string, 0) + for _, info := range channelInfos { + channels = append(channels, info.ChannelName) + } + wdt.setResultInfo(nil) + log.Debug("start do watchDeltaChannelTask", + zap.Strings("deltaChannels", channels), + zap.Int64("loaded nodeID", wdt.NodeID), + zap.Int64("taskID", wdt.getTaskID())) + return nil +} + +func (wdt *watchDeltaChannelTask) execute(ctx context.Context) error { + defer func() { + wdt.retryCount-- + }() + + err := wdt.cluster.watchDeltaChannels(wdt.ctx, wdt.NodeID, wdt.WatchDeltaChannelsRequest) + if err != nil { + log.Warn("watchDeltaChannelTask: watchDeltaChannel occur error", zap.Int64("taskID", wdt.getTaskID()), zap.Error(err)) + wdt.setResultInfo(err) + return err + } + + log.Debug("watchDeltaChannelsTask Execute done", + zap.Int64("taskID", wdt.getTaskID())) + return nil +} + +func (wdt *watchDeltaChannelTask) postExecute(context.Context) error { + log.Debug("watchDeltaChannelTask postExecute done", + zap.Int64("taskID", wdt.getTaskID())) + return nil +} + type watchQueryChannelTask struct { *baseTask *querypb.AddQueryChannelRequest @@ -1462,6 +1580,7 @@ func (ht *handoffTask) execute(ctx context.Context) error { findBinlog := false var loadSegmentReq *querypb.LoadSegmentsRequest + var watchDeltaChannelReqs []*querypb.WatchDeltaChannelsRequest for _, segmentBinlogs := range recoveryInfo.Binlogs { if segmentBinlogs.SegmentID == segmentID { findBinlog = true @@ -1483,13 +1602,32 @@ func (ht *handoffTask) execute(ctx context.Context) error { } } } + // init delta channels for sealed segments. + if loadSegmentReq != nil && len(watchDeltaChannelReqs) != len(recoveryInfo.Channels) { + for _, info := range recoveryInfo.Channels { + deltaChannel, err := rootcoord.ConvertChannelName(info.ChannelName, Params.DmlChannelPrefix, Params.DeltaChannelPrefix) + if err != nil { + return err + } + deltaInfo := proto.Clone(info).(*datapb.VchannelInfo) + deltaInfo.ChannelName = deltaChannel + msgBase := proto.Clone(ht.Base).(*commonpb.MsgBase) + msgBase.MsgType = commonpb.MsgType_WatchDeltaChannels + watchDeltaChannelsRequest := &querypb.WatchDeltaChannelsRequest{ + Base: msgBase, + CollectionID: collectionID, + Infos: []*datapb.VchannelInfo{deltaInfo}, + } + watchDeltaChannelReqs = append(watchDeltaChannelReqs, watchDeltaChannelsRequest) + } + } if !findBinlog { err = fmt.Errorf("segmnet has not been flushed, segmentID is %d", segmentID) ht.setResultInfo(err) return err } - err = assignInternalTask(ctx, collectionID, ht, ht.meta, ht.cluster, []*querypb.LoadSegmentsRequest{loadSegmentReq}, nil, true) + err = assignInternalTask(ctx, collectionID, ht, ht.meta, ht.cluster, []*querypb.LoadSegmentsRequest{loadSegmentReq}, nil, watchDeltaChannelReqs, true) if err != nil { log.Error("handoffTask: assign child task failed", zap.Any("segmentInfo", segmentInfo)) ht.setResultInfo(err) @@ -1591,6 +1729,7 @@ func (lbt *loadBalanceTask) execute(ctx context.Context) error { loadSegmentReqs := make([]*querypb.LoadSegmentsRequest, 0) channelsToWatch := make([]string, 0) watchDmChannelReqs := make([]*querypb.WatchDmChannelsRequest, 0) + watchDeltaChannelReqs := make([]*querypb.WatchDeltaChannelsRequest, 0) dmChannels, err := lbt.meta.getDmChannelsByNodeID(collectionID, nodeID) if err != nil { @@ -1638,6 +1777,23 @@ func (lbt *loadBalanceTask) execute(ctx context.Context) error { loadSegmentReqs = append(loadSegmentReqs, loadSegmentReq) } + // init delta channels for sealed segments. + if len(loadSegmentReqs) != 0 && len(watchDeltaChannelReqs) != len(recoveryInfo.Channels) { + for _, info := range recoveryInfo.Channels { + deltaChannel := info.ChannelName + deltaInfo := proto.Clone(info).(*datapb.VchannelInfo) + deltaInfo.ChannelName = deltaChannel + msgBase := proto.Clone(lbt.Base).(*commonpb.MsgBase) + msgBase.MsgType = commonpb.MsgType_WatchDeltaChannels + watchDeltaChannelsRequest := &querypb.WatchDeltaChannelsRequest{ + Base: msgBase, + CollectionID: collectionID, + Infos: []*datapb.VchannelInfo{info}, + } + watchDeltaChannelReqs = append(watchDeltaChannelReqs, watchDeltaChannelsRequest) + } + } + for _, channelInfo := range recoveryInfo.Channels { for _, channel := range dmChannels { if channelInfo.ChannelName == channel { @@ -1682,7 +1838,7 @@ func (lbt *loadBalanceTask) execute(ctx context.Context) error { } } } - err = assignInternalTask(ctx, collectionID, lbt, lbt.meta, lbt.cluster, loadSegmentReqs, watchDmChannelReqs, true) + err = assignInternalTask(ctx, collectionID, lbt, lbt.meta, lbt.cluster, loadSegmentReqs, watchDmChannelReqs, watchDeltaChannelReqs, true) if err != nil { log.Warn("loadBalanceTask: assign child task failed", zap.Int64("collectionID", collectionID), zap.Int64s("partitionIDs", partitionIDs)) lbt.setResultInfo(err) @@ -1900,6 +2056,7 @@ func assignInternalTask(ctx context.Context, cluster Cluster, loadSegmentRequests []*querypb.LoadSegmentsRequest, watchDmChannelRequests []*querypb.WatchDmChannelsRequest, + watchDeltaChannelRequests []*querypb.WatchDeltaChannelsRequest, wait bool) error { sp, _ := trace.StartSpanFromContext(ctx) defer sp.Finish() @@ -1974,6 +2131,24 @@ func assignInternalTask(ctx context.Context, parentTask.addChildTask(loadSegmentTask) log.Debug("assignInternalTask: add a loadSegmentTask childTask", zap.Any("task", loadSegmentTask)) } + + for _, req := range watchDeltaChannelRequests { + ctx = opentracing.ContextWithSpan(context.Background(), sp) + watchDeltaRequest := proto.Clone(req).(*querypb.WatchDeltaChannelsRequest) + watchDeltaRequest.NodeID = nodeID + baseTask := newBaseTask(ctx, parentTask.getTriggerCondition()) + baseTask.setParentTask(parentTask) + watchDeltaTask := &watchDeltaChannelTask{ + baseTask: baseTask, + WatchDeltaChannelsRequest: watchDeltaRequest, + meta: meta, + cluster: cluster, + excludeNodeIDs: []int64{}, + } + parentTask.addChildTask(watchDeltaTask) + log.Debug("assignInternalTask: add a watchDeltaChannelTask childTask", zap.Any("task", watchDeltaTask)) + } + } for index, nodeID := range watchRequest2Nodes { diff --git a/internal/querycoord/task_scheduler.go b/internal/querycoord/task_scheduler.go index b3b7031aa3..6f3591afa1 100644 --- a/internal/querycoord/task_scheduler.go +++ b/internal/querycoord/task_scheduler.go @@ -358,6 +358,21 @@ func (scheduler *TaskScheduler) unmarshalTask(taskID UniqueID, t string) (task, excludeNodeIDs: []int64{}, } newTask = watchDmChannelTask + case commonpb.MsgType_WatchDeltaChannels: + //TODO::trigger condition may be different + loadReq := querypb.WatchDeltaChannelsRequest{} + err = proto.Unmarshal([]byte(t), &loadReq) + if err != nil { + return nil, err + } + watchDeltaChannelTask := &watchDeltaChannelTask{ + baseTask: baseTask, + WatchDeltaChannelsRequest: &loadReq, + cluster: scheduler.cluster, + meta: scheduler.meta, + excludeNodeIDs: []int64{}, + } + newTask = watchDeltaChannelTask case commonpb.MsgType_WatchQueryChannels: //TODO::trigger condition may be different loadReq := querypb.AddQueryChannelRequest{} @@ -463,6 +478,8 @@ func (scheduler *TaskScheduler) processTask(t task) error { protoSize = proto.Size(childTask.(*loadSegmentTask).LoadSegmentsRequest) case commonpb.MsgType_WatchDmChannels: protoSize = proto.Size(childTask.(*watchDmChannelTask).WatchDmChannelsRequest) + case commonpb.MsgType_WatchDeltaChannels: + protoSize = proto.Size(childTask.(*watchDeltaChannelTask).WatchDeltaChannelsRequest) case commonpb.MsgType_WatchQueryChannels: protoSize = proto.Size(childTask.(*watchQueryChannelTask).AddQueryChannelRequest) default: @@ -816,6 +833,8 @@ func (scheduler *TaskScheduler) waitActivateTaskDone(wg *sync.WaitGroup, t task, redoFunc1() case commonpb.MsgType_WatchDmChannels: redoFunc1() + case commonpb.MsgType_WatchDeltaChannels: + redoFunc2(err) case commonpb.MsgType_WatchQueryChannels: redoFunc2(err) case commonpb.MsgType_ReleaseSegments: diff --git a/internal/querycoord/task_scheduler_test.go b/internal/querycoord/task_scheduler_test.go index 71861f930f..c5a36c42c2 100644 --- a/internal/querycoord/task_scheduler_test.go +++ b/internal/querycoord/task_scheduler_test.go @@ -355,6 +355,27 @@ func TestUnMarshalTask(t *testing.T) { assert.Equal(t, task.msgType(), commonpb.MsgType_WatchDmChannels) }) + t.Run("Test watchDeltaChannelTask", func(t *testing.T) { + watchTask := &watchDeltaChannelTask{ + WatchDeltaChannelsRequest: &querypb.WatchDeltaChannelsRequest{ + Base: &commonpb.MsgBase{ + MsgType: commonpb.MsgType_WatchDeltaChannels, + }, + }, + } + blobs, err := watchTask.marshal() + assert.Nil(t, err) + err = kv.Save("testMarshalWatchDeltaChannel", string(blobs)) + assert.Nil(t, err) + defer kv.RemoveWithPrefix("testMarshalWatchDeltaChannel") + value, err := kv.Load("testMarshalWatchDeltaChannel") + assert.Nil(t, err) + + task, err := taskScheduler.unmarshalTask(1007, value) + assert.Nil(t, err) + assert.Equal(t, task.msgType(), commonpb.MsgType_WatchDeltaChannels) + }) + t.Run("Test watchQueryChannelTask", func(t *testing.T) { watchTask := &watchQueryChannelTask{ AddQueryChannelRequest: &querypb.AddQueryChannelRequest{ @@ -371,7 +392,7 @@ func TestUnMarshalTask(t *testing.T) { value, err := kv.Load("testMarshalWatchQueryChannel") assert.Nil(t, err) - task, err := taskScheduler.unmarshalTask(1007, value) + task, err := taskScheduler.unmarshalTask(1008, value) assert.Nil(t, err) assert.Equal(t, task.msgType(), commonpb.MsgType_WatchQueryChannels) }) @@ -393,7 +414,7 @@ func TestUnMarshalTask(t *testing.T) { value, err := kv.Load("testMarshalLoadBalanceTask") assert.Nil(t, err) - task, err := taskScheduler.unmarshalTask(1008, value) + task, err := taskScheduler.unmarshalTask(1009, value) assert.Nil(t, err) assert.Equal(t, task.msgType(), commonpb.MsgType_LoadBalanceSegments) }) @@ -415,7 +436,7 @@ func TestUnMarshalTask(t *testing.T) { value, err := kv.Load("testMarshalHandoffTask") assert.Nil(t, err) - task, err := taskScheduler.unmarshalTask(1008, value) + task, err := taskScheduler.unmarshalTask(1010, value) assert.Nil(t, err) assert.Equal(t, task.msgType(), commonpb.MsgType_HandoffSegments) }) diff --git a/internal/querycoord/task_test.go b/internal/querycoord/task_test.go index 4de48f508a..4cdfd0c8a0 100644 --- a/internal/querycoord/task_test.go +++ b/internal/querycoord/task_test.go @@ -694,7 +694,7 @@ func Test_AssignInternalTask(t *testing.T) { loadSegmentRequests = append(loadSegmentRequests, req) } - err = assignInternalTask(queryCoord.loopCtx, defaultCollectionID, loadCollectionTask, queryCoord.meta, queryCoord.cluster, loadSegmentRequests, nil, false) + err = assignInternalTask(queryCoord.loopCtx, defaultCollectionID, loadCollectionTask, queryCoord.meta, queryCoord.cluster, loadSegmentRequests, nil, nil, false) assert.Nil(t, err) assert.NotEqual(t, 1, len(loadCollectionTask.getChildTask())) diff --git a/internal/querynode/impl.go b/internal/querynode/impl.go index 43e09d20df..34f3ea3858 100644 --- a/internal/querynode/impl.go +++ b/internal/querynode/impl.go @@ -278,6 +278,13 @@ func (node *QueryNode) WatchDmChannels(ctx context.Context, in *queryPb.WatchDmC return waitFunc() } +// WatchDeltaChannels create consumers on dmChannels to reveive Incremental data,which is the important part of real-time query +func (node *QueryNode) WatchDeltaChannels(ctx context.Context, in *queryPb.WatchDeltaChannelsRequest) (*commonpb.Status, error) { + return &commonpb.Status{ + ErrorCode: commonpb.ErrorCode_Success, + }, nil +} + // LoadSegments load historical data into query node, historical data can be vector data or index func (node *QueryNode) LoadSegments(ctx context.Context, in *queryPb.LoadSegmentsRequest) (*commonpb.Status, error) { code := node.stateCode.Load().(internalpb.StateCode) diff --git a/internal/types/types.go b/internal/types/types.go index ad546e6175..578f1b854b 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -953,6 +953,7 @@ type QueryNode interface { AddQueryChannel(ctx context.Context, req *querypb.AddQueryChannelRequest) (*commonpb.Status, error) RemoveQueryChannel(ctx context.Context, req *querypb.RemoveQueryChannelRequest) (*commonpb.Status, error) WatchDmChannels(ctx context.Context, req *querypb.WatchDmChannelsRequest) (*commonpb.Status, error) + WatchDeltaChannels(ctx context.Context, req *querypb.WatchDeltaChannelsRequest) (*commonpb.Status, error) // LoadSegments notifies QueryNode to load the sealed segments from storage. The load tasks are sync to this // rpc, QueryNode will return after all the sealed segments are loaded. //