From e7aa44ff5bf0c24047db1592259cfe5af000608e Mon Sep 17 00:00:00 2001 From: 3AceShowHand Date: Mon, 11 Nov 2024 16:07:37 +0800 Subject: [PATCH] add skipLightningPhysicalImported to the proto --- pkg/cdcpb/cdcpb.pb.go | 248 +++++++++++++++++++-------------- pkg/configpb/configpb.pb.gw.go | 22 ++- proto/cdcpb.proto | 3 + scripts/proto.lock | 5 + 4 files changed, 174 insertions(+), 104 deletions(-) diff --git a/pkg/cdcpb/cdcpb.pb.go b/pkg/cdcpb/cdcpb.pb.go index 749c9d61c..8f21b280f 100644 --- a/pkg/cdcpb/cdcpb.pb.go +++ b/pkg/cdcpb/cdcpb.pb.go @@ -1177,10 +1177,12 @@ type ChangeDataRequest struct { Request isChangeDataRequest_Request `protobuf_oneof:"request"` KvApi ChangeDataRequest_KvAPI `protobuf:"varint,11,opt,name=kv_api,json=kvApi,proto3,enum=cdcpb.ChangeDataRequest_KvAPI" json:"kv_api,omitempty"` // Whether to filter out the value write by cdc itself. - FilterLoop bool `protobuf:"varint,12,opt,name=filter_loop,json=filterLoop,proto3" json:"filter_loop,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FilterLoop bool `protobuf:"varint,12,opt,name=filter_loop,json=filterLoop,proto3" json:"filter_loop,omitempty"` + // Whether to skip lightning physical imported data + SkipLightningPhysicalImported bool `protobuf:"varint,14,opt,name=skipLightningPhysicalImported,proto3" json:"skipLightningPhysicalImported,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ChangeDataRequest) Reset() { *m = ChangeDataRequest{} } @@ -1334,6 +1336,13 @@ func (m *ChangeDataRequest) GetFilterLoop() bool { return false } +func (m *ChangeDataRequest) GetSkipLightningPhysicalImported() bool { + if m != nil { + return m.SkipLightningPhysicalImported + } + return false +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*ChangeDataRequest) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -1496,104 +1505,106 @@ func init() { func init() { proto.RegisterFile("cdcpb.proto", fileDescriptor_911209a1d38ef245) } var fileDescriptor_911209a1d38ef245 = []byte{ - // 1544 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x4b, 0x73, 0x1b, 0x4f, - 0x11, 0xd7, 0xea, 0xad, 0xd6, 0xc3, 0xeb, 0x49, 0x48, 0x14, 0x51, 0x98, 0xa0, 0x24, 0xe0, 0x84, - 0x42, 0x49, 0x04, 0xe1, 0x10, 0x8a, 0x80, 0xf5, 0x08, 0x56, 0x59, 0x96, 0x53, 0xe3, 0xb5, 0x53, - 0xc5, 0x81, 0xad, 0xf5, 0xee, 0x58, 0xde, 0x92, 0xb4, 0xb3, 0xd9, 0x1d, 0x29, 0xd2, 0x8d, 0x23, - 0x17, 0x4e, 0x70, 0xe0, 0x23, 0xf0, 0x51, 0x38, 0x72, 0xe4, 0x48, 0x85, 0xef, 0x40, 0x71, 0xa4, - 0xa6, 0x67, 0x77, 0xf5, 0xc8, 0xdf, 0xfe, 0x57, 0xfd, 0x4f, 0x9a, 0xee, 0x5f, 0x4f, 0x4f, 0x4f, - 0x3f, 0x7e, 0xb3, 0x82, 0xb2, 0xed, 0xd8, 0xfe, 0x55, 0xcb, 0x0f, 0xb8, 0xe0, 0x24, 0x87, 0x42, - 0x43, 0x0f, 0xac, 0x6b, 0x61, 0xda, 0x33, 0x27, 0x06, 0x1a, 0x95, 0x19, 0x13, 0x56, 0x22, 0x55, - 0x59, 0x10, 0xf0, 0x60, 0x2d, 0x4e, 0x16, 0x81, 0x9f, 0x38, 0x69, 0xdc, 0x1f, 0xf3, 0x31, 0xc7, - 0xe5, 0x4b, 0xb9, 0x8a, 0xb4, 0x7b, 0xc1, 0x3c, 0x14, 0xb8, 0x54, 0x8a, 0xe6, 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0x8a, 0xa1, 0xb0, 0x02, 0x61, 0x8a, 0x30, 0x6e, 0x31, - 0x94, 0x8d, 0x50, 0xb6, 0x98, 0x1f, 0xb8, 0x33, 0x2b, 0x58, 0x61, 0x61, 0x2b, 0x34, 0x16, 0x9b, - 0x7f, 0xd6, 0xa0, 0x64, 0x2c, 0xbd, 0x73, 0x61, 0x89, 0x79, 0x78, 0x97, 0x8b, 0x26, 0x54, 0x67, - 0xae, 0x67, 0xda, 0x7c, 0x36, 0x73, 0x11, 0x57, 0xbd, 0x5a, 0x9e, 0xb9, 0x5e, 0x17, 0x75, 0x46, - 0x28, 0x5b, 0x74, 0x8d, 0x67, 0x54, 0x8b, 0xda, 0x31, 0xf8, 0x14, 0x6a, 0x6e, 0x68, 0x06, 0x7c, - 0x3a, 0x65, 0x8e, 0x79, 0x65, 0xd9, 0x13, 0xac, 0x6f, 0x91, 0x56, 0xdc, 0x90, 0xa2, 0xb2, 0x63, - 0xd9, 0x93, 0xe6, 0x5f, 0x8a, 0x90, 0xeb, 0x2f, 0xe4, 0x58, 0xdc, 0xd5, 0xef, 0xe4, 0x3e, 0xe4, - 0x5c, 0xcf, 0x61, 0xcb, 0x28, 0x0a, 0x25, 0x48, 0xa6, 0x88, 0x7a, 0x47, 0xee, 0x29, 0x28, 0xa6, - 0x88, 0x34, 0x03, 0x87, 0xbc, 0x82, 0x02, 0xf3, 0x44, 0xe0, 0xb2, 0x30, 0x6a, 0xce, 0xb8, 0x31, - 0xf0, 0xc0, 0x56, 0x5f, 0x61, 0xc7, 0x29, 0x1a, 0x9b, 0x91, 0x17, 0x90, 0xb3, 0x9c, 0x99, 0xeb, - 0x45, 0xad, 0x48, 0xb6, 0xec, 0x8f, 0x24, 0x72, 0x9c, 0xa2, 0xca, 0x84, 0x3c, 0x85, 0x1c, 0xd6, - 0x37, 0x6a, 0xba, 0x4a, 0x6c, 0x2b, 0x75, 0xd2, 0x0a, 0x41, 0xf2, 0x0c, 0xca, 0x01, 0x0b, 0xf9,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72, 0xd4, 0xfa, 0x7c, 0x72, 0xa9, 0x6b, 0x72, - 0x69, 0x2c, 0xbd, 0x93, 0x4b, 0x3d, 0xdd, 0x29, 0x25, 0x9f, 0xb7, 0xed, 0xbf, 0x6a, 0x00, 0xeb, - 0x5b, 0x91, 0x23, 0x28, 0xe1, 0xb4, 0xbe, 0x67, 0xcc, 0x21, 0xf5, 0xdb, 0x6e, 0xdd, 0x78, 0xf0, - 0x15, 0x82, 0xbb, 0x0e, 0xb5, 0x57, 0x1a, 0xe9, 0x42, 0x39, 0x71, 0x71, 0xd9, 0xfe, 0x6e, 0x4e, - 0x3a, 0x3f, 0xfe, 0xd7, 0xdf, 0x8b, 0xda, 0x3f, 0xbe, 0x1c, 0x68, 0xff, 0xfc, 0x72, 0xa0, 0xfd, - 0xfb, 0xcb, 0x81, 0xf6, 0xb7, 0xff, 0x1c, 0xa4, 0x40, 0xe7, 0xc1, 0xb8, 0x25, 0xdc, 0xc9, 0xa2, - 0x35, 0x59, 0xe0, 0x5f, 0x92, 0xab, 0x3c, 0xfe, 0xfc, 0xfc, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x04, 0x23, 0x11, 0xea, 0x14, 0x0d, 0x00, 0x00, + // 1578 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0xcd, 0x72, 0x23, 0x49, + 0x11, 0x76, 0xeb, 0x5f, 0xa9, 0x1f, 0xb7, 0x6b, 0x87, 0x1d, 0xad, 0x88, 0x35, 0x83, 0x76, 0x16, + 0xbc, 0x4b, 0xa0, 0xd9, 0x35, 0x2c, 0x87, 0x25, 0x58, 0xb0, 0x2c, 0x2d, 0x56, 0x58, 0x63, 0x4f, + 0xd4, 0x68, 0xbc, 0x11, 0x1c, 0xe8, 0x68, 0x77, 0x97, 0xe5, 0x0a, 0x49, 0x55, 0xbd, 0x5d, 0x25, + 0x8d, 0xf4, 0x06, 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97, 0xa4, 0xf7, 0x83, 0xbf, 0xff, 0xb9, 0xe2, 0xfc, 0xf5, 0xcd, 0xb1, 0xf3, 0xb7, 0x37, + 0xc7, 0xce, 0x3f, 0xde, 0x1c, 0x3b, 0x7f, 0xfa, 0xe7, 0xf1, 0x01, 0xb8, 0x32, 0x9e, 0x74, 0x35, + 0x9f, 0x2e, 0xbb, 0xd3, 0x25, 0xfe, 0xb1, 0xb9, 0x2d, 0xe1, 0xcf, 0x4f, 0xfe, 0x13, 0x00, 0x00, + 0xff, 0xff, 0x89, 0x0e, 0xdc, 0x24, 0x5a, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2667,6 +2678,16 @@ func (m *ChangeDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.SkipLightningPhysicalImported { + i-- + if m.SkipLightningPhysicalImported { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x70 + } if m.Request != nil { { size := m.Request.Size() @@ -3363,6 +3384,9 @@ func (m *ChangeDataRequest) Size() (n int) { if m.FilterLoop { n += 2 } + if m.SkipLightningPhysicalImported { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -5960,6 +5984,26 @@ func (m *ChangeDataRequest) Unmarshal(dAtA []byte) error { } m.Request = &ChangeDataRequest_Deregister_{v} iNdEx = postIndex + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipLightningPhysicalImported", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCdcpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipLightningPhysicalImported = bool(v != 0) default: iNdEx = preIndex skippy, err := skipCdcpb(dAtA[iNdEx:]) diff --git a/pkg/configpb/configpb.pb.gw.go b/pkg/configpb/configpb.pb.gw.go index c0385b0e4..9b4675b32 100644 --- a/pkg/configpb/configpb.pb.gw.go +++ b/pkg/configpb/configpb.pb.gw.go @@ -20,6 +20,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -30,6 +31,7 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage +var _ = metadata.Join var ( filter_Config_Get_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -55,7 +57,10 @@ func local_request_Config_Get_0(ctx context.Context, marshaler runtime.Marshaler var protoReq GetRequest var metadata runtime.ServerMetadata - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Config_Get_0); err != nil { + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Config_Get_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -122,7 +127,10 @@ func local_request_Config_Delete_0(ctx context.Context, marshaler runtime.Marsha var protoReq DeleteRequest var metadata runtime.ServerMetadata - if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Config_Delete_0); err != nil { + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Config_Delete_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -134,11 +142,14 @@ func local_request_Config_Delete_0(ctx context.Context, marshaler runtime.Marsha // RegisterConfigHandlerServer registers the http handlers for service Config to "mux". // UnaryRPC :call ConfigServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterConfigHandlerFromEndpoint instead. func RegisterConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ConfigServer) error { mux.Handle("GET", pattern_Config_Get_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -146,6 +157,7 @@ func RegisterConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, ser return } resp, md, err := local_request_Config_Get_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -159,6 +171,8 @@ func RegisterConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, ser mux.Handle("POST", pattern_Config_Update_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -166,6 +180,7 @@ func RegisterConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, ser return } resp, md, err := local_request_Config_Update_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -179,6 +194,8 @@ func RegisterConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, ser mux.Handle("DELETE", pattern_Config_Delete_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -186,6 +203,7 @@ func RegisterConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, ser return } resp, md, err := local_request_Config_Delete_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/proto/cdcpb.proto b/proto/cdcpb.proto index 700d61573..d790d3180 100644 --- a/proto/cdcpb.proto +++ b/proto/cdcpb.proto @@ -190,6 +190,9 @@ message ChangeDataRequest { // Whether to filter out the value write by cdc itself. bool filter_loop = 12; + + // Whether to skip lightning physical imported data + bool skipLightningPhysicalImported = 14; } service ChangeData { diff --git a/scripts/proto.lock b/scripts/proto.lock index cb0ea582f..32c68772c 100644 --- a/scripts/proto.lock +++ b/scripts/proto.lock @@ -2532,6 +2532,11 @@ "id": 12, "name": "filter_loop", "type": "bool" + }, + { + "id": 14, + "name": "skipLightningPhysicalImported", + "type": "bool" } ], "messages": [