From c382b16664e282fc60f2e6ac56fea63d9973b306 Mon Sep 17 00:00:00 2001 From: 5kbpers Date: Thu, 13 Aug 2020 15:14:12 +0800 Subject: [PATCH 1/9] cdc: add regions field for reducing message of resolved ts Signed-off-by: 5kbpers --- pkg/cdcpb/cdcpb.pb.go | 275 ++++++++++++++++++++++++++++-------------- proto/cdcpb.proto | 1 + 2 files changed, 186 insertions(+), 90 deletions(-) diff --git a/pkg/cdcpb/cdcpb.pb.go b/pkg/cdcpb/cdcpb.pb.go index 1b485f7d0..9b951d961 100644 --- a/pkg/cdcpb/cdcpb.pb.go +++ b/pkg/cdcpb/cdcpb.pb.go @@ -68,7 +68,7 @@ func (x Event_LogType) String() string { return proto.EnumName(Event_LogType_name, int32(x)) } func (Event_LogType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 0} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 0} } type Event_Row_OpType int32 @@ -94,7 +94,7 @@ func (x Event_Row_OpType) String() string { return proto.EnumName(Event_Row_OpType_name, int32(x)) } func (Event_Row_OpType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 0, 0} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 0, 0} } type Header struct { @@ -108,7 +108,7 @@ func (m *Header) Reset() { *m = Header{} } func (m *Header) String() string { return proto.CompactTextString(m) } func (*Header) ProtoMessage() {} func (*Header) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{0} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{0} } func (m *Header) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -158,7 +158,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{1} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{1} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -226,7 +226,7 @@ func (m *Error_DuplicateRequest) Reset() { *m = Error_DuplicateRequest{} func (m *Error_DuplicateRequest) String() string { return proto.CompactTextString(m) } func (*Error_DuplicateRequest) ProtoMessage() {} func (*Error_DuplicateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{1, 0} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{1, 0} } func (m *Error_DuplicateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -263,9 +263,10 @@ func (m *Error_DuplicateRequest) GetRegionId() uint64 { } type Event struct { - RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - RequestId uint64 `protobuf:"varint,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + RequestId uint64 `protobuf:"varint,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Regions []uint64 `protobuf:"varint,8,rep,packed,name=regions" json:"regions,omitempty"` // Types that are valid to be assigned to Event: // *Event_Entries_ // *Event_Admin_ @@ -281,7 +282,7 @@ func (m *Event) Reset() { *m = Event{} } func (m *Event) String() string { return proto.CompactTextString(m) } func (*Event) ProtoMessage() {} func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2} } func (m *Event) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -362,6 +363,13 @@ func (m *Event) GetRequestId() uint64 { return 0 } +func (m *Event) GetRegions() []uint64 { + if m != nil { + return m.Regions + } + return nil +} + func (m *Event) GetEntries() *Event_Entries { if x, ok := m.GetEvent().(*Event_Entries_); ok { return x.Entries @@ -514,7 +522,7 @@ func (m *Event_Row) Reset() { *m = Event_Row{} } func (m *Event_Row) String() string { return proto.CompactTextString(m) } func (*Event_Row) ProtoMessage() {} func (*Event_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 0} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 0} } func (m *Event_Row) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -603,7 +611,7 @@ func (m *Event_Entries) Reset() { *m = Event_Entries{} } func (m *Event_Entries) String() string { return proto.CompactTextString(m) } func (*Event_Entries) ProtoMessage() {} func (*Event_Entries) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 1} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 1} } func (m *Event_Entries) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -651,7 +659,7 @@ func (m *Event_Admin) Reset() { *m = Event_Admin{} } func (m *Event_Admin) String() string { return proto.CompactTextString(m) } func (*Event_Admin) ProtoMessage() {} func (*Event_Admin) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 2} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 2} } func (m *Event_Admin) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -705,7 +713,7 @@ func (m *ChangeDataEvent) Reset() { *m = ChangeDataEvent{} } func (m *ChangeDataEvent) String() string { return proto.CompactTextString(m) } func (*ChangeDataEvent) ProtoMessage() {} func (*ChangeDataEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{3} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{3} } func (m *ChangeDataEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -760,7 +768,7 @@ func (m *ChangeDataRequest) Reset() { *m = ChangeDataRequest{} } func (m *ChangeDataRequest) String() string { return proto.CompactTextString(m) } func (*ChangeDataRequest) ProtoMessage() {} func (*ChangeDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_2e99764ce76e8347, []int{4} + return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{4} } func (m *ChangeDataRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1113,6 +1121,23 @@ func (m *Event) MarshalTo(dAtA []byte) (int, error) { i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.RequestId)) } + if len(m.Regions) > 0 { + dAtA7 := make([]byte, len(m.Regions)*10) + var j6 int + for _, num := range m.Regions { + for num >= 1<<7 { + dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j6++ + } + dAtA7[j6] = uint8(num) + j6++ + } + dAtA[i] = 0x42 + i++ + i = encodeVarintCdcpb(dAtA, i, uint64(j6)) + i += copy(dAtA[i:], dAtA7[:j6]) + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -1125,11 +1150,11 @@ func (m *Event_Entries_) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Entries.Size())) - n6, err := m.Entries.MarshalTo(dAtA[i:]) + n8, err := m.Entries.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n6 + i += n8 } return i, nil } @@ -1139,11 +1164,11 @@ func (m *Event_Admin_) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Admin.Size())) - n7, err := m.Admin.MarshalTo(dAtA[i:]) + n9, err := m.Admin.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n7 + i += n9 } return i, nil } @@ -1153,11 +1178,11 @@ func (m *Event_Error) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Error.Size())) - n8, err := m.Error.MarshalTo(dAtA[i:]) + n10, err := m.Error.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n8 + i += n10 } return i, nil } @@ -1279,21 +1304,21 @@ func (m *Event_Admin) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.AdminRequest.Size())) - n9, err := m.AdminRequest.MarshalTo(dAtA[i:]) + n11, err := m.AdminRequest.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n9 + i += n11 } if m.AdminResponse != nil { dAtA[i] = 0x12 i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.AdminResponse.Size())) - n10, err := m.AdminResponse.MarshalTo(dAtA[i:]) + n12, err := m.AdminResponse.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n10 + i += n12 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -1353,11 +1378,11 @@ func (m *ChangeDataRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Header.Size())) - n11, err := m.Header.MarshalTo(dAtA[i:]) + n13, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n11 + i += n13 } if m.RegionId != 0 { dAtA[i] = 0x10 @@ -1368,11 +1393,11 @@ func (m *ChangeDataRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.RegionEpoch.Size())) - n12, err := m.RegionEpoch.MarshalTo(dAtA[i:]) + n14, err := m.RegionEpoch.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n12 + i += n14 } if m.CheckpointTs != 0 { dAtA[i] = 0x20 @@ -1480,6 +1505,13 @@ func (m *Event) Size() (n int) { if m.RequestId != 0 { n += 1 + sovCdcpb(uint64(m.RequestId)) } + if len(m.Regions) > 0 { + l = 0 + for _, e := range m.Regions { + l += sovCdcpb(uint64(e)) + } + n += 1 + sovCdcpb(uint64(l)) + l + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2174,6 +2206,68 @@ func (m *Event) Unmarshal(dAtA []byte) error { break } } + case 8: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCdcpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.Regions = append(m.Regions, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCdcpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthCdcpb + } + postIndex := iNdEx + packedLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCdcpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.Regions = append(m.Regions, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) + } default: iNdEx = preIndex skippy, err := skipCdcpb(dAtA[iNdEx:]) @@ -3057,66 +3151,67 @@ var ( ErrIntOverflowCdcpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("cdcpb.proto", fileDescriptor_cdcpb_2e99764ce76e8347) } - -var fileDescriptor_cdcpb_2e99764ce76e8347 = []byte{ - // 923 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0xdf, 0x8e, 0xdb, 0xc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RegisterFile("cdcpb.proto", fileDescriptor_cdcpb_021e8e4e22f24dc7) } + +var fileDescriptor_cdcpb_021e8e4e22f24dc7 = []byte{ + // 935 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x5f, 0x8f, 0xdb, 0x44, + 0x10, 0x8f, 0x93, 0xd8, 0x4e, 0x26, 0xc9, 0x9d, 0xbb, 0x9c, 0x7a, 0x6e, 0x50, 0x4f, 0x47, 0x28, + 0x10, 0x15, 0xc9, 0x2d, 0x87, 0x80, 0x27, 0x10, 0xb9, 0x8b, 0xab, 0x0b, 0x97, 0x4b, 0xaa, 0x95, + 0x4b, 0x25, 0x1e, 0x88, 0x5c, 0x7b, 0x9b, 0x44, 0x49, 0xbc, 0xc6, 0xde, 0xa4, 0xbd, 0x6f, 0x80, + 0xf8, 0x04, 0x7c, 0x04, 0x3e, 0x01, 0x0f, 0x7c, 0x02, 0x1e, 0x11, 0x4f, 0x3c, 0xa2, 0xe3, 0x8b, + 0xa0, 0x9d, 0xb5, 0xf3, 0xaf, 0x88, 0x3e, 0x65, 0x67, 0x7e, 0xbf, 0x99, 0xec, 0xfc, 0x76, 0x66, + 0x0c, 0xb5, 0x20, 0x0c, 0xe2, 0x17, 0x4e, 0x9c, 0x70, 0xc1, 0x89, 0x8e, 0x46, 0xd3, 0x4a, 0xfc, + 0x97, 0x62, 0x14, 0x2c, 0xc2, 0x1c, 0x68, 0xd6, 0x17, 0x4c, 0xf8, 0x6b, 0xab, 0xc1, 0x92, 0x84, + 0x27, 0x1b, 0x73, 0xb6, 0x4a, 0xe2, 0x75, 0x92, 0xe6, 0xd1, 0x98, 0x8f, 0x39, 0x1e, 0x1f, 0xc9, + 0x53, 0xe6, 0x3d, 0x4c, 0x96, 0xa9, 0xc0, 0xa3, 0x72, 0xb4, 0x3e, 0x02, 0xe3, 0x92, 0xf9, 0x21, + 0x4b, 0xc8, 0x7d, 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xa2, 0xfd, 0x71, 0x7b, 0xa2, 0xfd, + 0x7d, 0x7b, 0xa2, 0xfd, 0xfc, 0xcf, 0x49, 0x01, 0x2c, 0x9e, 0x8c, 0x1d, 0x31, 0x9d, 0xad, 0x9c, + 0xd9, 0x0a, 0xbf, 0x52, 0x2f, 0x0c, 0xfc, 0xf9, 0xf4, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, + 0xfb, 0x4e, 0x38, 0x27, 0x07, 0x00, 0x00, } diff --git a/proto/cdcpb.proto b/proto/cdcpb.proto index bcb22804c..aa93893fa 100644 --- a/proto/cdcpb.proto +++ b/proto/cdcpb.proto @@ -69,6 +69,7 @@ message Event { uint64 region_id = 1; uint64 index = 2; uint64 request_id = 7; + repeated uint64 regions = 8; oneof event { Entries entries = 3; Admin admin = 4; From ea5d4023b35e4a7d1047d8d10d199e6988b71d49 Mon Sep 17 00:00:00 2001 From: disksing Date: Tue, 24 Mar 2020 21:01:06 +0800 Subject: [PATCH 2/9] pdpb: add replicate_mode (#584) Signed-off-by: disksing Signed-off-by: 5kbpers --- pkg/cdcpb/cdcpb.pb.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pkg/cdcpb/cdcpb.pb.go b/pkg/cdcpb/cdcpb.pb.go index 9b951d961..9c6e70a4d 100644 --- a/pkg/cdcpb/cdcpb.pb.go +++ b/pkg/cdcpb/cdcpb.pb.go @@ -68,7 +68,7 @@ func (x Event_LogType) String() string { return proto.EnumName(Event_LogType_name, int32(x)) } func (Event_LogType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 0} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 0} } type Event_Row_OpType int32 @@ -94,7 +94,7 @@ func (x Event_Row_OpType) String() string { return proto.EnumName(Event_Row_OpType_name, int32(x)) } func (Event_Row_OpType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 0, 0} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 0, 0} } type Header struct { @@ -108,7 +108,7 @@ func (m *Header) Reset() { *m = Header{} } func (m *Header) String() string { return proto.CompactTextString(m) } func (*Header) ProtoMessage() {} func (*Header) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{0} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{0} } func (m *Header) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -158,7 +158,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{1} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{1} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -226,7 +226,7 @@ func (m *Error_DuplicateRequest) Reset() { *m = Error_DuplicateRequest{} func (m *Error_DuplicateRequest) String() string { return proto.CompactTextString(m) } func (*Error_DuplicateRequest) ProtoMessage() {} func (*Error_DuplicateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{1, 0} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{1, 0} } func (m *Error_DuplicateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -282,7 +282,7 @@ func (m *Event) Reset() { *m = Event{} } func (m *Event) String() string { return proto.CompactTextString(m) } func (*Event) ProtoMessage() {} func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{2} } func (m *Event) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -522,7 +522,7 @@ func (m *Event_Row) Reset() { *m = Event_Row{} } func (m *Event_Row) String() string { return proto.CompactTextString(m) } func (*Event_Row) ProtoMessage() {} func (*Event_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 0} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 0} } func (m *Event_Row) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -611,7 +611,7 @@ func (m *Event_Entries) Reset() { *m = Event_Entries{} } func (m *Event_Entries) String() string { return proto.CompactTextString(m) } func (*Event_Entries) ProtoMessage() {} func (*Event_Entries) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 1} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 1} } func (m *Event_Entries) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -659,7 +659,7 @@ func (m *Event_Admin) Reset() { *m = Event_Admin{} } func (m *Event_Admin) String() string { return proto.CompactTextString(m) } func (*Event_Admin) ProtoMessage() {} func (*Event_Admin) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{2, 2} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 2} } func (m *Event_Admin) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -713,7 +713,7 @@ func (m *ChangeDataEvent) Reset() { *m = ChangeDataEvent{} } func (m *ChangeDataEvent) String() string { return proto.CompactTextString(m) } func (*ChangeDataEvent) ProtoMessage() {} func (*ChangeDataEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{3} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{3} } func (m *ChangeDataEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -768,7 +768,7 @@ func (m *ChangeDataRequest) Reset() { *m = ChangeDataRequest{} } func (m *ChangeDataRequest) String() string { return proto.CompactTextString(m) } func (*ChangeDataRequest) ProtoMessage() {} func (*ChangeDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_021e8e4e22f24dc7, []int{4} + return fileDescriptor_cdcpb_b4939cebb266957c, []int{4} } func (m *ChangeDataRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3151,9 +3151,9 @@ var ( ErrIntOverflowCdcpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("cdcpb.proto", fileDescriptor_cdcpb_021e8e4e22f24dc7) } +func init() { proto.RegisterFile("cdcpb.proto", fileDescriptor_cdcpb_b4939cebb266957c) } -var fileDescriptor_cdcpb_021e8e4e22f24dc7 = []byte{ +var fileDescriptor_cdcpb_b4939cebb266957c = []byte{ // 935 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x5f, 0x8f, 0xdb, 0x44, 0x10, 0x8f, 0x93, 0xd8, 0x4e, 0x26, 0xc9, 0x9d, 0xbb, 0x9c, 0x7a, 0x6e, 0x50, 0x4f, 0x47, 0x28, From cbbaffbf6489df966dad2a7fc816d9700bd56eea Mon Sep 17 00:00:00 2001 From: disksing Date: Fri, 3 Apr 2020 11:36:25 +0800 Subject: [PATCH 3/9] replicate_mode: change recover-id to state-id (#594) Signed-off-by: disksing --- pkg/replicate_mode/replicate_mode.pb.go | 112 ++++++++++++------------ proto/replicate_mode.proto | 4 +- 2 files changed, 58 insertions(+), 58 deletions(-) diff --git a/pkg/replicate_mode/replicate_mode.pb.go b/pkg/replicate_mode/replicate_mode.pb.go index a3a352464..7f62cf3db 100644 --- a/pkg/replicate_mode/replicate_mode.pb.go +++ b/pkg/replicate_mode/replicate_mode.pb.go @@ -42,7 +42,7 @@ func (x ReplicateStatus_Mode) String() string { return proto.EnumName(ReplicateStatus_Mode_name, int32(x)) } func (ReplicateStatus_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_42b7bc2451599399, []int{0, 0} + return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{0, 0} } type DRAutoSync_State int32 @@ -68,7 +68,7 @@ func (x DRAutoSync_State) String() string { return proto.EnumName(DRAutoSync_State_name, int32(x)) } func (DRAutoSync_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_42b7bc2451599399, []int{1, 0} + return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{1, 0} } type RegionReplicateStatus_State int32 @@ -91,7 +91,7 @@ func (x RegionReplicateStatus_State) String() string { return proto.EnumName(RegionReplicateStatus_State_name, int32(x)) } func (RegionReplicateStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_42b7bc2451599399, []int{2, 0} + return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{2, 0} } // The replicate status sync from PD to TiKV. @@ -107,7 +107,7 @@ func (m *ReplicateStatus) Reset() { *m = ReplicateStatus{} } func (m *ReplicateStatus) String() string { return proto.CompactTextString(m) } func (*ReplicateStatus) ProtoMessage() {} func (*ReplicateStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_42b7bc2451599399, []int{0} + return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{0} } func (m *ReplicateStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -154,7 +154,7 @@ func (m *ReplicateStatus) GetDrAutosync() *DRAutoSync { type DRAutoSync struct { LabelKey string `protobuf:"bytes,1,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"` State DRAutoSync_State `protobuf:"varint,2,opt,name=state,proto3,enum=replicate_mode.DRAutoSync_State" json:"state,omitempty"` - RecoverId uint64 `protobuf:"varint,3,opt,name=recover_id,json=recoverId,proto3" json:"recover_id,omitempty"` + StateId uint64 `protobuf:"varint,3,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` WaitSyncTimeoutHint int32 `protobuf:"varint,4,opt,name=wait_sync_timeout_hint,json=waitSyncTimeoutHint,proto3" json:"wait_sync_timeout_hint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -165,7 +165,7 @@ func (m *DRAutoSync) Reset() { *m = DRAutoSync{} } func (m *DRAutoSync) String() string { return proto.CompactTextString(m) } func (*DRAutoSync) ProtoMessage() {} func (*DRAutoSync) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_42b7bc2451599399, []int{1} + return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{1} } func (m *DRAutoSync) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -208,9 +208,9 @@ func (m *DRAutoSync) GetState() DRAutoSync_State { return DRAutoSync_SYNC } -func (m *DRAutoSync) GetRecoverId() uint64 { +func (m *DRAutoSync) GetStateId() uint64 { if m != nil { - return m.RecoverId + return m.StateId } return 0 } @@ -225,7 +225,7 @@ func (m *DRAutoSync) GetWaitSyncTimeoutHint() int32 { // The replicate status sync from TiKV to PD. type RegionReplicateStatus struct { State RegionReplicateStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=replicate_mode.RegionReplicateStatus_State" json:"state,omitempty"` - RecoverId uint64 `protobuf:"varint,2,opt,name=recover_id,json=recoverId,proto3" json:"recover_id,omitempty"` + StateId uint64 `protobuf:"varint,2,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -235,7 +235,7 @@ func (m *RegionReplicateStatus) Reset() { *m = RegionReplicateStatus{} } func (m *RegionReplicateStatus) String() string { return proto.CompactTextString(m) } func (*RegionReplicateStatus) ProtoMessage() {} func (*RegionReplicateStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_42b7bc2451599399, []int{2} + return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{2} } func (m *RegionReplicateStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -271,9 +271,9 @@ func (m *RegionReplicateStatus) GetState() RegionReplicateStatus_State { return RegionReplicateStatus_MAJORITY } -func (m *RegionReplicateStatus) GetRecoverId() uint64 { +func (m *RegionReplicateStatus) GetStateId() uint64 { if m != nil { - return m.RecoverId + return m.StateId } return 0 } @@ -348,10 +348,10 @@ func (m *DRAutoSync) MarshalTo(dAtA []byte) (int, error) { i++ i = encodeVarintReplicateMode(dAtA, i, uint64(m.State)) } - if m.RecoverId != 0 { + if m.StateId != 0 { dAtA[i] = 0x18 i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.RecoverId)) + i = encodeVarintReplicateMode(dAtA, i, uint64(m.StateId)) } if m.WaitSyncTimeoutHint != 0 { dAtA[i] = 0x20 @@ -384,10 +384,10 @@ func (m *RegionReplicateStatus) MarshalTo(dAtA []byte) (int, error) { i++ i = encodeVarintReplicateMode(dAtA, i, uint64(m.State)) } - if m.RecoverId != 0 { + if m.StateId != 0 { dAtA[i] = 0x10 i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.RecoverId)) + i = encodeVarintReplicateMode(dAtA, i, uint64(m.StateId)) } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -430,8 +430,8 @@ func (m *DRAutoSync) Size() (n int) { if m.State != 0 { n += 1 + sovReplicateMode(uint64(m.State)) } - if m.RecoverId != 0 { - n += 1 + sovReplicateMode(uint64(m.RecoverId)) + if m.StateId != 0 { + n += 1 + sovReplicateMode(uint64(m.StateId)) } if m.WaitSyncTimeoutHint != 0 { n += 1 + sovReplicateMode(uint64(m.WaitSyncTimeoutHint)) @@ -448,8 +448,8 @@ func (m *RegionReplicateStatus) Size() (n int) { if m.State != 0 { n += 1 + sovReplicateMode(uint64(m.State)) } - if m.RecoverId != 0 { - n += 1 + sovReplicateMode(uint64(m.RecoverId)) + if m.StateId != 0 { + n += 1 + sovReplicateMode(uint64(m.StateId)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) @@ -652,9 +652,9 @@ func (m *DRAutoSync) Unmarshal(dAtA []byte) error { } case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RecoverId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) } - m.RecoverId = 0 + m.StateId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowReplicateMode @@ -664,7 +664,7 @@ func (m *DRAutoSync) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RecoverId |= (uint64(b) & 0x7F) << shift + m.StateId |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -760,9 +760,9 @@ func (m *RegionReplicateStatus) Unmarshal(dAtA []byte) error { } case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RecoverId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) } - m.RecoverId = 0 + m.StateId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowReplicateMode @@ -772,7 +772,7 @@ func (m *RegionReplicateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RecoverId |= (uint64(b) & 0x7F) << shift + m.StateId |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -905,34 +905,34 @@ var ( ) func init() { - proto.RegisterFile("replicate_mode.proto", fileDescriptor_replicate_mode_42b7bc2451599399) -} - -var fileDescriptor_replicate_mode_42b7bc2451599399 = []byte{ - // 400 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdf, 0xea, 0xd3, 0x30, - 0x18, 0x5d, 0x66, 0x2b, 0xeb, 0xb7, 0xb1, 0x95, 0x38, 0xa5, 0x28, 0x96, 0x52, 0x14, 0x0a, 0x42, - 0x85, 0x0d, 0x44, 0xf0, 0xaa, 0xdb, 0x8a, 0x4e, 0xf7, 0x07, 0xb2, 0x2a, 0xec, 0x2a, 0x74, 0x6d, - 0xd0, 0xe2, 0xd6, 0x8c, 0x2e, 0x55, 0xfa, 0x26, 0x3e, 0x83, 0x37, 0xbe, 0x86, 0x97, 0x3e, 0x82, - 0x4c, 0x7c, 0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7, 0x42, 0x8e, 0x42, 0xb4, 0x13, 0x32, 0x8d, 0xf1, - 0x10, 0x1e, 0x7c, 0x0d, 0x13, 0x41, 0xa5, 0x6d, 0x2a, 0x92, 0x1d, 0xe3, 0xb9, 0xa0, 0x9f, 0x92, - 0x54, 0x18, 0x8a, 0x85, 0x1c, 0x95, 0xdc, 0x93, 0x53, 0xa9, 0x1a, 0x54, 0xb3, 0x37, 0x49, 0x2a, - 0x6c, 0x17, 0xd4, 0xf2, 0x0d, 0xdc, 0x02, 0xa5, 0x8c, 0xd2, 0xc0, 0x1a, 0xa8, 0x5e, 0x95, 0x0a, - 0xeb, 0xd0, 0x91, 0x27, 0x4a, 0xfc, 0xf1, 0xf2, 0x83, 0x4f, 0xf4, 0xa6, 0xfd, 0x1d, 0xc1, 0x7d, - 0xc2, 0x3e, 0x26, 0x3c, 0xad, 0xf7, 0xe3, 0x9d, 0x53, 0x55, 0x05, 0x3d, 0xbb, 0x5a, 0xd0, 0x35, - 0x5b, 0xb7, 0x05, 0x6c, 0xd6, 0x02, 0xda, 0xcf, 0xcf, 0x5e, 0x2f, 0xbb, 0x30, 0xa0, 0x3f, 0x5d, - 0x04, 0xfe, 0x6b, 0x79, 0xa5, 0xd2, 0x26, 0x9d, 0x79, 0x23, 0x7f, 0xa6, 0xa3, 0x91, 0xfe, 0xf3, - 0x68, 0xa2, 0x5f, 0x47, 0x13, 0xfd, 0x3e, 0x9a, 0xe8, 0xdb, 0x1f, 0xb3, 0xb1, 0xb9, 0x5b, 0xfe, - 0xb7, 0xe1, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x81, 0x59, 0x60, 0xdb, 0x87, 0x02, 0x00, 0x00, + proto.RegisterFile("replicate_mode.proto", fileDescriptor_replicate_mode_40f0780bca06e52a) +} + +var fileDescriptor_replicate_mode_40f0780bca06e52a = []byte{ + // 394 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0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, 0x6c, 0x6e, 0xab, 0x7f, 0x36, 0xfc, 0x13, 0x00, 0x00, + 0xff, 0xff, 0xa0, 0x07, 0x9c, 0xf9, 0x7f, 0x02, 0x00, 0x00, } diff --git a/proto/replicate_mode.proto b/proto/replicate_mode.proto index ab6a5fb25..5fe383675 100644 --- a/proto/replicate_mode.proto +++ b/proto/replicate_mode.proto @@ -20,7 +20,7 @@ message DRAutoSync { } string label_key = 1; // the key of the label that used for distinguish different DC. State state = 2; - uint64 recover_id = 3; // Unique ID for a recovery + uint64 state_id = 3; // Unique ID of the state, it increases after each state transfer. int32 wait_sync_timeout_hint = 4; // Duration to wait before switching to SYNC by force (in seconds) } @@ -31,5 +31,5 @@ message RegionReplicateStatus { INTEGRITY_OVER_LABEL = 1; // Logs sync to different DCs } State state = 1; - uint64 recover_id = 2; // Unique ID for a recovery + uint64 state_id = 2; // Unique ID of the state, it increases after each state transfer. } From 00a1cab9ae814724eba5f31116bff82e0c624163 Mon Sep 17 00:00:00 2001 From: disksing Date: Fri, 3 Apr 2020 11:59:33 +0800 Subject: [PATCH 4/9] replicate: add unknown region state (#595) Signed-off-by: disksing --- pkg/replicate_mode/replicate_mode.pb.go | 90 +++++++++++++------------ proto/replicate_mode.proto | 5 +- 2 files changed, 50 insertions(+), 45 deletions(-) diff --git a/pkg/replicate_mode/replicate_mode.pb.go b/pkg/replicate_mode/replicate_mode.pb.go index 7f62cf3db..f47b2c962 100644 --- a/pkg/replicate_mode/replicate_mode.pb.go +++ b/pkg/replicate_mode/replicate_mode.pb.go @@ -42,7 +42,7 @@ func (x ReplicateStatus_Mode) String() string { return proto.EnumName(ReplicateStatus_Mode_name, int32(x)) } func (ReplicateStatus_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{0, 0} + return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{0, 0} } type DRAutoSync_State int32 @@ -68,30 +68,33 @@ func (x DRAutoSync_State) String() string { return proto.EnumName(DRAutoSync_State_name, int32(x)) } func (DRAutoSync_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{1, 0} + return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{1, 0} } type RegionReplicateStatus_State int32 const ( - RegionReplicateStatus_MAJORITY RegionReplicateStatus_State = 0 - RegionReplicateStatus_INTEGRITY_OVER_LABEL RegionReplicateStatus_State = 1 + RegionReplicateStatus_UNKNOWN RegionReplicateStatus_State = 0 + RegionReplicateStatus_MAJORITY RegionReplicateStatus_State = 1 + RegionReplicateStatus_INTEGRITY_OVER_LABEL RegionReplicateStatus_State = 2 ) var RegionReplicateStatus_State_name = map[int32]string{ - 0: "MAJORITY", - 1: "INTEGRITY_OVER_LABEL", + 0: "UNKNOWN", + 1: "MAJORITY", + 2: "INTEGRITY_OVER_LABEL", } var RegionReplicateStatus_State_value = map[string]int32{ - "MAJORITY": 0, - "INTEGRITY_OVER_LABEL": 1, + "UNKNOWN": 0, + "MAJORITY": 1, + "INTEGRITY_OVER_LABEL": 2, } func (x RegionReplicateStatus_State) String() string { return proto.EnumName(RegionReplicateStatus_State_name, int32(x)) } func (RegionReplicateStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{2, 0} + return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{2, 0} } // The replicate status sync from PD to TiKV. @@ -107,7 +110,7 @@ func (m *ReplicateStatus) Reset() { *m = ReplicateStatus{} } func (m *ReplicateStatus) String() string { return proto.CompactTextString(m) } func (*ReplicateStatus) ProtoMessage() {} func (*ReplicateStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{0} + return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{0} } func (m *ReplicateStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -165,7 +168,7 @@ func (m *DRAutoSync) Reset() { *m = DRAutoSync{} } func (m *DRAutoSync) String() string { return proto.CompactTextString(m) } func (*DRAutoSync) ProtoMessage() {} func (*DRAutoSync) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{1} + return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{1} } func (m *DRAutoSync) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -235,7 +238,7 @@ func (m *RegionReplicateStatus) Reset() { *m = RegionReplicateStatus{} } func (m *RegionReplicateStatus) String() string { return proto.CompactTextString(m) } func (*RegionReplicateStatus) ProtoMessage() {} func (*RegionReplicateStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_40f0780bca06e52a, []int{2} + return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{2} } func (m *RegionReplicateStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -268,7 +271,7 @@ func (m *RegionReplicateStatus) GetState() RegionReplicateStatus_State { if m != nil { return m.State } - return RegionReplicateStatus_MAJORITY + return RegionReplicateStatus_UNKNOWN } func (m *RegionReplicateStatus) GetStateId() uint64 { @@ -905,34 +908,35 @@ var ( ) func init() { - proto.RegisterFile("replicate_mode.proto", fileDescriptor_replicate_mode_40f0780bca06e52a) -} - -var fileDescriptor_replicate_mode_40f0780bca06e52a = []byte{ - // 394 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdd, 0xea, 0xd3, 0x30, - 0x18, 0xc6, 0x97, 0xd9, 0x6a, 0xf7, 0x6e, 0x6c, 0x25, 0x4e, 0xa9, 0x0a, 0xa5, 0x14, 0x85, 0x82, - 0x50, 0x61, 0x03, 0x11, 0x3c, 0xea, 0xb6, 0xa2, 0xd3, 0x7d, 0x40, 0x56, 0x85, 0x1d, 0x85, 0x6e, - 0x0d, 0x5a, 0xdc, 0x9a, 0xd1, 0xa5, 0x48, 0xef, 0xc4, 0x2b, 0xf0, 0xd4, 0xd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x90, 0xa7, 0x91, 0x3b, 0xaa, 0x9e, 0x26, 0x78, 0x08, 0xf7, 0x3f, 0xc7, - 0xa9, 0xa0, 0xd2, 0x32, 0x15, 0xe9, 0x9e, 0xf1, 0x42, 0xd0, 0x8f, 0x69, 0x26, 0x2c, 0xcd, 0x41, - 0x9e, 0x4e, 0xee, 0xca, 0xa9, 0x54, 0x8c, 0xaa, 0xd9, 0xeb, 0x34, 0x13, 0xae, 0x0f, 0xba, 0xd2, - 0xc7, 0x06, 0x68, 0x0a, 0xa3, 0x81, 0x5b, 0xa0, 0x07, 0x15, 0x11, 0x36, 0xa1, 0x23, 0x5f, 0x94, - 0x84, 0xe3, 0xe5, 0xfb, 0x90, 0x98, 0x4d, 0xf7, 0x2b, 0x82, 0x7b, 0x84, 0x7d, 0x48, 0x79, 0x56, - 0xcf, 0x26, 0x38, 0x13, 0x55, 0xe1, 0x3c, 0xfd, 0x3f, 0x9c, 0x1b, 0xae, 0xae, 0xc3, 0x35, 0x2f, - 0xe0, 0xdc, 0x67, 0x67, 0x9f, 0x97, 0x19, 0x58, 0xd0, 0x9f, 0x2e, 0xa2, 0xf0, 0x95, 0x2c, 0xa9, - 0xb4, 0x48, 0x67, 0xc1, 0x28, 0x9c, 0x99, 0x68, 0x64, 0x7e, 0x3f, 0xd9, 0xe8, 0xc7, 0xc9, 0x46, - 0x3f, 0x4f, 0x36, 0xfa, 0xf2, 0xdb, 0x6e, 0x6c, 0x6e, 0xab, 0x7f, 0x36, 0xfc, 0x13, 0x00, 0x00, - 0xff, 0xff, 0xa0, 0x07, 0x9c, 0xf9, 0x7f, 0x02, 0x00, 0x00, + proto.RegisterFile("replicate_mode.proto", fileDescriptor_replicate_mode_90eacee3e89a5ccb) +} + +var fileDescriptor_replicate_mode_90eacee3e89a5ccb = []byte{ + // 410 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdf, 0x6a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 0xed, 0xa1, 0x1f, 0x6b, 0x0f, 0xfd, + 0x5c, 0x7b, 0xe8, 0xcb, 0x6f, 0x4f, 0xbb, 0xbe, 0xab, 0x3e, 0xdd, 0xd1, 0x9f, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x88, 0xb4, 0xf6, 0xe6, 0x8c, 0x02, 0x00, 0x00, } diff --git a/proto/replicate_mode.proto b/proto/replicate_mode.proto index 5fe383675..e7492c214 100644 --- a/proto/replicate_mode.proto +++ b/proto/replicate_mode.proto @@ -27,8 +27,9 @@ message DRAutoSync { // The replicate status sync from TiKV to PD. message RegionReplicateStatus { enum State { - MAJORITY = 0; // Logs sync to majority peers - INTEGRITY_OVER_LABEL = 1; // Logs sync to different DCs + UNKNOWN = 0; // The region's state is unknown + MAJORITY = 1; // Logs sync to majority peers + INTEGRITY_OVER_LABEL = 2; // Logs sync to different DCs } State state = 1; uint64 state_id = 2; // Unique ID of the state, it increases after each state transfer. From bf3c8114aef6672bbe9e521a87dbcda71517ac5a Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 9 Apr 2020 12:25:13 +0800 Subject: [PATCH 5/9] *: update name and script (#597) Signed-off-by: Jay Lee Signed-off-by: 5kbpers --- pkg/pdpb/pdpb.pb.go | 645 ++++++------ pkg/replicate_mode/replicate_mode.pb.go | 942 ----------------- .../replication_modepb.pb.go | 955 ++++++++++++++++++ proto/pdpb.proto | 10 +- proto/replicate_mode.proto | 36 - proto/replication_modepb.proto | 51 + scripts/generate_go.sh | 2 +- 7 files changed, 1335 insertions(+), 1306 deletions(-) delete mode 100644 pkg/replicate_mode/replicate_mode.pb.go create mode 100644 pkg/replication_modepb/replication_modepb.pb.go delete mode 100644 proto/replicate_mode.proto create mode 100644 proto/replication_modepb.proto diff --git a/pkg/pdpb/pdpb.pb.go b/pkg/pdpb/pdpb.pb.go index 2f12acd5f..c466ab103 100644 --- a/pkg/pdpb/pdpb.pb.go +++ b/pkg/pdpb/pdpb.pb.go @@ -16,7 +16,7 @@ import ( metapb "github.com/pingcap/kvproto/pkg/metapb" - replicate_mode "github.com/pingcap/kvproto/pkg/replicate_mode" + replication_modepb "github.com/pingcap/kvproto/pkg/replication_modepb" context "golang.org/x/net/context" @@ -69,7 +69,7 @@ func (x ErrorType) String() string { return proto.EnumName(ErrorType_name, int32(x)) } func (ErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{0} + return fileDescriptor_pdpb_785bb81d3668284c, []int{0} } type CheckPolicy int32 @@ -95,7 +95,7 @@ func (x CheckPolicy) String() string { return proto.EnumName(CheckPolicy_name, int32(x)) } func (CheckPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{1} + return fileDescriptor_pdpb_785bb81d3668284c, []int{1} } type OperatorStatus int32 @@ -127,7 +127,7 @@ func (x OperatorStatus) String() string { return proto.EnumName(OperatorStatus_name, int32(x)) } func (OperatorStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{2} + return fileDescriptor_pdpb_785bb81d3668284c, []int{2} } type RequestHeader struct { @@ -142,7 +142,7 @@ func (m *RequestHeader) Reset() { *m = RequestHeader{} } func (m *RequestHeader) String() string { return proto.CompactTextString(m) } func (*RequestHeader) ProtoMessage() {} func (*RequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{0} + return fileDescriptor_pdpb_785bb81d3668284c, []int{0} } func (m *RequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -191,7 +191,7 @@ func (m *ResponseHeader) Reset() { *m = ResponseHeader{} } func (m *ResponseHeader) String() string { return proto.CompactTextString(m) } func (*ResponseHeader) ProtoMessage() {} func (*ResponseHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{1} + return fileDescriptor_pdpb_785bb81d3668284c, []int{1} } func (m *ResponseHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -246,7 +246,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{2} + return fileDescriptor_pdpb_785bb81d3668284c, []int{2} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -301,7 +301,7 @@ func (m *TsoRequest) Reset() { *m = TsoRequest{} } func (m *TsoRequest) String() string { return proto.CompactTextString(m) } func (*TsoRequest) ProtoMessage() {} func (*TsoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{3} + return fileDescriptor_pdpb_785bb81d3668284c, []int{3} } func (m *TsoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -356,7 +356,7 @@ func (m *Timestamp) Reset() { *m = Timestamp{} } func (m *Timestamp) String() string { return proto.CompactTextString(m) } func (*Timestamp) ProtoMessage() {} func (*Timestamp) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{4} + return fileDescriptor_pdpb_785bb81d3668284c, []int{4} } func (m *Timestamp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -412,7 +412,7 @@ func (m *TsoResponse) Reset() { *m = TsoResponse{} } func (m *TsoResponse) String() string { return proto.CompactTextString(m) } func (*TsoResponse) ProtoMessage() {} func (*TsoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{5} + return fileDescriptor_pdpb_785bb81d3668284c, []int{5} } func (m *TsoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -475,7 +475,7 @@ func (m *BootstrapRequest) Reset() { *m = BootstrapRequest{} } func (m *BootstrapRequest) String() string { return proto.CompactTextString(m) } func (*BootstrapRequest) ProtoMessage() {} func (*BootstrapRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{6} + return fileDescriptor_pdpb_785bb81d3668284c, []int{6} } func (m *BootstrapRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -526,18 +526,18 @@ func (m *BootstrapRequest) GetRegion() *metapb.Region { } type BootstrapResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` - ReplicateStatus *replicate_mode.ReplicateStatus `protobuf:"bytes,2,opt,name=replicate_status,json=replicateStatus" json:"replicate_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + ReplicationStatus *replication_modepb.ReplicationStatus `protobuf:"bytes,2,opt,name=replication_status,json=replicationStatus" json:"replication_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *BootstrapResponse) Reset() { *m = BootstrapResponse{} } func (m *BootstrapResponse) String() string { return proto.CompactTextString(m) } func (*BootstrapResponse) ProtoMessage() {} func (*BootstrapResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{7} + return fileDescriptor_pdpb_785bb81d3668284c, []int{7} } func (m *BootstrapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -573,9 +573,9 @@ func (m *BootstrapResponse) GetHeader() *ResponseHeader { return nil } -func (m *BootstrapResponse) GetReplicateStatus() *replicate_mode.ReplicateStatus { +func (m *BootstrapResponse) GetReplicationStatus() *replication_modepb.ReplicationStatus { if m != nil { - return m.ReplicateStatus + return m.ReplicationStatus } return nil } @@ -591,7 +591,7 @@ func (m *IsBootstrappedRequest) Reset() { *m = IsBootstrappedRequest{} } func (m *IsBootstrappedRequest) String() string { return proto.CompactTextString(m) } func (*IsBootstrappedRequest) ProtoMessage() {} func (*IsBootstrappedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{8} + return fileDescriptor_pdpb_785bb81d3668284c, []int{8} } func (m *IsBootstrappedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -639,7 +639,7 @@ func (m *IsBootstrappedResponse) Reset() { *m = IsBootstrappedResponse{} func (m *IsBootstrappedResponse) String() string { return proto.CompactTextString(m) } func (*IsBootstrappedResponse) ProtoMessage() {} func (*IsBootstrappedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{9} + return fileDescriptor_pdpb_785bb81d3668284c, []int{9} } func (m *IsBootstrappedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -693,7 +693,7 @@ func (m *AllocIDRequest) Reset() { *m = AllocIDRequest{} } func (m *AllocIDRequest) String() string { return proto.CompactTextString(m) } func (*AllocIDRequest) ProtoMessage() {} func (*AllocIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{10} + return fileDescriptor_pdpb_785bb81d3668284c, []int{10} } func (m *AllocIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -741,7 +741,7 @@ func (m *AllocIDResponse) Reset() { *m = AllocIDResponse{} } func (m *AllocIDResponse) String() string { return proto.CompactTextString(m) } func (*AllocIDResponse) ProtoMessage() {} func (*AllocIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{11} + return fileDescriptor_pdpb_785bb81d3668284c, []int{11} } func (m *AllocIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -796,7 +796,7 @@ func (m *GetStoreRequest) Reset() { *m = GetStoreRequest{} } func (m *GetStoreRequest) String() string { return proto.CompactTextString(m) } func (*GetStoreRequest) ProtoMessage() {} func (*GetStoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{12} + return fileDescriptor_pdpb_785bb81d3668284c, []int{12} } func (m *GetStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -852,7 +852,7 @@ func (m *GetStoreResponse) Reset() { *m = GetStoreResponse{} } func (m *GetStoreResponse) String() string { return proto.CompactTextString(m) } func (*GetStoreResponse) ProtoMessage() {} func (*GetStoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{13} + return fileDescriptor_pdpb_785bb81d3668284c, []int{13} } func (m *GetStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -914,7 +914,7 @@ func (m *PutStoreRequest) Reset() { *m = PutStoreRequest{} } func (m *PutStoreRequest) String() string { return proto.CompactTextString(m) } func (*PutStoreRequest) ProtoMessage() {} func (*PutStoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{14} + return fileDescriptor_pdpb_785bb81d3668284c, []int{14} } func (m *PutStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -958,18 +958,18 @@ func (m *PutStoreRequest) GetStore() *metapb.Store { } type PutStoreResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` - ReplicateStatus *replicate_mode.ReplicateStatus `protobuf:"bytes,2,opt,name=replicate_status,json=replicateStatus" json:"replicate_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + ReplicationStatus *replication_modepb.ReplicationStatus `protobuf:"bytes,2,opt,name=replication_status,json=replicationStatus" json:"replication_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *PutStoreResponse) Reset() { *m = PutStoreResponse{} } func (m *PutStoreResponse) String() string { return proto.CompactTextString(m) } func (*PutStoreResponse) ProtoMessage() {} func (*PutStoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{15} + return fileDescriptor_pdpb_785bb81d3668284c, []int{15} } func (m *PutStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1005,9 +1005,9 @@ func (m *PutStoreResponse) GetHeader() *ResponseHeader { return nil } -func (m *PutStoreResponse) GetReplicateStatus() *replicate_mode.ReplicateStatus { +func (m *PutStoreResponse) GetReplicationStatus() *replication_modepb.ReplicationStatus { if m != nil { - return m.ReplicateStatus + return m.ReplicationStatus } return nil } @@ -1025,7 +1025,7 @@ func (m *GetAllStoresRequest) Reset() { *m = GetAllStoresRequest{} } func (m *GetAllStoresRequest) String() string { return proto.CompactTextString(m) } func (*GetAllStoresRequest) ProtoMessage() {} func (*GetAllStoresRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{16} + return fileDescriptor_pdpb_785bb81d3668284c, []int{16} } func (m *GetAllStoresRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1080,7 +1080,7 @@ func (m *GetAllStoresResponse) Reset() { *m = GetAllStoresResponse{} } func (m *GetAllStoresResponse) String() string { return proto.CompactTextString(m) } func (*GetAllStoresResponse) ProtoMessage() {} func (*GetAllStoresResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{17} + return fileDescriptor_pdpb_785bb81d3668284c, []int{17} } func (m *GetAllStoresResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1135,7 +1135,7 @@ func (m *GetRegionRequest) Reset() { *m = GetRegionRequest{} } func (m *GetRegionRequest) String() string { return proto.CompactTextString(m) } func (*GetRegionRequest) ProtoMessage() {} func (*GetRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{18} + return fileDescriptor_pdpb_785bb81d3668284c, []int{18} } func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1197,7 +1197,7 @@ func (m *GetRegionResponse) Reset() { *m = GetRegionResponse{} } func (m *GetRegionResponse) String() string { return proto.CompactTextString(m) } func (*GetRegionResponse) ProtoMessage() {} func (*GetRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{19} + return fileDescriptor_pdpb_785bb81d3668284c, []int{19} } func (m *GetRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1280,7 +1280,7 @@ func (m *GetRegionByIDRequest) Reset() { *m = GetRegionByIDRequest{} } func (m *GetRegionByIDRequest) String() string { return proto.CompactTextString(m) } func (*GetRegionByIDRequest) ProtoMessage() {} func (*GetRegionByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{20} + return fileDescriptor_pdpb_785bb81d3668284c, []int{20} } func (m *GetRegionByIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1337,7 +1337,7 @@ func (m *ScanRegionsRequest) Reset() { *m = ScanRegionsRequest{} } func (m *ScanRegionsRequest) String() string { return proto.CompactTextString(m) } func (*ScanRegionsRequest) ProtoMessage() {} func (*ScanRegionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{21} + return fileDescriptor_pdpb_785bb81d3668284c, []int{21} } func (m *ScanRegionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1407,7 +1407,7 @@ func (m *ScanRegionsResponse) Reset() { *m = ScanRegionsResponse{} } func (m *ScanRegionsResponse) String() string { return proto.CompactTextString(m) } func (*ScanRegionsResponse) ProtoMessage() {} func (*ScanRegionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{22} + return fileDescriptor_pdpb_785bb81d3668284c, []int{22} } func (m *ScanRegionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1468,7 +1468,7 @@ func (m *GetClusterConfigRequest) Reset() { *m = GetClusterConfigRequest func (m *GetClusterConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterConfigRequest) ProtoMessage() {} func (*GetClusterConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{23} + return fileDescriptor_pdpb_785bb81d3668284c, []int{23} } func (m *GetClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1516,7 +1516,7 @@ func (m *GetClusterConfigResponse) Reset() { *m = GetClusterConfigRespon func (m *GetClusterConfigResponse) String() string { return proto.CompactTextString(m) } func (*GetClusterConfigResponse) ProtoMessage() {} func (*GetClusterConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{24} + return fileDescriptor_pdpb_785bb81d3668284c, []int{24} } func (m *GetClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1571,7 +1571,7 @@ func (m *PutClusterConfigRequest) Reset() { *m = PutClusterConfigRequest func (m *PutClusterConfigRequest) String() string { return proto.CompactTextString(m) } func (*PutClusterConfigRequest) ProtoMessage() {} func (*PutClusterConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{25} + return fileDescriptor_pdpb_785bb81d3668284c, []int{25} } func (m *PutClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1625,7 +1625,7 @@ func (m *PutClusterConfigResponse) Reset() { *m = PutClusterConfigRespon func (m *PutClusterConfigResponse) String() string { return proto.CompactTextString(m) } func (*PutClusterConfigResponse) ProtoMessage() {} func (*PutClusterConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{26} + return fileDescriptor_pdpb_785bb81d3668284c, []int{26} } func (m *PutClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1681,7 +1681,7 @@ func (m *Member) Reset() { *m = Member{} } func (m *Member) String() string { return proto.CompactTextString(m) } func (*Member) ProtoMessage() {} func (*Member) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{27} + return fileDescriptor_pdpb_785bb81d3668284c, []int{27} } func (m *Member) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1777,7 +1777,7 @@ func (m *GetMembersRequest) Reset() { *m = GetMembersRequest{} } func (m *GetMembersRequest) String() string { return proto.CompactTextString(m) } func (*GetMembersRequest) ProtoMessage() {} func (*GetMembersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{28} + return fileDescriptor_pdpb_785bb81d3668284c, []int{28} } func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1827,7 +1827,7 @@ func (m *GetMembersResponse) Reset() { *m = GetMembersResponse{} } func (m *GetMembersResponse) String() string { return proto.CompactTextString(m) } func (*GetMembersResponse) ProtoMessage() {} func (*GetMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{29} + return fileDescriptor_pdpb_785bb81d3668284c, []int{29} } func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1896,7 +1896,7 @@ func (m *PeerStats) Reset() { *m = PeerStats{} } func (m *PeerStats) String() string { return proto.CompactTextString(m) } func (*PeerStats) ProtoMessage() {} func (*PeerStats) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{30} + return fileDescriptor_pdpb_785bb81d3668284c, []int{30} } func (m *PeerStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1962,18 +1962,18 @@ type RegionHeartbeatRequest struct { // Approximate number of keys. ApproximateKeys uint64 `protobuf:"varint,13,opt,name=approximate_keys,json=approximateKeys,proto3" json:"approximate_keys,omitempty"` // Term is the term of raft group. - Term uint64 `protobuf:"varint,14,opt,name=term,proto3" json:"term,omitempty"` - ReplicateStatus *replicate_mode.RegionReplicateStatus `protobuf:"bytes,15,opt,name=replicate_status,json=replicateStatus" json:"replicate_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Term uint64 `protobuf:"varint,14,opt,name=term,proto3" json:"term,omitempty"` + ReplicationStatus *replication_modepb.RegionReplicationStatus `protobuf:"bytes,15,opt,name=replication_status,json=replicationStatus" json:"replication_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *RegionHeartbeatRequest) Reset() { *m = RegionHeartbeatRequest{} } func (m *RegionHeartbeatRequest) String() string { return proto.CompactTextString(m) } func (*RegionHeartbeatRequest) ProtoMessage() {} func (*RegionHeartbeatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{31} + return fileDescriptor_pdpb_785bb81d3668284c, []int{31} } func (m *RegionHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2093,9 +2093,9 @@ func (m *RegionHeartbeatRequest) GetTerm() uint64 { return 0 } -func (m *RegionHeartbeatRequest) GetReplicateStatus() *replicate_mode.RegionReplicateStatus { +func (m *RegionHeartbeatRequest) GetReplicationStatus() *replication_modepb.RegionReplicationStatus { if m != nil { - return m.ReplicateStatus + return m.ReplicationStatus } return nil } @@ -2112,7 +2112,7 @@ func (m *ChangePeer) Reset() { *m = ChangePeer{} } func (m *ChangePeer) String() string { return proto.CompactTextString(m) } func (*ChangePeer) ProtoMessage() {} func (*ChangePeer) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{32} + return fileDescriptor_pdpb_785bb81d3668284c, []int{32} } func (m *ChangePeer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2166,7 +2166,7 @@ func (m *TransferLeader) Reset() { *m = TransferLeader{} } func (m *TransferLeader) String() string { return proto.CompactTextString(m) } func (*TransferLeader) ProtoMessage() {} func (*TransferLeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{33} + return fileDescriptor_pdpb_785bb81d3668284c, []int{33} } func (m *TransferLeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2213,7 +2213,7 @@ func (m *Merge) Reset() { *m = Merge{} } func (m *Merge) String() string { return proto.CompactTextString(m) } func (*Merge) ProtoMessage() {} func (*Merge) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{34} + return fileDescriptor_pdpb_785bb81d3668284c, []int{34} } func (m *Merge) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2261,7 +2261,7 @@ func (m *SplitRegion) Reset() { *m = SplitRegion{} } func (m *SplitRegion) String() string { return proto.CompactTextString(m) } func (*SplitRegion) ProtoMessage() {} func (*SplitRegion) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{35} + return fileDescriptor_pdpb_785bb81d3668284c, []int{35} } func (m *SplitRegion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2340,7 +2340,7 @@ func (m *RegionHeartbeatResponse) Reset() { *m = RegionHeartbeatResponse func (m *RegionHeartbeatResponse) String() string { return proto.CompactTextString(m) } func (*RegionHeartbeatResponse) ProtoMessage() {} func (*RegionHeartbeatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{36} + return fileDescriptor_pdpb_785bb81d3668284c, []int{36} } func (m *RegionHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2437,7 +2437,7 @@ func (m *AskSplitRequest) Reset() { *m = AskSplitRequest{} } func (m *AskSplitRequest) String() string { return proto.CompactTextString(m) } func (*AskSplitRequest) ProtoMessage() {} func (*AskSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{37} + return fileDescriptor_pdpb_785bb81d3668284c, []int{37} } func (m *AskSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2497,7 +2497,7 @@ func (m *AskSplitResponse) Reset() { *m = AskSplitResponse{} } func (m *AskSplitResponse) String() string { return proto.CompactTextString(m) } func (*AskSplitResponse) ProtoMessage() {} func (*AskSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{38} + return fileDescriptor_pdpb_785bb81d3668284c, []int{38} } func (m *AskSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2560,7 +2560,7 @@ func (m *ReportSplitRequest) Reset() { *m = ReportSplitRequest{} } func (m *ReportSplitRequest) String() string { return proto.CompactTextString(m) } func (*ReportSplitRequest) ProtoMessage() {} func (*ReportSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{39} + return fileDescriptor_pdpb_785bb81d3668284c, []int{39} } func (m *ReportSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2621,7 +2621,7 @@ func (m *ReportSplitResponse) Reset() { *m = ReportSplitResponse{} } func (m *ReportSplitResponse) String() string { return proto.CompactTextString(m) } func (*ReportSplitResponse) ProtoMessage() {} func (*ReportSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{40} + return fileDescriptor_pdpb_785bb81d3668284c, []int{40} } func (m *ReportSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2670,7 +2670,7 @@ func (m *AskBatchSplitRequest) Reset() { *m = AskBatchSplitRequest{} } func (m *AskBatchSplitRequest) String() string { return proto.CompactTextString(m) } func (*AskBatchSplitRequest) ProtoMessage() {} func (*AskBatchSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{41} + return fileDescriptor_pdpb_785bb81d3668284c, []int{41} } func (m *AskBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2732,7 +2732,7 @@ func (m *SplitID) Reset() { *m = SplitID{} } func (m *SplitID) String() string { return proto.CompactTextString(m) } func (*SplitID) ProtoMessage() {} func (*SplitID) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{42} + return fileDescriptor_pdpb_785bb81d3668284c, []int{42} } func (m *SplitID) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2787,7 +2787,7 @@ func (m *AskBatchSplitResponse) Reset() { *m = AskBatchSplitResponse{} } func (m *AskBatchSplitResponse) String() string { return proto.CompactTextString(m) } func (*AskBatchSplitResponse) ProtoMessage() {} func (*AskBatchSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{43} + return fileDescriptor_pdpb_785bb81d3668284c, []int{43} } func (m *AskBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2842,7 +2842,7 @@ func (m *ReportBatchSplitRequest) Reset() { *m = ReportBatchSplitRequest func (m *ReportBatchSplitRequest) String() string { return proto.CompactTextString(m) } func (*ReportBatchSplitRequest) ProtoMessage() {} func (*ReportBatchSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{44} + return fileDescriptor_pdpb_785bb81d3668284c, []int{44} } func (m *ReportBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2896,7 +2896,7 @@ func (m *ReportBatchSplitResponse) Reset() { *m = ReportBatchSplitRespon func (m *ReportBatchSplitResponse) String() string { return proto.CompactTextString(m) } func (*ReportBatchSplitResponse) ProtoMessage() {} func (*ReportBatchSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{45} + return fileDescriptor_pdpb_785bb81d3668284c, []int{45} } func (m *ReportBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2946,7 +2946,7 @@ func (m *TimeInterval) Reset() { *m = TimeInterval{} } func (m *TimeInterval) String() string { return proto.CompactTextString(m) } func (*TimeInterval) ProtoMessage() {} func (*TimeInterval) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{46} + return fileDescriptor_pdpb_785bb81d3668284c, []int{46} } func (m *TimeInterval) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3001,7 +3001,7 @@ func (m *RecordPair) Reset() { *m = RecordPair{} } func (m *RecordPair) String() string { return proto.CompactTextString(m) } func (*RecordPair) ProtoMessage() {} func (*RecordPair) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{47} + return fileDescriptor_pdpb_785bb81d3668284c, []int{47} } func (m *RecordPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3091,7 +3091,7 @@ func (m *StoreStats) Reset() { *m = StoreStats{} } func (m *StoreStats) String() string { return proto.CompactTextString(m) } func (*StoreStats) ProtoMessage() {} func (*StoreStats) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{48} + return fileDescriptor_pdpb_785bb81d3668284c, []int{48} } func (m *StoreStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3265,7 +3265,7 @@ func (m *StoreHeartbeatRequest) Reset() { *m = StoreHeartbeatRequest{} } func (m *StoreHeartbeatRequest) String() string { return proto.CompactTextString(m) } func (*StoreHeartbeatRequest) ProtoMessage() {} func (*StoreHeartbeatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{49} + return fileDescriptor_pdpb_785bb81d3668284c, []int{49} } func (m *StoreHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3309,18 +3309,18 @@ func (m *StoreHeartbeatRequest) GetStats() *StoreStats { } type StoreHeartbeatResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` - ReplicateStatus *replicate_mode.ReplicateStatus `protobuf:"bytes,2,opt,name=replicate_status,json=replicateStatus" json:"replicate_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + ReplicationStatus *replication_modepb.ReplicationStatus `protobuf:"bytes,2,opt,name=replication_status,json=replicationStatus" json:"replication_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *StoreHeartbeatResponse) Reset() { *m = StoreHeartbeatResponse{} } func (m *StoreHeartbeatResponse) String() string { return proto.CompactTextString(m) } func (*StoreHeartbeatResponse) ProtoMessage() {} func (*StoreHeartbeatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{50} + return fileDescriptor_pdpb_785bb81d3668284c, []int{50} } func (m *StoreHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3356,9 +3356,9 @@ func (m *StoreHeartbeatResponse) GetHeader() *ResponseHeader { return nil } -func (m *StoreHeartbeatResponse) GetReplicateStatus() *replicate_mode.ReplicateStatus { +func (m *StoreHeartbeatResponse) GetReplicationStatus() *replication_modepb.ReplicationStatus { if m != nil { - return m.ReplicateStatus + return m.ReplicationStatus } return nil } @@ -3379,7 +3379,7 @@ func (m *ScatterRegionRequest) Reset() { *m = ScatterRegionRequest{} } func (m *ScatterRegionRequest) String() string { return proto.CompactTextString(m) } func (*ScatterRegionRequest) ProtoMessage() {} func (*ScatterRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{51} + return fileDescriptor_pdpb_785bb81d3668284c, []int{51} } func (m *ScatterRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3447,7 +3447,7 @@ func (m *ScatterRegionResponse) Reset() { *m = ScatterRegionResponse{} } func (m *ScatterRegionResponse) String() string { return proto.CompactTextString(m) } func (*ScatterRegionResponse) ProtoMessage() {} func (*ScatterRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{52} + return fileDescriptor_pdpb_785bb81d3668284c, []int{52} } func (m *ScatterRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3494,7 +3494,7 @@ func (m *GetGCSafePointRequest) Reset() { *m = GetGCSafePointRequest{} } func (m *GetGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointRequest) ProtoMessage() {} func (*GetGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{53} + return fileDescriptor_pdpb_785bb81d3668284c, []int{53} } func (m *GetGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3542,7 +3542,7 @@ func (m *GetGCSafePointResponse) Reset() { *m = GetGCSafePointResponse{} func (m *GetGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointResponse) ProtoMessage() {} func (*GetGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{54} + return fileDescriptor_pdpb_785bb81d3668284c, []int{54} } func (m *GetGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3597,7 +3597,7 @@ func (m *UpdateGCSafePointRequest) Reset() { *m = UpdateGCSafePointReque func (m *UpdateGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointRequest) ProtoMessage() {} func (*UpdateGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{55} + return fileDescriptor_pdpb_785bb81d3668284c, []int{55} } func (m *UpdateGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3652,7 +3652,7 @@ func (m *UpdateGCSafePointResponse) Reset() { *m = UpdateGCSafePointResp func (m *UpdateGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointResponse) ProtoMessage() {} func (*UpdateGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{56} + return fileDescriptor_pdpb_785bb81d3668284c, []int{56} } func (m *UpdateGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3711,7 +3711,7 @@ func (m *RegionStat) Reset() { *m = RegionStat{} } func (m *RegionStat) String() string { return proto.CompactTextString(m) } func (*RegionStat) ProtoMessage() {} func (*RegionStat) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{57} + return fileDescriptor_pdpb_785bb81d3668284c, []int{57} } func (m *RegionStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3783,7 +3783,7 @@ func (m *SyncRegionRequest) Reset() { *m = SyncRegionRequest{} } func (m *SyncRegionRequest) String() string { return proto.CompactTextString(m) } func (*SyncRegionRequest) ProtoMessage() {} func (*SyncRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{58} + return fileDescriptor_pdpb_785bb81d3668284c, []int{58} } func (m *SyncRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3849,7 +3849,7 @@ func (m *SyncRegionResponse) Reset() { *m = SyncRegionResponse{} } func (m *SyncRegionResponse) String() string { return proto.CompactTextString(m) } func (*SyncRegionResponse) ProtoMessage() {} func (*SyncRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{59} + return fileDescriptor_pdpb_785bb81d3668284c, []int{59} } func (m *SyncRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3918,7 +3918,7 @@ func (m *GetOperatorRequest) Reset() { *m = GetOperatorRequest{} } func (m *GetOperatorRequest) String() string { return proto.CompactTextString(m) } func (*GetOperatorRequest) ProtoMessage() {} func (*GetOperatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{60} + return fileDescriptor_pdpb_785bb81d3668284c, []int{60} } func (m *GetOperatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3976,7 +3976,7 @@ func (m *GetOperatorResponse) Reset() { *m = GetOperatorResponse{} } func (m *GetOperatorResponse) String() string { return proto.CompactTextString(m) } func (*GetOperatorResponse) ProtoMessage() {} func (*GetOperatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_e1e2e9ba8296a9bc, []int{61} + return fileDescriptor_pdpb_785bb81d3668284c, []int{61} } func (m *GetOperatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5358,11 +5358,11 @@ func (m *BootstrapResponse) MarshalTo(dAtA []byte) (int, error) { } i += n8 } - if m.ReplicateStatus != nil { + if m.ReplicationStatus != nil { dAtA[i] = 0x12 i++ - i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicateStatus.Size())) - n9, err := m.ReplicateStatus.MarshalTo(dAtA[i:]) + i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicationStatus.Size())) + n9, err := m.ReplicationStatus.MarshalTo(dAtA[i:]) if err != nil { return 0, err } @@ -5666,11 +5666,11 @@ func (m *PutStoreResponse) MarshalTo(dAtA []byte) (int, error) { } i += n20 } - if m.ReplicateStatus != nil { + if m.ReplicationStatus != nil { dAtA[i] = 0x12 i++ - i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicateStatus.Size())) - n21, err := m.ReplicateStatus.MarshalTo(dAtA[i:]) + i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicationStatus.Size())) + n21, err := m.ReplicationStatus.MarshalTo(dAtA[i:]) if err != nil { return 0, err } @@ -6502,11 +6502,11 @@ func (m *RegionHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Term)) } - if m.ReplicateStatus != nil { + if m.ReplicationStatus != nil { dAtA[i] = 0x7a i++ - i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicateStatus.Size())) - n46, err := m.ReplicateStatus.MarshalTo(dAtA[i:]) + i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicationStatus.Size())) + n46, err := m.ReplicationStatus.MarshalTo(dAtA[i:]) if err != nil { return 0, err } @@ -7419,11 +7419,11 @@ func (m *StoreHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { } i += n76 } - if m.ReplicateStatus != nil { + if m.ReplicationStatus != nil { dAtA[i] = 0x12 i++ - i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicateStatus.Size())) - n77, err := m.ReplicateStatus.MarshalTo(dAtA[i:]) + i = encodeVarintPdpb(dAtA, i, uint64(m.ReplicationStatus.Size())) + n77, err := m.ReplicationStatus.MarshalTo(dAtA[i:]) if err != nil { return 0, err } @@ -8029,8 +8029,8 @@ func (m *BootstrapResponse) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.ReplicateStatus != nil { - l = m.ReplicateStatus.Size() + if m.ReplicationStatus != nil { + l = m.ReplicationStatus.Size() n += 1 + l + sovPdpb(uint64(l)) } if m.XXX_unrecognized != nil { @@ -8158,8 +8158,8 @@ func (m *PutStoreResponse) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.ReplicateStatus != nil { - l = m.ReplicateStatus.Size() + if m.ReplicationStatus != nil { + l = m.ReplicationStatus.Size() n += 1 + l + sovPdpb(uint64(l)) } if m.XXX_unrecognized != nil { @@ -8535,8 +8535,8 @@ func (m *RegionHeartbeatRequest) Size() (n int) { if m.Term != 0 { n += 1 + sovPdpb(uint64(m.Term)) } - if m.ReplicateStatus != nil { - l = m.ReplicateStatus.Size() + if m.ReplicationStatus != nil { + l = m.ReplicationStatus.Size() n += 1 + l + sovPdpb(uint64(l)) } if m.XXX_unrecognized != nil { @@ -8943,8 +8943,8 @@ func (m *StoreHeartbeatResponse) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.ReplicateStatus != nil { - l = m.ReplicateStatus.Size() + if m.ReplicationStatus != nil { + l = m.ReplicationStatus.Size() n += 1 + l + sovPdpb(uint64(l)) } if m.XXX_unrecognized != nil { @@ -9990,7 +9990,7 @@ func (m *BootstrapResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicateStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10014,10 +10014,10 @@ func (m *BootstrapResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReplicateStatus == nil { - m.ReplicateStatus = &replicate_mode.ReplicateStatus{} + if m.ReplicationStatus == nil { + m.ReplicationStatus = &replication_modepb.ReplicationStatus{} } - if err := m.ReplicateStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10852,7 +10852,7 @@ func (m *PutStoreResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicateStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10876,10 +10876,10 @@ func (m *PutStoreResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReplicateStatus == nil { - m.ReplicateStatus = &replicate_mode.ReplicateStatus{} + if m.ReplicationStatus == nil { + m.ReplicationStatus = &replication_modepb.ReplicationStatus{} } - if err := m.ReplicateStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13287,7 +13287,7 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { } case 15: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicateStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13311,10 +13311,10 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReplicateStatus == nil { - m.ReplicateStatus = &replicate_mode.RegionReplicateStatus{} + if m.ReplicationStatus == nil { + m.ReplicationStatus = &replication_modepb.RegionReplicationStatus{} } - if err := m.ReplicateStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15953,7 +15953,7 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicateStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15977,10 +15977,10 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReplicateStatus == nil { - m.ReplicateStatus = &replicate_mode.ReplicateStatus{} + if m.ReplicationStatus == nil { + m.ReplicationStatus = &replication_modepb.ReplicationStatus{} } - if err := m.ReplicateStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -17472,196 +17472,197 @@ var ( ErrIntOverflowPdpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_e1e2e9ba8296a9bc) } - -var fileDescriptor_pdpb_e1e2e9ba8296a9bc = []byte{ - // 3007 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x3a, 0xcd, 0x6f, 0x1b, 0xc7, - 0xf5, 0x5a, 0x6a, 0x49, 0x91, 0x8f, 0x9f, 0x1a, 0xcb, 0x16, 0x4d, 0xc7, 0x1f, 0x59, 0x3b, 0xf9, - 0x39, 0xf9, 0x25, 0x4a, 0xe2, 0x18, 0x41, 0x80, 0x22, 0x41, 0x29, 0x8a, 0x96, 0x19, 0xdb, 0x24, - 0xb1, 0xa4, 0x92, 0x06, 0x28, 0xc2, 0xae, 0xb8, 0x23, 0x6a, 0x2b, 0x6a, 0x77, 0xb3, 0x3b, 0x94, - 0xc3, 0xa0, 0x87, 0x02, 0x05, 0xda, 0x02, 0x4d, 0x81, 0xb6, 0x40, 0x8a, 0xfc, 0x09, 0x3d, 0xf5, - 0xd8, 0x6b, 0x81, 0x9e, 0x7a, 0xec, 0xb1, 0xc7, 0x22, 0xbd, 0xf6, 0xd2, 0xff, 0xa0, 0x98, 0xaf, - 0xfd, 0x22, 0x69, 0x39, 0xab, 0x04, 0x39, 0x71, 0xe7, 0xbd, 0x37, 0x6f, 0xde, 0xd7, 0xbc, 0x79, - 0xf3, 0x86, 0x00, 0xae, 0xe9, 0x1e, 0xee, 0xb8, 0x9e, 0x43, 0x1c, 0xa4, 0xd2, 0xef, 0x46, 0xe9, - 0x14, 0x13, 0x43, 0xc2, 0x1a, 0x65, 0xec, 0x19, 0x47, 0x24, 0x18, 0x6e, 0x79, 0xd8, 0x9d, 0x5a, -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 0x29, 0x97, 0xdd, 0x1f, 0xa4, 0x29, 0x97, - 0xd6, 0xea, 0x7c, 0x5b, 0xc7, 0x2b, 0x67, 0xb9, 0xad, 0x97, 0x56, 0xe5, 0x72, 0x5b, 0x2f, 0x2f, - 0xb6, 0xb5, 0x35, 0xf4, 0x21, 0x6c, 0x2e, 0x54, 0xae, 0x48, 0x68, 0xb4, 0xaa, 0x74, 0x6e, 0xdc, - 0x5c, 0x89, 0x8f, 0x6c, 0xaa, 0x62, 0x58, 0x82, 0x05, 0xe7, 0xcf, 0x42, 0x7d, 0x28, 0xcf, 0x9f, - 0xc5, 0x72, 0x4d, 0x24, 0x88, 0x3d, 0x28, 0x46, 0xaa, 0x14, 0x14, 0x1e, 0x57, 0x89, 0xca, 0xa8, - 0x71, 0x75, 0x09, 0x46, 0x72, 0xda, 0x7d, 0xf9, 0x9f, 0x7f, 0xca, 0x2b, 0x7f, 0xff, 0xfa, 0x86, - 0xf2, 0x8f, 0xaf, 0x6f, 0x28, 0xff, 0xfa, 0xfa, 0x86, 0xf2, 0xd5, 0xbf, 0x6f, 0xac, 0x41, 0xcd, - 0xf1, 0x26, 0x3b, 0xc4, 0x3a, 0x39, 0xdb, 0x39, 0x39, 0x63, 0xff, 0x9a, 0x3c, 0xcc, 0xb1, 0x9f, - 0xb7, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0xba, 0x97, 0xae, 0x23, 0xaa, 0x29, 0x00, 0x00, +func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_785bb81d3668284c) } + +var fileDescriptor_pdpb_785bb81d3668284c = []byte{ + // 3018 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3a, 0x4d, 0x6f, 0x1b, 0xd7, + 0xb5, 0x1a, 0x6a, 0x48, 0x91, 0x87, 0x9f, 0xba, 0x96, 0x2d, 0x9a, 0x8e, 0x1d, 0x67, 0xec, 0xe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x2f, 0xd7, 0x64, 0x82, 0xd8, + 0x85, 0x72, 0xac, 0x4a, 0x41, 0xd1, 0x71, 0x95, 0xaa, 0x8c, 0x5a, 0x57, 0x17, 0x60, 0x02, 0x4e, + 0xdb, 0x2f, 0xfd, 0xfd, 0x0f, 0x45, 0xe5, 0xaf, 0xdf, 0xdc, 0x50, 0xfe, 0xf6, 0xcd, 0x0d, 0xe5, + 0x1f, 0xdf, 0xdc, 0x50, 0xbe, 0xfe, 0xe7, 0x8d, 0x15, 0x68, 0xb8, 0xfe, 0x78, 0x8b, 0xda, 0x27, + 0x67, 0x5b, 0x27, 0x67, 0xfc, 0xdf, 0x95, 0x87, 0x05, 0xfe, 0xf3, 0xf6, 0x7f, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x80, 0x03, 0x3e, 0x2f, 0xd6, 0x29, 0x00, 0x00, } diff --git a/pkg/replicate_mode/replicate_mode.pb.go b/pkg/replicate_mode/replicate_mode.pb.go deleted file mode 100644 index f47b2c962..000000000 --- a/pkg/replicate_mode/replicate_mode.pb.go +++ /dev/null @@ -1,942 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: replicate_mode.proto - -package replicate_mode - -import ( - "fmt" - "io" - "math" - - proto "github.com/golang/protobuf/proto" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package - -type ReplicateStatus_Mode int32 - -const ( - ReplicateStatus_MAJORITY ReplicateStatus_Mode = 0 - ReplicateStatus_DR_AUTOSYNC ReplicateStatus_Mode = 1 -) - -var ReplicateStatus_Mode_name = map[int32]string{ - 0: "MAJORITY", - 1: "DR_AUTOSYNC", -} -var ReplicateStatus_Mode_value = map[string]int32{ - "MAJORITY": 0, - "DR_AUTOSYNC": 1, -} - -func (x ReplicateStatus_Mode) String() string { - return proto.EnumName(ReplicateStatus_Mode_name, int32(x)) -} -func (ReplicateStatus_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{0, 0} -} - -type DRAutoSync_State int32 - -const ( - DRAutoSync_SYNC DRAutoSync_State = 0 - DRAutoSync_ASYNC DRAutoSync_State = 1 - DRAutoSync_SYNC_RECOVER DRAutoSync_State = 2 -) - -var DRAutoSync_State_name = map[int32]string{ - 0: "SYNC", - 1: "ASYNC", - 2: "SYNC_RECOVER", -} -var DRAutoSync_State_value = map[string]int32{ - "SYNC": 0, - "ASYNC": 1, - "SYNC_RECOVER": 2, -} - -func (x DRAutoSync_State) String() string { - return proto.EnumName(DRAutoSync_State_name, int32(x)) -} -func (DRAutoSync_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{1, 0} -} - -type RegionReplicateStatus_State int32 - -const ( - RegionReplicateStatus_UNKNOWN RegionReplicateStatus_State = 0 - RegionReplicateStatus_MAJORITY RegionReplicateStatus_State = 1 - RegionReplicateStatus_INTEGRITY_OVER_LABEL RegionReplicateStatus_State = 2 -) - -var RegionReplicateStatus_State_name = map[int32]string{ - 0: "UNKNOWN", - 1: "MAJORITY", - 2: "INTEGRITY_OVER_LABEL", -} -var RegionReplicateStatus_State_value = map[string]int32{ - "UNKNOWN": 0, - "MAJORITY": 1, - "INTEGRITY_OVER_LABEL": 2, -} - -func (x RegionReplicateStatus_State) String() string { - return proto.EnumName(RegionReplicateStatus_State_name, int32(x)) -} -func (RegionReplicateStatus_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{2, 0} -} - -// The replicate status sync from PD to TiKV. -type ReplicateStatus struct { - Mode ReplicateStatus_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=replicate_mode.ReplicateStatus_Mode" json:"mode,omitempty"` - DrAutosync *DRAutoSync `protobuf:"bytes,2,opt,name=dr_autosync,json=drAutosync" json:"dr_autosync,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ReplicateStatus) Reset() { *m = ReplicateStatus{} } -func (m *ReplicateStatus) String() string { return proto.CompactTextString(m) } -func (*ReplicateStatus) ProtoMessage() {} -func (*ReplicateStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{0} -} -func (m *ReplicateStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ReplicateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ReplicateStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (dst *ReplicateStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicateStatus.Merge(dst, src) -} -func (m *ReplicateStatus) XXX_Size() int { - return m.Size() -} -func (m *ReplicateStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicateStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_ReplicateStatus proto.InternalMessageInfo - -func (m *ReplicateStatus) GetMode() ReplicateStatus_Mode { - if m != nil { - return m.Mode - } - return ReplicateStatus_MAJORITY -} - -func (m *ReplicateStatus) GetDrAutosync() *DRAutoSync { - if m != nil { - return m.DrAutosync - } - return nil -} - -// The status of dr-autosync mode. -type DRAutoSync struct { - LabelKey string `protobuf:"bytes,1,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"` - State DRAutoSync_State `protobuf:"varint,2,opt,name=state,proto3,enum=replicate_mode.DRAutoSync_State" json:"state,omitempty"` - StateId uint64 `protobuf:"varint,3,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - WaitSyncTimeoutHint int32 `protobuf:"varint,4,opt,name=wait_sync_timeout_hint,json=waitSyncTimeoutHint,proto3" json:"wait_sync_timeout_hint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DRAutoSync) Reset() { *m = DRAutoSync{} } -func (m *DRAutoSync) String() string { return proto.CompactTextString(m) } -func (*DRAutoSync) ProtoMessage() {} -func (*DRAutoSync) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{1} -} -func (m *DRAutoSync) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DRAutoSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DRAutoSync.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (dst *DRAutoSync) XXX_Merge(src proto.Message) { - xxx_messageInfo_DRAutoSync.Merge(dst, src) -} -func (m *DRAutoSync) XXX_Size() int { - return m.Size() -} -func (m *DRAutoSync) XXX_DiscardUnknown() { - xxx_messageInfo_DRAutoSync.DiscardUnknown(m) -} - -var xxx_messageInfo_DRAutoSync proto.InternalMessageInfo - -func (m *DRAutoSync) GetLabelKey() string { - if m != nil { - return m.LabelKey - } - return "" -} - -func (m *DRAutoSync) GetState() DRAutoSync_State { - if m != nil { - return m.State - } - return DRAutoSync_SYNC -} - -func (m *DRAutoSync) GetStateId() uint64 { - if m != nil { - return m.StateId - } - return 0 -} - -func (m *DRAutoSync) GetWaitSyncTimeoutHint() int32 { - if m != nil { - return m.WaitSyncTimeoutHint - } - return 0 -} - -// The replicate status sync from TiKV to PD. -type RegionReplicateStatus struct { - State RegionReplicateStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=replicate_mode.RegionReplicateStatus_State" json:"state,omitempty"` - StateId uint64 `protobuf:"varint,2,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RegionReplicateStatus) Reset() { *m = RegionReplicateStatus{} } -func (m *RegionReplicateStatus) String() string { return proto.CompactTextString(m) } -func (*RegionReplicateStatus) ProtoMessage() {} -func (*RegionReplicateStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_replicate_mode_90eacee3e89a5ccb, []int{2} -} -func (m *RegionReplicateStatus) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RegionReplicateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RegionReplicateStatus.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalTo(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (dst *RegionReplicateStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegionReplicateStatus.Merge(dst, src) -} -func (m *RegionReplicateStatus) XXX_Size() int { - return m.Size() -} -func (m *RegionReplicateStatus) XXX_DiscardUnknown() { - xxx_messageInfo_RegionReplicateStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_RegionReplicateStatus proto.InternalMessageInfo - -func (m *RegionReplicateStatus) GetState() RegionReplicateStatus_State { - if m != nil { - return m.State - } - return RegionReplicateStatus_UNKNOWN -} - -func (m *RegionReplicateStatus) GetStateId() uint64 { - if m != nil { - return m.StateId - } - return 0 -} - -func init() { - proto.RegisterType((*ReplicateStatus)(nil), "replicate_mode.ReplicateStatus") - proto.RegisterType((*DRAutoSync)(nil), "replicate_mode.DRAutoSync") - proto.RegisterType((*RegionReplicateStatus)(nil), "replicate_mode.RegionReplicateStatus") - proto.RegisterEnum("replicate_mode.ReplicateStatus_Mode", ReplicateStatus_Mode_name, ReplicateStatus_Mode_value) - proto.RegisterEnum("replicate_mode.DRAutoSync_State", DRAutoSync_State_name, DRAutoSync_State_value) - proto.RegisterEnum("replicate_mode.RegionReplicateStatus_State", RegionReplicateStatus_State_name, RegionReplicateStatus_State_value) -} -func (m *ReplicateStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ReplicateStatus) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.Mode != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.Mode)) - } - if m.DrAutosync != nil { - dAtA[i] = 0x12 - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.DrAutosync.Size())) - n1, err := m.DrAutosync.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n1 - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *DRAutoSync) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *DRAutoSync) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if len(m.LabelKey) > 0 { - dAtA[i] = 0xa - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(len(m.LabelKey))) - i += copy(dAtA[i:], m.LabelKey) - } - if m.State != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.State)) - } - if m.StateId != 0 { - dAtA[i] = 0x18 - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.StateId)) - } - if m.WaitSyncTimeoutHint != 0 { - dAtA[i] = 0x20 - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.WaitSyncTimeoutHint)) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func (m *RegionReplicateStatus) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RegionReplicateStatus) MarshalTo(dAtA []byte) (int, error) { - var i int - _ = i - var l int - _ = l - if m.State != 0 { - dAtA[i] = 0x8 - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.State)) - } - if m.StateId != 0 { - dAtA[i] = 0x10 - i++ - i = encodeVarintReplicateMode(dAtA, i, uint64(m.StateId)) - } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } - return i, nil -} - -func encodeVarintReplicateMode(dAtA []byte, offset int, v uint64) int { - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return offset + 1 -} -func (m *ReplicateStatus) Size() (n int) { - var l int - _ = l - if m.Mode != 0 { - n += 1 + sovReplicateMode(uint64(m.Mode)) - } - if m.DrAutosync != nil { - l = m.DrAutosync.Size() - n += 1 + l + sovReplicateMode(uint64(l)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *DRAutoSync) Size() (n int) { - var l int - _ = l - l = len(m.LabelKey) - if l > 0 { - n += 1 + l + sovReplicateMode(uint64(l)) - } - if m.State != 0 { - n += 1 + sovReplicateMode(uint64(m.State)) - } - if m.StateId != 0 { - n += 1 + sovReplicateMode(uint64(m.StateId)) - } - if m.WaitSyncTimeoutHint != 0 { - n += 1 + sovReplicateMode(uint64(m.WaitSyncTimeoutHint)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func (m *RegionReplicateStatus) Size() (n int) { - var l int - _ = l - if m.State != 0 { - n += 1 + sovReplicateMode(uint64(m.State)) - } - if m.StateId != 0 { - n += 1 + sovReplicateMode(uint64(m.StateId)) - } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } - return n -} - -func sovReplicateMode(x uint64) (n int) { - for { - n++ - x >>= 7 - if x == 0 { - break - } - } - return n -} -func sozReplicateMode(x uint64) (n int) { - return sovReplicateMode(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *ReplicateStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReplicateStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReplicateStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) - } - m.Mode = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Mode |= (ReplicateStatus_Mode(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DrAutosync", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthReplicateMode - } - postIndex := iNdEx + msglen - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.DrAutosync == nil { - m.DrAutosync = &DRAutoSync{} - } - if err := m.DrAutosync.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipReplicateMode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthReplicateMode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DRAutoSync) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DRAutoSync: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DRAutoSync: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LabelKey", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthReplicateMode - } - postIndex := iNdEx + intStringLen - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LabelKey = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= (DRAutoSync_State(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) - } - m.StateId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StateId |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WaitSyncTimeoutHint", wireType) - } - m.WaitSyncTimeoutHint = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.WaitSyncTimeoutHint |= (int32(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipReplicateMode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthReplicateMode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RegionReplicateStatus) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RegionReplicateStatus: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RegionReplicateStatus: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) - } - m.State = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.State |= (RegionReplicateStatus_State(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) - } - m.StateId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StateId |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipReplicateMode(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthReplicateMode - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipReplicateMode(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - return iNdEx, nil - case 1: - iNdEx += 8 - return iNdEx, nil - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - iNdEx += length - if length < 0 { - return 0, ErrInvalidLengthReplicateMode - } - return iNdEx, nil - case 3: - for { - var innerWire uint64 - var start int = iNdEx - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowReplicateMode - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - innerWire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - innerWireType := int(innerWire & 0x7) - if innerWireType == 4 { - break - } - next, err := skipReplicateMode(dAtA[start:]) - if err != nil { - return 0, err - } - iNdEx = start + next - } - return iNdEx, nil - case 4: - return iNdEx, nil - case 5: - iNdEx += 4 - return iNdEx, nil - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - } - panic("unreachable") -} - -var ( - ErrInvalidLengthReplicateMode = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowReplicateMode = fmt.Errorf("proto: integer overflow") -) - -func init() { - proto.RegisterFile("replicate_mode.proto", fileDescriptor_replicate_mode_90eacee3e89a5ccb) -} - -var fileDescriptor_replicate_mode_90eacee3e89a5ccb = []byte{ - // 410 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xdf, 0x6a, 0xd4, 0x40, - 0x18, 0xc5, 0x33, 0x31, 0xb1, 0xd9, 0x2f, 0x65, 0x1b, 0xc6, 0x2a, 0x51, 0x21, 0x84, 0xa0, 0x10, - 0x10, 0x72, 0xb1, 0x05, 0x11, 0xf4, 0x26, 0x6d, 0x83, 0xae, 0x6d, 0x13,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c, 0x02, 0x00, 0x00, -} diff --git a/pkg/replication_modepb/replication_modepb.pb.go b/pkg/replication_modepb/replication_modepb.pb.go new file mode 100644 index 000000000..36dcf0769 --- /dev/null +++ b/pkg/replication_modepb/replication_modepb.pb.go @@ -0,0 +1,955 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: replication_modepb.proto + +package replication_modepb + +import ( + "fmt" + "io" + "math" + + proto "github.com/golang/protobuf/proto" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package + +type ReplicationMode int32 + +const ( + // The standard mode. Replicate logs to majority peer. + ReplicationMode_MAJORITY ReplicationMode = 0 + // DR mode. Replicate logs among 2 DCs. + ReplicationMode_DR_AUTO_SYNC ReplicationMode = 1 +) + +var ReplicationMode_name = map[int32]string{ + 0: "MAJORITY", + 1: "DR_AUTO_SYNC", +} +var ReplicationMode_value = map[string]int32{ + "MAJORITY": 0, + "DR_AUTO_SYNC": 1, +} + +func (x ReplicationMode) String() string { + return proto.EnumName(ReplicationMode_name, int32(x)) +} +func (ReplicationMode) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_replication_modepb_5de8f3cc9358480b, []int{0} +} + +type DRAutoSyncState int32 + +const ( + // Raft logs need to sync between different DCs + DRAutoSyncState_SYNC DRAutoSyncState = 0 + // Raft logs need to sync to majority peers + DRAutoSyncState_ASYNC DRAutoSyncState = 1 + // Switching from ASYNC to SYNC mode + DRAutoSyncState_SYNC_RECOVER DRAutoSyncState = 2 +) + +var DRAutoSyncState_name = map[int32]string{ + 0: "SYNC", + 1: "ASYNC", + 2: "SYNC_RECOVER", +} +var DRAutoSyncState_value = map[string]int32{ + "SYNC": 0, + "ASYNC": 1, + "SYNC_RECOVER": 2, +} + +func (x DRAutoSyncState) String() string { + return proto.EnumName(DRAutoSyncState_name, int32(x)) +} +func (DRAutoSyncState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_replication_modepb_5de8f3cc9358480b, []int{1} +} + +type RegionReplicationState int32 + +const ( + // The region's state is unknown + RegionReplicationState_UNKNOWN RegionReplicationState = 0 + // Logs sync to majority peers + RegionReplicationState_SIMPLE_MAJORITY RegionReplicationState = 1 + // Logs sync to different DCs + RegionReplicationState_INTEGRITY_OVER_LABEL RegionReplicationState = 2 +) + +var RegionReplicationState_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SIMPLE_MAJORITY", + 2: "INTEGRITY_OVER_LABEL", +} +var RegionReplicationState_value = map[string]int32{ + "UNKNOWN": 0, + "SIMPLE_MAJORITY": 1, + "INTEGRITY_OVER_LABEL": 2, +} + +func (x RegionReplicationState) String() string { + return proto.EnumName(RegionReplicationState_name, int32(x)) +} +func (RegionReplicationState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_replication_modepb_5de8f3cc9358480b, []int{2} +} + +// The replication status sync from PD to TiKV. +type ReplicationStatus struct { + Mode ReplicationMode `protobuf:"varint,1,opt,name=mode,proto3,enum=replication_modepb.ReplicationMode" json:"mode,omitempty"` + DrAutoSync *DRAutoSync `protobuf:"bytes,2,opt,name=dr_auto_sync,json=drAutoSync" json:"dr_auto_sync,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReplicationStatus) Reset() { *m = ReplicationStatus{} } +func (m *ReplicationStatus) String() string { return proto.CompactTextString(m) } +func (*ReplicationStatus) ProtoMessage() {} +func (*ReplicationStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_replication_modepb_5de8f3cc9358480b, []int{0} +} +func (m *ReplicationStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ReplicationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ReplicationStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *ReplicationStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicationStatus.Merge(dst, src) +} +func (m *ReplicationStatus) XXX_Size() int { + return m.Size() +} +func (m *ReplicationStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicationStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplicationStatus proto.InternalMessageInfo + +func (m *ReplicationStatus) GetMode() ReplicationMode { + if m != nil { + return m.Mode + } + return ReplicationMode_MAJORITY +} + +func (m *ReplicationStatus) GetDrAutoSync() *DRAutoSync { + if m != nil { + return m.DrAutoSync + } + return nil +} + +// The status of dr-autosync mode. +type DRAutoSync struct { + // The key of the label that used for distinguish different DC. + LabelKey string `protobuf:"bytes,1,opt,name=label_key,json=labelKey,proto3" json:"label_key,omitempty"` + State DRAutoSyncState `protobuf:"varint,2,opt,name=state,proto3,enum=replication_modepb.DRAutoSyncState" json:"state,omitempty"` + // Unique ID of the state, it increases after each state transfer. + StateId uint64 `protobuf:"varint,3,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` + // Duration to wait before switching to SYNC by force (in seconds) + WaitSyncTimeoutHint int32 `protobuf:"varint,4,opt,name=wait_sync_timeout_hint,json=waitSyncTimeoutHint,proto3" json:"wait_sync_timeout_hint,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DRAutoSync) Reset() { *m = DRAutoSync{} } +func (m *DRAutoSync) String() string { return proto.CompactTextString(m) } +func (*DRAutoSync) ProtoMessage() {} +func (*DRAutoSync) Descriptor() ([]byte, []int) { + return fileDescriptor_replication_modepb_5de8f3cc9358480b, []int{1} +} +func (m *DRAutoSync) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DRAutoSync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DRAutoSync.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *DRAutoSync) XXX_Merge(src proto.Message) { + xxx_messageInfo_DRAutoSync.Merge(dst, src) +} +func (m *DRAutoSync) XXX_Size() int { + return m.Size() +} +func (m *DRAutoSync) XXX_DiscardUnknown() { + xxx_messageInfo_DRAutoSync.DiscardUnknown(m) +} + +var xxx_messageInfo_DRAutoSync proto.InternalMessageInfo + +func (m *DRAutoSync) GetLabelKey() string { + if m != nil { + return m.LabelKey + } + return "" +} + +func (m *DRAutoSync) GetState() DRAutoSyncState { + if m != nil { + return m.State + } + return DRAutoSyncState_SYNC +} + +func (m *DRAutoSync) GetStateId() uint64 { + if m != nil { + return m.StateId + } + return 0 +} + +func (m *DRAutoSync) GetWaitSyncTimeoutHint() int32 { + if m != nil { + return m.WaitSyncTimeoutHint + } + return 0 +} + +// The replication status sync from TiKV to PD. +type RegionReplicationStatus struct { + State RegionReplicationState `protobuf:"varint,1,opt,name=state,proto3,enum=replication_modepb.RegionReplicationState" json:"state,omitempty"` + // Unique ID of the state, it increases after each state transfer. + StateId uint64 `protobuf:"varint,2,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegionReplicationStatus) Reset() { *m = RegionReplicationStatus{} } +func (m *RegionReplicationStatus) String() string { return proto.CompactTextString(m) } +func (*RegionReplicationStatus) ProtoMessage() {} +func (*RegionReplicationStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_replication_modepb_5de8f3cc9358480b, []int{2} +} +func (m *RegionReplicationStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RegionReplicationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RegionReplicationStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *RegionReplicationStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegionReplicationStatus.Merge(dst, src) +} +func (m *RegionReplicationStatus) XXX_Size() int { + return m.Size() +} +func (m *RegionReplicationStatus) XXX_DiscardUnknown() { + xxx_messageInfo_RegionReplicationStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_RegionReplicationStatus proto.InternalMessageInfo + +func (m *RegionReplicationStatus) GetState() RegionReplicationState { + if m != nil { + return m.State + } + return RegionReplicationState_UNKNOWN +} + +func (m *RegionReplicationStatus) GetStateId() uint64 { + if m != nil { + return m.StateId + } + return 0 +} + +func init() { + proto.RegisterType((*ReplicationStatus)(nil), "replication_modepb.ReplicationStatus") + proto.RegisterType((*DRAutoSync)(nil), "replication_modepb.DRAutoSync") + proto.RegisterType((*RegionReplicationStatus)(nil), "replication_modepb.RegionReplicationStatus") + proto.RegisterEnum("replication_modepb.ReplicationMode", ReplicationMode_name, ReplicationMode_value) + proto.RegisterEnum("replication_modepb.DRAutoSyncState", DRAutoSyncState_name, DRAutoSyncState_value) + proto.RegisterEnum("replication_modepb.RegionReplicationState", RegionReplicationState_name, RegionReplicationState_value) +} +func (m *ReplicationStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicationStatus) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Mode != 0 { + dAtA[i] = 0x8 + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(m.Mode)) + } + if m.DrAutoSync != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(m.DrAutoSync.Size())) + n1, err := m.DrAutoSync.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n1 + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *DRAutoSync) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DRAutoSync) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if len(m.LabelKey) > 0 { + dAtA[i] = 0xa + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(len(m.LabelKey))) + i += copy(dAtA[i:], m.LabelKey) + } + if m.State != 0 { + dAtA[i] = 0x10 + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(m.State)) + } + if m.StateId != 0 { + dAtA[i] = 0x18 + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(m.StateId)) + } + if m.WaitSyncTimeoutHint != 0 { + dAtA[i] = 0x20 + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(m.WaitSyncTimeoutHint)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *RegionReplicationStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RegionReplicationStatus) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.State != 0 { + dAtA[i] = 0x8 + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(m.State)) + } + if m.StateId != 0 { + dAtA[i] = 0x10 + i++ + i = encodeVarintReplicationModepb(dAtA, i, uint64(m.StateId)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func encodeVarintReplicationModepb(dAtA []byte, offset int, v uint64) int { + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return offset + 1 +} +func (m *ReplicationStatus) Size() (n int) { + var l int + _ = l + if m.Mode != 0 { + n += 1 + sovReplicationModepb(uint64(m.Mode)) + } + if m.DrAutoSync != nil { + l = m.DrAutoSync.Size() + n += 1 + l + sovReplicationModepb(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DRAutoSync) Size() (n int) { + var l int + _ = l + l = len(m.LabelKey) + if l > 0 { + n += 1 + l + sovReplicationModepb(uint64(l)) + } + if m.State != 0 { + n += 1 + sovReplicationModepb(uint64(m.State)) + } + if m.StateId != 0 { + n += 1 + sovReplicationModepb(uint64(m.StateId)) + } + if m.WaitSyncTimeoutHint != 0 { + n += 1 + sovReplicationModepb(uint64(m.WaitSyncTimeoutHint)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RegionReplicationStatus) Size() (n int) { + var l int + _ = l + if m.State != 0 { + n += 1 + sovReplicationModepb(uint64(m.State)) + } + if m.StateId != 0 { + n += 1 + sovReplicationModepb(uint64(m.StateId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovReplicationModepb(x uint64) (n int) { + for { + n++ + x >>= 7 + if x == 0 { + break + } + } + return n +} +func sozReplicationModepb(x uint64) (n int) { + return sovReplicationModepb(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *ReplicationStatus) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicationStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicationStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Mode", wireType) + } + m.Mode = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Mode |= (ReplicationMode(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DrAutoSync", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthReplicationModepb + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DrAutoSync == nil { + m.DrAutoSync = &DRAutoSync{} + } + if err := m.DrAutoSync.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipReplicationModepb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthReplicationModepb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DRAutoSync) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DRAutoSync: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DRAutoSync: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LabelKey", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthReplicationModepb + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LabelKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= (DRAutoSyncState(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) + } + m.StateId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StateId |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitSyncTimeoutHint", wireType) + } + m.WaitSyncTimeoutHint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WaitSyncTimeoutHint |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipReplicationModepb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthReplicationModepb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RegionReplicationStatus) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RegionReplicationStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RegionReplicationStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= (RegionReplicationState(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StateId", wireType) + } + m.StateId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StateId |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipReplicationModepb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthReplicationModepb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipReplicationModepb(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + return iNdEx, nil + case 1: + iNdEx += 8 + return iNdEx, nil + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + iNdEx += length + if length < 0 { + return 0, ErrInvalidLengthReplicationModepb + } + return iNdEx, nil + case 3: + for { + var innerWire uint64 + var start int = iNdEx + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowReplicationModepb + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + innerWire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + innerWireType := int(innerWire & 0x7) + if innerWireType == 4 { + break + } + next, err := skipReplicationModepb(dAtA[start:]) + if err != nil { + return 0, err + } + iNdEx = start + next + } + return iNdEx, nil + case 4: + return iNdEx, nil + case 5: + iNdEx += 4 + return iNdEx, nil + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + } + panic("unreachable") +} + +var ( + ErrInvalidLengthReplicationModepb = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowReplicationModepb = fmt.Errorf("proto: integer overflow") +) + +func init() { + proto.RegisterFile("replication_modepb.proto", fileDescriptor_replication_modepb_5de8f3cc9358480b) +} + +var fileDescriptor_replication_modepb_5de8f3cc9358480b = []byte{ + // 421 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0xd1, 0x6e, 0xd3, 0x30, + 0x14, 0xad, 0x4b, 0xca, 0xd2, 0xbb, 0x8a, 0x06, 0x0f, 0x8d, 0x20, 0xa4, 0x28, 0x2a, 0x2f, 0x51, + 0x1e, 0x26, 0xb1, 0x3d, 0x00, 0x6f, 0xcb, 0xb6, 0x08, 0xc2, 0xda, 0x04, 0x39, 0x19, 0x68, 0x4f, + 0x56, 0xda, 0x58, 0x60, 0xd1, 0xc5, 0x55, 0xea, 0x80, 0xf2, 0x13, 0x3c, 0xf3, 0x21, 0x7c, 0x04, + 0x8f, 0x7c, 0x02, 0x2a, 0x3f, 0x82, 0xec, 0x68, 0x14, 0xb6, 0xf0, 0x76, 0xef, 0x3d, 0x3e, 0xc7, + 0xe7, 0x1e, 0x1b, 0xec, 0x8a, 0xad, 0x96, 0x7c, 0x91, 0x4b, 0x2e, 0x4a, 0x7a, 0x25, 0x0a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0x70, 0x3b, 0xcd, 0xf6, 0xff, 0x31, 0xeb, 0x3f, 0x85, 0xf1, 0x8d, + 0x97, 0xc0, 0x23, 0x30, 0x67, 0xc1, 0xeb, 0x84, 0x44, 0xd9, 0xa5, 0xd5, 0xc3, 0x16, 0x8c, 0xce, + 0x08, 0x0d, 0x2e, 0xb2, 0x84, 0xa6, 0x97, 0xf1, 0xa9, 0x85, 0xfc, 0xe7, 0x30, 0xbe, 0x11, 0x0a, + 0x36, 0xc1, 0xd0, 0x60, 0x0f, 0x0f, 0x61, 0x10, 0xb4, 0xe7, 0x14, 0x53, 0x55, 0x94, 0x84, 0xa7, + 0xc9, 0xdb, 0x90, 0x58, 0x7d, 0x3f, 0x83, 0xfd, 0x6e, 0xa3, 0x78, 0x17, 0x76, 0x2e, 0xe2, 0xf3, + 0x38, 0x79, 0x17, 0x5b, 0x3d, 0xbc, 0x07, 0xe3, 0x34, 0x9a, 0xbd, 0x99, 0x86, 0xf4, 0x8f, 0x0f, + 0x84, 0x6d, 0x78, 0x10, 0xc5, 0x59, 0xf8, 0x52, 0xb5, 0x54, 0xe9, 0xd1, 0x69, 0x70, 0x12, 0x4e, + 0xad, 0xfe, 0x89, 0xf5, 0x7d, 0xe3, 0xa0, 0x1f, 0x1b, 0x07, 0xfd, 0xdc, 0x38, 0xe8, 0xeb, 0x2f, + 0xa7, 0x37, 0xbf, 0xab, 0xff, 0xeb, 0xd1, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x43, 0xe2, + 0xbf, 0xcb, 0x02, 0x00, 0x00, +} diff --git a/proto/pdpb.proto b/proto/pdpb.proto index 1ecac0631..b95e5fc29 100644 --- a/proto/pdpb.proto +++ b/proto/pdpb.proto @@ -3,7 +3,7 @@ package pdpb; import "metapb.proto"; import "eraftpb.proto"; -import "replicate_mode.proto"; +import "replication_modepb.proto"; import "gogoproto/gogo.proto"; import "rustproto.proto"; @@ -128,7 +128,7 @@ message BootstrapRequest { message BootstrapResponse { ResponseHeader header = 1; - replicate_mode.ReplicateStatus replicate_status = 2; + replication_modepb.ReplicationStatus replication_status = 2; } message IsBootstrappedRequest { @@ -172,7 +172,7 @@ message PutStoreRequest { message PutStoreResponse { ResponseHeader header = 1; - replicate_mode.ReplicateStatus replicate_status = 2; + replication_modepb.ReplicationStatus replication_status = 2; } message GetAllStoresRequest { @@ -305,7 +305,7 @@ message RegionHeartbeatRequest { uint64 approximate_keys = 13; // Term is the term of raft group. uint64 term = 14; - replicate_mode.RegionReplicateStatus replicate_status = 15; + replication_modepb.RegionReplicationStatus replication_status = 15; } message ChangePeer { @@ -478,7 +478,7 @@ message StoreHeartbeatRequest { message StoreHeartbeatResponse { ResponseHeader header = 1; - replicate_mode.ReplicateStatus replicate_status = 2; + replication_modepb.ReplicationStatus replication_status = 2; } message ScatterRegionRequest { diff --git a/proto/replicate_mode.proto b/proto/replicate_mode.proto deleted file mode 100644 index e7492c214..000000000 --- a/proto/replicate_mode.proto +++ /dev/null @@ -1,36 +0,0 @@ -syntax = "proto3"; -package replicate_mode; - -// The replicate status sync from PD to TiKV. -message ReplicateStatus { - enum Mode { - MAJORITY = 0; // the standard mode. Replicate logs to majority peer. - DR_AUTOSYNC = 1; // DR mode. Replicate logs among 2 DCs. - } - Mode mode = 1; - DRAutoSync dr_autosync = 2; -} - -// The status of dr-autosync mode. -message DRAutoSync { - enum State { - SYNC = 0; // raft logs need to sync between different DCs - ASYNC = 1; // raft logs need to sync to majority peers - SYNC_RECOVER = 2; // switching from ASYNC to SYNC mode - } - string label_key = 1; // the key of the label that used for distinguish different DC. - State state = 2; - uint64 state_id = 3; // Unique ID of the state, it increases after each state transfer. - int32 wait_sync_timeout_hint = 4; // Duration to wait before switching to SYNC by force (in seconds) -} - -// The replicate status sync from TiKV to PD. -message RegionReplicateStatus { - enum State { - UNKNOWN = 0; // The region's state is unknown - MAJORITY = 1; // Logs sync to majority peers - INTEGRITY_OVER_LABEL = 2; // Logs sync to different DCs - } - State state = 1; - uint64 state_id = 2; // Unique ID of the state, it increases after each state transfer. -} diff --git a/proto/replication_modepb.proto b/proto/replication_modepb.proto new file mode 100644 index 000000000..9bfb8814d --- /dev/null +++ b/proto/replication_modepb.proto @@ -0,0 +1,51 @@ +syntax = "proto3"; +package replication_modepb; + +enum ReplicationMode { + // The standard mode. Replicate logs to majority peer. + MAJORITY = 0; + // DR mode. Replicate logs among 2 DCs. + DR_AUTO_SYNC = 1; +} + +// The replication status sync from PD to TiKV. +message ReplicationStatus { + ReplicationMode mode = 1; + DRAutoSync dr_auto_sync = 2; +} + +enum DRAutoSyncState { + // Raft logs need to sync between different DCs + SYNC = 0; + // Raft logs need to sync to majority peers + ASYNC = 1; + // Switching from ASYNC to SYNC mode + SYNC_RECOVER = 2; +} + +// The status of dr-autosync mode. +message DRAutoSync { + // The key of the label that used for distinguish different DC. + string label_key = 1; + DRAutoSyncState state = 2; + // Unique ID of the state, it increases after each state transfer. + uint64 state_id = 3; + // Duration to wait before switching to SYNC by force (in seconds) + int32 wait_sync_timeout_hint = 4; +} + +enum RegionReplicationState { + // The region's state is unknown + UNKNOWN = 0; + // Logs sync to majority peers + SIMPLE_MAJORITY = 1; + // Logs sync to different DCs + INTEGRITY_OVER_LABEL = 2; +} + +// The replication status sync from TiKV to PD. +message RegionReplicationStatus { + RegionReplicationState state = 1; + // Unique ID of the state, it increases after each state transfer. + uint64 state_id = 2; +} diff --git a/scripts/generate_go.sh b/scripts/generate_go.sh index f13e35974..7eedef7a1 100755 --- a/scripts/generate_go.sh +++ b/scripts/generate_go.sh @@ -48,7 +48,7 @@ ret=0 function gen() { base_name=$(basename $1 ".proto") - protoc -I.:../include -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true:../pkg/$base_name --gofast_out=plugins=grpc,$GO_OUT_M:../pkg/$base_name $1 || ret=$? + protoc -I.:../include --grpc-gateway_out=logtostderr=true:../pkg/$base_name --gofast_out=plugins=grpc,$GO_OUT_M:../pkg/$base_name $1 || ret=$? cd ../pkg/$base_name sed_inplace -E 's/import _ \"gogoproto\"//g' *.pb*.go sed_inplace -E 's/import fmt \"fmt\"//g' *.pb*.go From 1c90440c374871651e00d7d9ede1556b0c06189a Mon Sep 17 00:00:00 2001 From: Han Fei Date: Thu, 9 Apr 2020 11:45:05 +0800 Subject: [PATCH 6/9] support batch coprocessor (#586) Add batch coprocessor function for TiFlash Engine. Signed-off-by: 5kbpers --- .gitignore | 3 +- cpp/CMakeLists.txt | 1 + pkg/coprocessor/coprocessor.pb.go | 1200 +++++++++++++++++++++++++---- pkg/tikvpb/tikvpb.pb.go | 321 ++++---- proto/coprocessor.proto | 23 + proto/tikvpb.proto | 1 + scripts/generate_cpp.sh | 2 +- 7 files changed, 1283 insertions(+), 268 deletions(-) diff --git a/.gitignore b/.gitignore index d3bc3e0a3..76f203fd9 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,5 @@ Cargo.lock .idea _tools -cpp/kvproto/*.h -cpp/kvproto/*.cc +cpp/kvproto/* diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 2035ed2f4..9657632a9 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -17,4 +17,5 @@ file(GLOB __tmp RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} kvproto/*.cc kvproto/*.h) list(APPEND generated_files ${__tmp}) add_library(kvproto ${generated_files}) +include_directories(${CMAKE_CURRENT_LIST_DIR}/kvproto) target_include_directories(kvproto PUBLIC ./) diff --git a/pkg/coprocessor/coprocessor.pb.go b/pkg/coprocessor/coprocessor.pb.go index c22b979be..d8ab0fb94 100644 --- a/pkg/coprocessor/coprocessor.pb.go +++ b/pkg/coprocessor/coprocessor.pb.go @@ -16,6 +16,8 @@ import ( kvrpcpb "github.com/pingcap/kvproto/pkg/kvrpcpb" + metapb "github.com/pingcap/kvproto/pkg/metapb" + github_com_pingcap_kvproto_pkg_sharedbytes "github.com/pingcap/kvproto/pkg/sharedbytes" ) @@ -43,7 +45,7 @@ func (m *KeyRange) Reset() { *m = KeyRange{} } func (m *KeyRange) String() string { return proto.CompactTextString(m) } func (*KeyRange) ProtoMessage() {} func (*KeyRange) Descriptor() ([]byte, []int) { - return fileDescriptor_coprocessor_dd6f753d38264f26, []int{0} + return fileDescriptor_coprocessor_bc259b8e05617443, []int{0} } func (m *KeyRange) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -107,7 +109,7 @@ func (m *Request) Reset() { *m = Request{} } func (m *Request) String() string { return proto.CompactTextString(m) } func (*Request) ProtoMessage() {} func (*Request) Descriptor() ([]byte, []int) { - return fileDescriptor_coprocessor_dd6f753d38264f26, []int{1} + return fileDescriptor_coprocessor_bc259b8e05617443, []int{1} } func (m *Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -211,7 +213,7 @@ func (m *Response) Reset() { *m = Response{} } func (m *Response) String() string { return proto.CompactTextString(m) } func (*Response) ProtoMessage() {} func (*Response) Descriptor() ([]byte, []int) { - return fileDescriptor_coprocessor_dd6f753d38264f26, []int{2} + return fileDescriptor_coprocessor_bc259b8e05617443, []int{2} } func (m *Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -296,10 +298,220 @@ func (m *Response) GetCanBeCached() bool { return false } +type RegionInfo struct { + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,2,opt,name=region_epoch,json=regionEpoch" json:"region_epoch,omitempty"` + Ranges []*KeyRange `protobuf:"bytes,3,rep,name=ranges" json:"ranges,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegionInfo) Reset() { *m = RegionInfo{} } +func (m *RegionInfo) String() string { return proto.CompactTextString(m) } +func (*RegionInfo) ProtoMessage() {} +func (*RegionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_coprocessor_bc259b8e05617443, []int{3} +} +func (m *RegionInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RegionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RegionInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *RegionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegionInfo.Merge(dst, src) +} +func (m *RegionInfo) XXX_Size() int { + return m.Size() +} +func (m *RegionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_RegionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_RegionInfo proto.InternalMessageInfo + +func (m *RegionInfo) GetRegionId() uint64 { + if m != nil { + return m.RegionId + } + return 0 +} + +func (m *RegionInfo) GetRegionEpoch() *metapb.RegionEpoch { + if m != nil { + return m.RegionEpoch + } + return nil +} + +func (m *RegionInfo) GetRanges() []*KeyRange { + if m != nil { + return m.Ranges + } + return nil +} + +type BatchRequest struct { + Context *kvrpcpb.Context `protobuf:"bytes,1,opt,name=context" json:"context,omitempty"` + Tp int64 `protobuf:"varint,2,opt,name=tp,proto3" json:"tp,omitempty"` + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + Regions []*RegionInfo `protobuf:"bytes,4,rep,name=regions" json:"regions,omitempty"` + StartTs uint64 `protobuf:"varint,5,opt,name=start_ts,json=startTs,proto3" json:"start_ts,omitempty"` + // Any schema-ful storage to validate schema correctness if necessary. + SchemaVer int64 `protobuf:"varint,6,opt,name=schema_ver,json=schemaVer,proto3" json:"schema_ver,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchRequest) Reset() { *m = BatchRequest{} } +func (m *BatchRequest) String() string { return proto.CompactTextString(m) } +func (*BatchRequest) ProtoMessage() {} +func (*BatchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_coprocessor_bc259b8e05617443, []int{4} +} +func (m *BatchRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BatchRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *BatchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchRequest.Merge(dst, src) +} +func (m *BatchRequest) XXX_Size() int { + return m.Size() +} +func (m *BatchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BatchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchRequest proto.InternalMessageInfo + +func (m *BatchRequest) GetContext() *kvrpcpb.Context { + if m != nil { + return m.Context + } + return nil +} + +func (m *BatchRequest) GetTp() int64 { + if m != nil { + return m.Tp + } + return 0 +} + +func (m *BatchRequest) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *BatchRequest) GetRegions() []*RegionInfo { + if m != nil { + return m.Regions + } + return nil +} + +func (m *BatchRequest) GetStartTs() uint64 { + if m != nil { + return m.StartTs + } + return 0 +} + +func (m *BatchRequest) GetSchemaVer() int64 { + if m != nil { + return m.SchemaVer + } + return 0 +} + +type BatchResponse struct { + Data github_com_pingcap_kvproto_pkg_sharedbytes.SharedBytes `protobuf:"bytes,1,opt,name=data,proto3,customtype=github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes" json:"data"` + OtherError string `protobuf:"bytes,2,opt,name=other_error,json=otherError,proto3" json:"other_error,omitempty"` + ExecDetails *kvrpcpb.ExecDetails `protobuf:"bytes,3,opt,name=exec_details,json=execDetails" json:"exec_details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BatchResponse) Reset() { *m = BatchResponse{} } +func (m *BatchResponse) String() string { return proto.CompactTextString(m) } +func (*BatchResponse) ProtoMessage() {} +func (*BatchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_coprocessor_bc259b8e05617443, []int{5} +} +func (m *BatchResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BatchResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *BatchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BatchResponse.Merge(dst, src) +} +func (m *BatchResponse) XXX_Size() int { + return m.Size() +} +func (m *BatchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BatchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BatchResponse proto.InternalMessageInfo + +func (m *BatchResponse) GetOtherError() string { + if m != nil { + return m.OtherError + } + return "" +} + +func (m *BatchResponse) GetExecDetails() *kvrpcpb.ExecDetails { + if m != nil { + return m.ExecDetails + } + return nil +} + func init() { proto.RegisterType((*KeyRange)(nil), "coprocessor.KeyRange") proto.RegisterType((*Request)(nil), "coprocessor.Request") proto.RegisterType((*Response)(nil), "coprocessor.Response") + proto.RegisterType((*RegionInfo)(nil), "coprocessor.RegionInfo") + proto.RegisterType((*BatchRequest)(nil), "coprocessor.BatchRequest") + proto.RegisterType((*BatchResponse)(nil), "coprocessor.BatchResponse") } func (m *KeyRange) Marshal() (dAtA []byte, err error) { size := m.Size() @@ -513,71 +725,228 @@ func (m *Response) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func encodeVarintCoprocessor(dAtA []byte, offset int, v uint64) int { - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *RegionInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return offset + 1 + return dAtA[:n], nil } -func (m *KeyRange) Size() (n int) { + +func (m *RegionInfo) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i var l int _ = l - l = len(m.Start) - if l > 0 { - n += 1 + l + sovCoprocessor(uint64(l)) + if m.RegionId != 0 { + dAtA[i] = 0x8 + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.RegionId)) } - l = len(m.End) - if l > 0 { - n += 1 + l + sovCoprocessor(uint64(l)) + if m.RegionEpoch != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.RegionEpoch.Size())) + n7, err := m.RegionEpoch.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n7 + } + if len(m.Ranges) > 0 { + for _, msg := range m.Ranges { + dAtA[i] = 0x1a + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n + } } if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + i += copy(dAtA[i:], m.XXX_unrecognized) } - return n + return i, nil } -func (m *Request) Size() (n int) { +func (m *BatchRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BatchRequest) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i var l int _ = l if m.Context != nil { - l = m.Context.Size() - n += 1 + l + sovCoprocessor(uint64(l)) + dAtA[i] = 0xa + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.Context.Size())) + n8, err := m.Context.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n8 } if m.Tp != 0 { - n += 1 + sovCoprocessor(uint64(m.Tp)) + dAtA[i] = 0x10 + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.Tp)) } - l = len(m.Data) - if l > 0 { - n += 1 + l + sovCoprocessor(uint64(l)) + if len(m.Data) > 0 { + dAtA[i] = 0x1a + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(len(m.Data))) + i += copy(dAtA[i:], m.Data) } - if len(m.Ranges) > 0 { - for _, e := range m.Ranges { - l = e.Size() - n += 1 + l + sovCoprocessor(uint64(l)) + if len(m.Regions) > 0 { + for _, msg := range m.Regions { + dAtA[i] = 0x22 + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(msg.Size())) + n, err := msg.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n } } - if m.IsCacheEnabled { - n += 2 - } - if m.CacheIfMatchVersion != 0 { - n += 1 + sovCoprocessor(uint64(m.CacheIfMatchVersion)) - } if m.StartTs != 0 { - n += 1 + sovCoprocessor(uint64(m.StartTs)) + dAtA[i] = 0x28 + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.StartTs)) } if m.SchemaVer != 0 { - n += 1 + sovCoprocessor(uint64(m.SchemaVer)) + dAtA[i] = 0x30 + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.SchemaVer)) } if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) + i += copy(dAtA[i:], m.XXX_unrecognized) } - return n + return i, nil } -func (m *Response) Size() (n int) { +func (m *BatchResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BatchResponse) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.Data.Size())) + n9, err := m.Data.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n9 + if len(m.OtherError) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(len(m.OtherError))) + i += copy(dAtA[i:], m.OtherError) + } + if m.ExecDetails != nil { + dAtA[i] = 0x1a + i++ + i = encodeVarintCoprocessor(dAtA, i, uint64(m.ExecDetails.Size())) + n10, err := m.ExecDetails.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n10 + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func encodeVarintCoprocessor(dAtA []byte, offset int, v uint64) int { + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return offset + 1 +} +func (m *KeyRange) Size() (n int) { + var l int + _ = l + l = len(m.Start) + if l > 0 { + n += 1 + l + sovCoprocessor(uint64(l)) + } + l = len(m.End) + if l > 0 { + n += 1 + l + sovCoprocessor(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Request) Size() (n int) { + var l int + _ = l + if m.Context != nil { + l = m.Context.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + } + if m.Tp != 0 { + n += 1 + sovCoprocessor(uint64(m.Tp)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovCoprocessor(uint64(l)) + } + if len(m.Ranges) > 0 { + for _, e := range m.Ranges { + l = e.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + } + } + if m.IsCacheEnabled { + n += 2 + } + if m.CacheIfMatchVersion != 0 { + n += 1 + sovCoprocessor(uint64(m.CacheIfMatchVersion)) + } + if m.StartTs != 0 { + n += 1 + sovCoprocessor(uint64(m.StartTs)) + } + if m.SchemaVer != 0 { + n += 1 + sovCoprocessor(uint64(m.SchemaVer)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Response) Size() (n int) { var l int _ = l l = m.Data.Size() @@ -617,6 +986,79 @@ func (m *Response) Size() (n int) { return n } +func (m *RegionInfo) Size() (n int) { + var l int + _ = l + if m.RegionId != 0 { + n += 1 + sovCoprocessor(uint64(m.RegionId)) + } + if m.RegionEpoch != nil { + l = m.RegionEpoch.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + } + if len(m.Ranges) > 0 { + for _, e := range m.Ranges { + l = e.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *BatchRequest) Size() (n int) { + var l int + _ = l + if m.Context != nil { + l = m.Context.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + } + if m.Tp != 0 { + n += 1 + sovCoprocessor(uint64(m.Tp)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovCoprocessor(uint64(l)) + } + if len(m.Regions) > 0 { + for _, e := range m.Regions { + l = e.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + } + } + if m.StartTs != 0 { + n += 1 + sovCoprocessor(uint64(m.StartTs)) + } + if m.SchemaVer != 0 { + n += 1 + sovCoprocessor(uint64(m.SchemaVer)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *BatchResponse) Size() (n int) { + var l int + _ = l + l = m.Data.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + l = len(m.OtherError) + if l > 0 { + n += 1 + l + sovCoprocessor(uint64(l)) + } + if m.ExecDetails != nil { + l = m.ExecDetails.Size() + n += 1 + l + sovCoprocessor(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + func sovCoprocessor(x uint64) (n int) { for { n++ @@ -1286,17 +1728,18 @@ func (m *Response) Unmarshal(dAtA []byte) error { } return nil } -func skipCoprocessor(dAtA []byte) (n int, err error) { +func (m *RegionInfo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { + preIndex := iNdEx var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowCoprocessor + return ErrIntOverflowCoprocessor } if iNdEx >= l { - return 0, io.ErrUnexpectedEOF + return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ @@ -1305,84 +1748,563 @@ func skipCoprocessor(dAtA []byte) (n int, err error) { break } } + fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) - switch wireType { - case 0: + if wireType == 4 { + return fmt.Errorf("proto: RegionInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RegionInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) + } + m.RegionId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowCoprocessor + return ErrIntOverflowCoprocessor } if iNdEx >= l { - return 0, io.ErrUnexpectedEOF + return io.ErrUnexpectedEOF } + b := dAtA[iNdEx] iNdEx++ - if dAtA[iNdEx-1] < 0x80 { + m.RegionId |= (uint64(b) & 0x7F) << shift + if b < 0x80 { break } } - return iNdEx, nil - case 1: - iNdEx += 8 - return iNdEx, nil case 2: - var length int + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RegionEpoch", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowCoprocessor + return ErrIntOverflowCoprocessor } if iNdEx >= l { - return 0, io.ErrUnexpectedEOF + return io.ErrUnexpectedEOF } b := dAtA[iNdEx] iNdEx++ - length |= (int(b) & 0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } } - iNdEx += length - if length < 0 { - return 0, ErrInvalidLengthCoprocessor + if msglen < 0 { + return ErrInvalidLengthCoprocessor } - return iNdEx, nil + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RegionEpoch == nil { + m.RegionEpoch = &metapb.RegionEpoch{} + } + if err := m.RegionEpoch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 3: - for { - var innerWire uint64 - var start int = iNdEx - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowCoprocessor - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - innerWire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor } - innerWireType := int(innerWire & 0x7) - if innerWireType == 4 { - break + if iNdEx >= l { + return io.ErrUnexpectedEOF } - next, err := skipCoprocessor(dAtA[start:]) - if err != nil { - return 0, err + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break } - iNdEx = start + next } - return iNdEx, nil - case 4: - return iNdEx, nil - case 5: - iNdEx += 4 - return iNdEx, nil - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - } + if msglen < 0 { + return ErrInvalidLengthCoprocessor + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ranges = append(m.Ranges, &KeyRange{}) + if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCoprocessor(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCoprocessor + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BatchRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BatchRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BatchRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCoprocessor + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Context == nil { + m.Context = &kvrpcpb.Context{} + } + if err := m.Context.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Tp", wireType) + } + m.Tp = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Tp |= (int64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCoprocessor + } + postIndex := iNdEx + byteLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCoprocessor + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Regions = append(m.Regions, &RegionInfo{}) + if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTs", wireType) + } + m.StartTs = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartTs |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SchemaVer", wireType) + } + m.SchemaVer = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SchemaVer |= (int64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipCoprocessor(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCoprocessor + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BatchResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BatchResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BatchResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCoprocessor + } + postIndex := iNdEx + byteLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OtherError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCoprocessor + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OtherError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecDetails", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCoprocessor + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecDetails == nil { + m.ExecDetails = &kvrpcpb.ExecDetails{} + } + if err := m.ExecDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCoprocessor(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCoprocessor + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipCoprocessor(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + return iNdEx, nil + case 1: + iNdEx += 8 + return iNdEx, nil + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + iNdEx += length + if length < 0 { + return 0, ErrInvalidLengthCoprocessor + } + return iNdEx, nil + case 3: + for { + var innerWire uint64 + var start int = iNdEx + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCoprocessor + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + innerWire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + innerWireType := int(innerWire & 0x7) + if innerWireType == 4 { + break + } + next, err := skipCoprocessor(dAtA[start:]) + if err != nil { + return 0, err + } + iNdEx = start + next + } + return iNdEx, nil + case 4: + return iNdEx, nil + case 5: + iNdEx += 4 + return iNdEx, nil + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + } panic("unreachable") } @@ -1391,45 +2313,53 @@ var ( ErrIntOverflowCoprocessor = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("coprocessor.proto", fileDescriptor_coprocessor_dd6f753d38264f26) } - -var fileDescriptor_coprocessor_dd6f753d38264f26 = []byte{ - // 587 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x52, 0x4d, 0x6f, 0xd3, 0x4a, - 0x14, 0xad, 0x93, 0x34, 0x71, 0xaf, 0xd3, 0xbe, 0x74, 0x5e, 0xdf, 0x93, 0x5f, 0xa5, 0x97, 0x46, - 0x59, 0xa0, 0xf0, 0xe5, 0x88, 0x54, 0x82, 0x1d, 0x8b, 0x94, 0x4a, 0x54, 0x94, 0xcd, 0x80, 0xba, - 0xb5, 0x26, 0xe3, 0x5b, 0xdb, 0x4a, 0xea, 0x31, 0x33, 0xd3, 0xa8, 0xfd, 0x27, 0x6c, 0xd9, 0xf1, - 0x0f, 0x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 0xb0, - 0x03, 0x08, 0x94, 0xcd, 0x50, 0xd7, 0xe6, 0xad, 0x81, 0x37, 0xda, 0xe2, 0x40, 0x90, 0xf3, 0x7a, - 0x0c, 0x9b, 0x54, 0x01, 0xa5, 0xfd, 0xc7, 0x9a, 0x9c, 0x86, 0xbd, 0x80, 0x2e, 0x5e, 0xa1, 0x8c, - 0x13, 0xb4, 0x22, 0x5f, 0x18, 0x4a, 0x3c, 0x98, 0xec, 0xad, 0xff, 0xfe, 0xf8, 0x0a, 0xe5, 0x2b, - 0xc7, 0xf1, 0x00, 0x7f, 0x2f, 0x6c, 0x00, 0xdd, 0x75, 0xbd, 0x59, 0x6e, 0xa9, 0x03, 0x9f, 0x43, - 0x5d, 0xed, 0xeb, 0xdc, 0xb2, 0x27, 0xc0, 0x1c, 0xbd, 0x10, 0xc6, 0xae, 0x2b, 0xf5, 0xa9, 0xab, - 0x1e, 0x31, 0xa7, 0xc2, 0xd8, 0x55, 0x9f, 0x43, 0xd8, 0x96, 0xa2, 0x88, 0x67, 0xe8, 0x3c, 0x93, - 0x70, 0x8b, 0x0c, 0x03, 0x29, 0x8a, 0x29, 0x92, 0x67, 0x32, 0x7d, 0xf0, 0xed, 0xb3, 0xef, 0xdd, - 0xdc, 0xf5, 0xbd, 0xaf, 0x77, 0x7d, 0xef, 0xc7, 0x5d, 0xdf, 0xfb, 0xf8, 0xb3, 0xbf, 0x01, 0x3d, - 0xa5, 0xd3, 0xc8, 0xe6, 0xf3, 0x65, 0x54, 0x57, 0x34, 0x6b, 0xd3, 0xe7, 0xf0, 0x57, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x4d, 0xb3, 0x7b, 0x49, 0xa7, 0x03, 0x00, 0x00, +func init() { proto.RegisterFile("coprocessor.proto", fileDescriptor_coprocessor_bc259b8e05617443) } + +var fileDescriptor_coprocessor_bc259b8e05617443 = []byte{ + // 708 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00,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 0x90, 0x92, 0x74, 0x30, 0x5d, 0x18, 0x01, 0xd3, 0x69, 0x38, 0x90, + 0x11, 0x11, 0x2c, 0x98, 0x9c, 0x2a, 0x26, 0xbd, 0x97, 0x3a, 0x1e, 0x65, 0x71, 0x4e, 0xd4, 0x36, + 0x34, 0x05, 0x0b, 0x63, 0x9e, 0xf8, 0xda, 0x14, 0x9a, 0x56, 0x67, 0xb8, 0xea, 0x15, 0x16, 0x19, + 0x67, 0xbf, 0xd8, 0x31, 0x3d, 0x3a, 0x41, 0xf7, 0xa0, 0x36, 0xe3, 0x74, 0xca, 0x02, 0xcd, 0xb8, + 0x33, 0x5c, 0x5b, 0x4a, 0x75, 0xc0, 0xe9, 0x74, 0x3f, 0x39, 0xe2, 0x38, 0x6f, 0x40, 0x5b, 0xe0, + 0x70, 0x15, 0x31, 0x91, 0x0f, 0xaf, 0x74, 0xad, 0x7e, 0x03, 0x83, 0x86, 0xcc, 0xac, 0x07, 0x50, + 0xd5, 0x12, 0x68, 0xb6, 0x7f, 0x29, 0x93, 0xe9, 0x41, 0x8f, 0xa1, 0xc9, 0x4e, 0x18, 0xf5, 0x03, + 0xa6, 0x48, 0x3c, 0x93, 0x9a, 0x71, 0x67, 0xb8, 0xb1, 0xfc, 0xfb, 0xf1, 0x09, 0xa3, 0x4f, 0x4d, + 0x0d, 0x3b, 0xec, 0x32, 0x41, 0x5d, 0x68, 0x2e, 0xe5, 0x8d, 0x62, 0xa5, 0x35, 0xb0, 0x31, 0xe4, + 0xd2, 0x3e, 0x8b, 0x15, 0x7a, 0x08, 0xc8, 0x94, 0x67, 0x44, 0xaa, 0xa5, 0xa4, 0xb6, 0xd6, 0xaa, + 0xad, 0x2b, 0x07, 0x44, 0xaa, 0x42, 0xcf, 0x1e, 0xb4, 0x28, 0x49, 0xfc, 0x09, 0x33, 0x33, 0x03, + 0xb7, 0xa1, 0x07, 0x3a, 0x94, 0x24, 0x23, 0xa6, 0x67, 0x06, 0xbd, 0x37, 0x16, 0x00, 0xd6, 0xac, + 0x65, 0x8c, 0xa0, 0x7f, 0xa1, 0x91, 0xf3, 0x1c, 0x07, 0x5a, 0xc0, 0x0a, 0xb6, 0x0d, 0xb0, 0x1f, + 0xa0, 0xdd, 0x4b, 0x11, 0x52, 0x4e, 0xa3, 0x5c, 0x84, 0x75, 0x2f, 0x3f, 0x31, 0x33, 0x66, 0x9c, + 0x95, 0x96, 0x4a, 0x64, 0xc9, 0x15, 0x97, 0x97, 0x6f, 0xe1, 0xf2, 0xde, 0x27, 0x0b, 0x9a, 0xa3, + 0xcc, 0x97, 0x77, 0x75, 0x75, 0xdb, 0x50, 0x37, 0xeb, 0x15, 0x67, 0xf7, 0xf7, 0xb5, 0x85, 0x2e, + 0xe9, 0xc0, 0x45, 0xdf, 0xb5, 0xd3, 0xa8, 0xfe, 0xee, 0x34, 0x6a, 0x37, 0x4f, 0xe3, 0xa3, 0x05, + 0xad, 0xfc, 0x35, 0x77, 0x78, 0x1f, 0x37, 0x1c, 0x5c, 0xfa, 0xc9, 0xc1, 0x37, 0x4d, 0x59, 0xbe, + 0xa5, 0x29, 0x47, 0xff, 0x7f, 0x79, 0x6f, 0x5b, 0x67, 0x17, 0x1d, 0xeb, 0xf3, 0x45, 0xc7, 0xfa, + 0x76, 0xd1, 0xb1, 0xde, 0x7e, 0xef, 0xac, 0x40, 0x9b, 0x8b, 0xd0, 0x53, 0xf1, 0x74, 0xe1, 0xe5, + 0x3b, 0x4e, 0x6a, 0xfa, 0x67, 0xe7, 0x47, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9a, 0xf1, 0x47, 0xb2, + 0xd6, 0x05, 0x00, 0x00, } diff --git a/pkg/tikvpb/tikvpb.pb.go b/pkg/tikvpb/tikvpb.pb.go index 127c9bd69..9497c44bc 100644 --- a/pkg/tikvpb/tikvpb.pb.go +++ b/pkg/tikvpb/tikvpb.pb.go @@ -46,7 +46,7 @@ func (m *BatchCommandsRequest) Reset() { *m = BatchCommandsRequest{} } func (m *BatchCommandsRequest) String() string { return proto.CompactTextString(m) } func (*BatchCommandsRequest) ProtoMessage() {} func (*BatchCommandsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_tikvpb_c29457cf83ba741e, []int{0} + return fileDescriptor_tikvpb_90bf9910f92409ea, []int{0} } func (m *BatchCommandsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -128,7 +128,7 @@ func (m *BatchCommandsRequest_Request) Reset() { *m = BatchCommandsReque func (m *BatchCommandsRequest_Request) String() string { return proto.CompactTextString(m) } func (*BatchCommandsRequest_Request) ProtoMessage() {} func (*BatchCommandsRequest_Request) Descriptor() ([]byte, []int) { - return fileDescriptor_tikvpb_c29457cf83ba741e, []int{0, 0} + return fileDescriptor_tikvpb_90bf9910f92409ea, []int{0, 0} } func (m *BatchCommandsRequest_Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1032,7 +1032,7 @@ func (m *BatchCommandsResponse) Reset() { *m = BatchCommandsResponse{} } func (m *BatchCommandsResponse) String() string { return proto.CompactTextString(m) } func (*BatchCommandsResponse) ProtoMessage() {} func (*BatchCommandsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_tikvpb_c29457cf83ba741e, []int{1} + return fileDescriptor_tikvpb_90bf9910f92409ea, []int{1} } func (m *BatchCommandsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1121,7 +1121,7 @@ func (m *BatchCommandsResponse_Response) Reset() { *m = BatchCommandsRes func (m *BatchCommandsResponse_Response) String() string { return proto.CompactTextString(m) } func (*BatchCommandsResponse_Response) ProtoMessage() {} func (*BatchCommandsResponse_Response) Descriptor() ([]byte, []int) { - return fileDescriptor_tikvpb_c29457cf83ba741e, []int{1, 0} + return fileDescriptor_tikvpb_90bf9910f92409ea, []int{1, 0} } func (m *BatchCommandsResponse_Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2022,7 +2022,7 @@ func (m *BatchRaftMessage) Reset() { *m = BatchRaftMessage{} } func (m *BatchRaftMessage) String() string { return proto.CompactTextString(m) } func (*BatchRaftMessage) ProtoMessage() {} func (*BatchRaftMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_tikvpb_c29457cf83ba741e, []int{2} + return fileDescriptor_tikvpb_90bf9910f92409ea, []int{2} } func (m *BatchRaftMessage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2072,7 +2072,7 @@ func (m *BatchCommandsEmptyRequest) Reset() { *m = BatchCommandsEmptyReq func (m *BatchCommandsEmptyRequest) String() string { return proto.CompactTextString(m) } func (*BatchCommandsEmptyRequest) ProtoMessage() {} func (*BatchCommandsEmptyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_tikvpb_c29457cf83ba741e, []int{3} + return fileDescriptor_tikvpb_90bf9910f92409ea, []int{3} } func (m *BatchCommandsEmptyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2127,7 +2127,7 @@ func (m *BatchCommandsEmptyResponse) Reset() { *m = BatchCommandsEmptyRe func (m *BatchCommandsEmptyResponse) String() string { return proto.CompactTextString(m) } func (*BatchCommandsEmptyResponse) ProtoMessage() {} func (*BatchCommandsEmptyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_tikvpb_c29457cf83ba741e, []int{4} + return fileDescriptor_tikvpb_90bf9910f92409ea, []int{4} } func (m *BatchCommandsEmptyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2220,6 +2220,7 @@ type TikvClient interface { // SQL push down commands. Coprocessor(ctx context.Context, in *coprocessor.Request, opts ...grpc.CallOption) (*coprocessor.Response, error) CoprocessorStream(ctx context.Context, in *coprocessor.Request, opts ...grpc.CallOption) (Tikv_CoprocessorStreamClient, error) + BatchCoprocessor(ctx context.Context, in *coprocessor.BatchRequest, opts ...grpc.CallOption) (Tikv_BatchCoprocessorClient, error) // Raft commands (tikv <-> tikv). Raft(ctx context.Context, opts ...grpc.CallOption) (Tikv_RaftClient, error) BatchRaft(ctx context.Context, opts ...grpc.CallOption) (Tikv_BatchRaftClient, error) @@ -2552,8 +2553,40 @@ func (x *tikvCoprocessorStreamClient) Recv() (*coprocessor.Response, error) { return m, nil } +func (c *tikvClient) BatchCoprocessor(ctx context.Context, in *coprocessor.BatchRequest, opts ...grpc.CallOption) (Tikv_BatchCoprocessorClient, error) { + stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[1], "/tikvpb.Tikv/BatchCoprocessor", opts...) + if err != nil { + return nil, err + } + x := &tikvBatchCoprocessorClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type Tikv_BatchCoprocessorClient interface { + Recv() (*coprocessor.BatchResponse, error) + grpc.ClientStream +} + +type tikvBatchCoprocessorClient struct { + grpc.ClientStream +} + +func (x *tikvBatchCoprocessorClient) Recv() (*coprocessor.BatchResponse, error) { + m := new(coprocessor.BatchResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + func (c *tikvClient) Raft(ctx context.Context, opts ...grpc.CallOption) (Tikv_RaftClient, error) { - stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[1], "/tikvpb.Tikv/Raft", opts...) + stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[2], "/tikvpb.Tikv/Raft", opts...) if err != nil { return nil, err } @@ -2587,7 +2620,7 @@ func (x *tikvRaftClient) CloseAndRecv() (*raft_serverpb.Done, error) { } func (c *tikvClient) BatchRaft(ctx context.Context, opts ...grpc.CallOption) (Tikv_BatchRaftClient, error) { - stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[2], "/tikvpb.Tikv/BatchRaft", opts...) + stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[3], "/tikvpb.Tikv/BatchRaft", opts...) if err != nil { return nil, err } @@ -2621,7 +2654,7 @@ func (x *tikvBatchRaftClient) CloseAndRecv() (*raft_serverpb.Done, error) { } func (c *tikvClient) Snapshot(ctx context.Context, opts ...grpc.CallOption) (Tikv_SnapshotClient, error) { - stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[3], "/tikvpb.Tikv/Snapshot", opts...) + stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[4], "/tikvpb.Tikv/Snapshot", opts...) if err != nil { return nil, err } @@ -2691,7 +2724,7 @@ func (c *tikvClient) MvccGetByStartTs(ctx context.Context, in *kvrpcpb.MvccGetBy } func (c *tikvClient) BatchCommands(ctx context.Context, opts ...grpc.CallOption) (Tikv_BatchCommandsClient, error) { - stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[4], "/tikvpb.Tikv/BatchCommands", opts...) + stream, err := c.cc.NewStream(ctx, &_Tikv_serviceDesc.Streams[5], "/tikvpb.Tikv/BatchCommands", opts...) if err != nil { return nil, err } @@ -2760,6 +2793,7 @@ type TikvServer interface { // SQL push down commands. Coprocessor(context.Context, *coprocessor.Request) (*coprocessor.Response, error) CoprocessorStream(*coprocessor.Request, Tikv_CoprocessorStreamServer) error + BatchCoprocessor(*coprocessor.BatchRequest, Tikv_BatchCoprocessorServer) error // Raft commands (tikv <-> tikv). Raft(Tikv_RaftServer) error BatchRaft(Tikv_BatchRaftServer) error @@ -3356,6 +3390,27 @@ func (x *tikvCoprocessorStreamServer) Send(m *coprocessor.Response) error { return x.ServerStream.SendMsg(m) } +func _Tikv_BatchCoprocessor_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(coprocessor.BatchRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(TikvServer).BatchCoprocessor(m, &tikvBatchCoprocessorServer{stream}) +} + +type Tikv_BatchCoprocessorServer interface { + Send(*coprocessor.BatchResponse) error + grpc.ServerStream +} + +type tikvBatchCoprocessorServer struct { + grpc.ServerStream +} + +func (x *tikvBatchCoprocessorServer) Send(m *coprocessor.BatchResponse) error { + return x.ServerStream.SendMsg(m) +} + func _Tikv_Raft_Handler(srv interface{}, stream grpc.ServerStream) error { return srv.(TikvServer).Raft(&tikvRaftServer{stream}) } @@ -3683,6 +3738,11 @@ var _Tikv_serviceDesc = grpc.ServiceDesc{ Handler: _Tikv_CoprocessorStream_Handler, ServerStreams: true, }, + { + StreamName: "BatchCoprocessor", + Handler: _Tikv_BatchCoprocessor_Handler, + ServerStreams: true, + }, { StreamName: "Raft", Handler: _Tikv_Raft_Handler, @@ -7867,123 +7927,124 @@ var ( ErrIntOverflowTikvpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("tikvpb.proto", fileDescriptor_tikvpb_c29457cf83ba741e) } - -var fileDescriptor_tikvpb_c29457cf83ba741e = []byte{ - // 1834 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x99, 0x5d, 0x72, 0xdb, 0xb6, - 0x16, 0xc7, 0x29, 0x5b, 0xfe, 0x82, 0xbf, 0x61, 0x3b, 0xa2, 0x71, 0xfd, 0x15, 0xc6, 0xc9, 0xf5, - 0xdc, 0x3b, 0xa3, 0x6b, 0x27, 0xb9, 0x75, 0x93, 0xb4, 0xa9, 0x6b, 0x39, 0x75, 0x1c, 0x39, 0x13, - 0x0f, 0xe5, 0xb4, 0xe9, 0x4c, 0x67, 0x3c, 0xb4, 0x84, 0xc8, 0x1a, 0x7d, 0x50, 0x25, 0x29, 0x3a, - 0x5e, 0x42, 0x77, 0xd0, 0x25, 0x74, 0x11, 0x5d, 0x40, 0x1f, 0xfb, 0xd4, 0xe9, 0x63, 0x27, 0x7d, - 0xea, 0x43, 0xd7, 0xd0, 0x0e, 0x40, 0x12, 0x04, 0x40, 0x80, 0x4a, 0x9f, 0xc2, 0x9c, 0x73, 0xfe, - 0xe7, 0x00, 0x20, 0x88, 0xdf, 0x11, 0x0c, 0x66, 0x82, 0x56, 0x3b, 0xec, 0x5f, 0x96, 0xfb, 0x9e, - 0x1b, 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 0x4e, 0xa6, 0x92, 0x18, 0x94, - 0x0f, 0x65, 0x50, 0x9a, 0x59, 0x50, 0x32, 0x11, 0x23, 0xe5, 0x7e, 0x86, 0x94, 0xab, 0x0a, 0x52, - 0xa6, 0x93, 0x62, 0x07, 0xf2, 0x17, 0x6a, 0x54, 0x6e, 0xe8, 0x50, 0xc9, 0x52, 0x48, 0xac, 0xdc, - 0xcf, 0xb0, 0x72, 0x55, 0xc1, 0xca, 0x74, 0x00, 0x0c, 0x96, 0x07, 0x2a, 0x58, 0xae, 0xa9, 0x61, - 0xc9, 0xe4, 0x02, 0x2d, 0xef, 0x72, 0xb4, 0x5c, 0x12, 0x68, 0xc9, 0xe2, 0x09, 0x2e, 0x0f, 0x54, - 0xb8, 0x5c, 0x53, 0xe3, 0x32, 0x2d, 0xc4, 0x9f, 0xa2, 0x7b, 0x12, 0x2f, 0x4b, 0x19, 0x5e, 0xa6, - 0x6f, 0x33, 0x06, 0xe6, 0x81, 0x0a, 0x98, 0x6b, 0x6a, 0x60, 0x72, 0xb3, 0xe3, 0x88, 0xb9, 0x27, - 0x11, 0xb3, 0x94, 0x21, 0xa6, 0x50, 0x94, 0x10, 0xef, 0x40, 0x85, 0xcc, 0x35, 0x35, 0x32, 0xb3, - 0x45, 0x49, 0x86, 0xc7, 0x59, 0x66, 0x22, 0x15, 0x33, 0x99, 0x9a, 0x83, 0xe6, 0x89, 0x06, 0x9a, - 0x9b, 0x5a, 0x68, 0xb2, 0x2c, 0x32, 0x35, 0x1f, 0xca, 0xd4, 0x34, 0xb3, 0xd4, 0x4c, 0xbf, 0x85, - 0x04, 0x9b, 0x27, 0x1a, 0x6c, 0x6e, 0x6a, 0xb1, 0x29, 0x0c, 0x80, 0x7f, 0xe3, 0x15, 0x25, 0x37, - 0xd7, 0x35, 0xdc, 0x64, 0x69, 0x44, 0x70, 0x3e, 0x52, 0x81, 0x73, 0x45, 0x02, 0x67, 0xfa, 0x1e, - 0x78, 0x72, 0x9e, 0xea, 0xc8, 0xb9, 0xa5, 0x27, 0x27, 0xcb, 0x94, 0x41, 0xe7, 0x9b, 0x3c, 0x74, - 0x6e, 0xe7, 0xa3, 0x93, 0x65, 0x55, 0xb2, 0xf3, 0x44, 0xc3, 0xce, 0x4d, 0x2d, 0x3b, 0xd3, 0x25, - 0x97, 0xe0, 0x59, 0x51, 0xc2, 0x73, 0x5d, 0x03, 0xcf, 0x74, 0xc9, 0x05, 0x7a, 0x3e, 0x91, 0xe8, - 0x69, 0xe5, 0xd1, 0x93, 0xe5, 0x10, 0xf1, 0x79, 0x08, 0x16, 0xa2, 0x23, 0xce, 0x79, 0x1b, 0xbc, - 0xc4, 0xbe, 0xef, 0x34, 0x31, 0x2c, 0x83, 0x62, 0xd7, 0x6f, 0x26, 0xcc, 0x44, 0x65, 0xf1, 0x97, - 0x28, 0x17, 0x69, 0xd3, 0x38, 0xab, 0x06, 0x56, 0xb5, 0xbc, 0x86, 0x25, 0x30, 0x11, 0x44, 0xf0, - 0xa4, 0x8c, 0x2b, 0xda, 0xe3, 0x01, 0x05, 0x27, 0x5c, 0x07, 0xa0, 0x81, 0x3b, 0xce, 0xcd, 0x45, - 0xd0, 0xea, 0x62, 0x0a, 0xb5, 0xa2, 0x3d, 0x45, 0x2d, 0xe7, 0xad, 0x2e, 0xb6, 0xfe, 0x0f, 0x90, - 0x7e, 0x1a, 0xda, 0xac, 0xf7, 0x7f, 0x29, 0x81, 0xe2, 0x79, 0xab, 0x1d, 0xc2, 0x87, 0x60, 0xac, - 0x1a, 0x92, 0xa3, 0x45, 0xf5, 0xbb, 0x13, 0x29, 0x41, 0x6b, 0x19, 0x70, 0x1f, 0x8c, 0x57, 0x43, - 0xba, 0x9f, 0x95, 0x3f, 0x42, 0x91, 0x9a, 0xba, 0x96, 0x01, 0x2b, 0x00, 0x54, 0x43, 0x06, 0x51, - 0xed, 0x2f, 0x52, 0xa4, 0xa7, 0xb0, 0x65, 0xc0, 0x37, 0x60, 0xb1, 0x1a, 0xca, 0xfb,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f, 0xd9, - 0x08, 0xae, 0xb5, 0x98, 0x15, 0x7a, 0x77, 0xb8, 0x96, 0xf7, 0x57, 0x26, 0xb4, 0x9e, 0x7b, 0x2b, - 0x47, 0xde, 0xc6, 0x6e, 0xe1, 0xf0, 0xde, 0xaf, 0x3f, 0x4c, 0x16, 0x7e, 0x7a, 0xbf, 0x51, 0xf8, - 0xf9, 0xfd, 0x46, 0xe1, 0xb7, 0xf7, 0x1b, 0x85, 0xef, 0x7f, 0xdf, 0x30, 0xc0, 0x82, 0xeb, 0x35, - 0xa9, 0xba, 0xdc, 0x0e, 0xe9, 0xdf, 0xbe, 0x2e, 0xc7, 0xe9, 0x3f, 0x0f, 0xfe, 0x0e, 0x00, 0x00, - 0xff, 0xff, 0x3e, 0x7a, 0x87, 0xc5, 0x78, 0x1b, 0x00, 0x00, +func init() { proto.RegisterFile("tikvpb.proto", fileDescriptor_tikvpb_90bf9910f92409ea) } + +var fileDescriptor_tikvpb_90bf9910f92409ea = []byte{ + // 1848 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x99, 0xdb, 0x72, 0xdc, 0xb4, + 0x1f, 0xc7, 0xbd, 0xc9, 0xe6, 0xa4, 0x9c, 0x95, 0xa4, 0x71, 0xf4, 0xcf, 0xa9, 0x6e, 0xda, 0x7f, + 0x06, 0x66, 0x96, 0xa4, 0x2d, 0x84, 0xb6, 0x50, 0x42, 0x36, 0x25, 0x4d, 0x37, 0x99, 0x66, 0xbc, + 0x29, 0x94, 0x19, 0x66, 0x32, 0xce, 0xae, 0xba, 0xd9, 0xd9, 0x83, 0x17, 0xdb, 0xeb, 0x34, 0x8f, + 0xc0, 0x1b, 0xf0, 0x02, 0xcc, 0xf0, 0x10, 0x3c, 0x00, 0x97, 0x5c, 0x72, 0xc9, 0x94, 0x2b, 0x2e, + 0x78, 0x06, 0x18, 0xc9, 0xb6, 0x2c, 0xc9, 0x92,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 0xb9, 0x24, 0x41, + 0x92, 0xf9, 0x46, 0x94, 0xdc, 0xcb, 0x50, 0x72, 0x45, 0x41, 0x49, 0x16, 0x94, 0x62, 0x72, 0x57, + 0xc2, 0xe4, 0x72, 0x06, 0x93, 0x2c, 0x28, 0xe1, 0xe4, 0xae, 0xc4, 0xc9, 0xe5, 0x0c, 0x27, 0xd3, + 0x90, 0x18, 0x94, 0x0f, 0x65, 0x50, 0x9a, 0x59, 0x50, 0xb2, 0x20, 0x46, 0xca, 0xbd, 0x0c, 0x29, + 0x57, 0x14, 0xa4, 0x4c, 0x07, 0xc5, 0x0e, 0xe4, 0xaf, 0xd4, 0xa8, 0x5c, 0xd7, 0xa1, 0x92, 0xa5, + 0x90, 0x58, 0xb9, 0x97, 0x61, 0xe5, 0x8a, 0x82, 0x95, 0x69, 0x07, 0x18, 0x2c, 0xf7, 0x55, 0xb0, + 0x5c, 0x55, 0xc3, 0x92, 0x85, 0x0b, 0xb4, 0xbc, 0xcb, 0xd1, 0x72, 0x41, 0xa0, 0x25, 0xf3, 0x27, + 0xb8, 0xdc, 0x57, 0xe1, 0x72, 0x55, 0x8d, 0xcb, 0xb4, 0x10, 0x7f, 0x8a, 0xee, 0x4a, 0xbc, 0x5c, + 0xce, 0xf0, 0x32, 0x7d, 0x9b, 0x31, 0x30, 0xf7, 0x55, 0xc0, 0x5c, 0x55, 0x03, 0x93, 0x1b, 0x1d, + 0x47, 0xcc, 0x5d, 0x89, 0x98, 0xcb, 0x19, 0x62, 0x0a, 0x45, 0x09, 0xf1, 0xf6, 0x55, 0xc8, 0x5c, + 0x55, 0x23, 0x33, 0x5b, 0x94, 0x64, 0x78, 0x9c, 0x65, 0x26, 0x52, 0x31, 0x93, 0x45, 0x73, 0xd0, + 0x3c, 0xd6, 0x40, 0x73, 0x43, 0x0b, 0x4d, 0x96, 0x45, 0xa6, 0xe6, 0x43, 0x99, 0x9a, 0x66, 0x96, + 0x9a, 0xe9, 0x5e, 0x48, 0xb0, 0x79, 0xac, 0xc1, 0xe6, 0x86, 0x16, 0x9b, 0x42, 0x07, 0xf8, 0x37, + 0x5e, 0x56, 0x72, 0x73, 0x4d, 0xc3, 0x4d, 0x96, 0x46, 0x04, 0xe7, 0x23, 0x15, 0x38, 0x97, 0x24, + 0x70, 0xa6, 0xef, 0x81, 0x27, 0xe7, 0x89, 0x8e, 0x9c, 0x9b, 0x7a, 0x72, 0xb2, 0x4c, 0x19, 0x74, + 0xbe, 0xce, 0x43, 0xe7, 0x56, 0x3e, 0x3a, 0x59, 0x56, 0x25, 0x3b, 0x8f, 0x35, 0xec, 0xdc, 0xd0, + 0xb2, 0x33, 0x9d, 0x72, 0x09, 0x9e, 0x65, 0x25, 0x3c, 0xd7, 0x34, 0xf0, 0x4c, 0xa7, 0x5c, 0xa0, + 0xe7, 0x13, 0x89, 0x9e, 0x56, 0x1e, 0x3d, 0x59, 0x0e, 0x11, 0x9f, 0x07, 0x60, 0x2e, 0x3a, 0xe2, + 0x9c, 0x37, 0xc1, 0x29, 0xf6, 0x7d, 0xa7, 0x81, 0x61, 0x09, 0x14, 0x3b, 0x7e, 0x23, 0x61, 0x26, + 0x2a, 0x89, 0x5f, 0xa2, 0x9c, 0xa7, 0x4d, 0xfd, 0xac, 0x2a, 0x58, 0xd1, 0xf2, 0x1a, 0x2e, 0x83, + 0xb1, 0x20, 0x82, 0x27, 0x65, 0x5c, 0xd1, 0x1e, 0x0d, 0x28, 0x38, 0xe1, 0x1a, 0x00, 0x75, 0xdc, + 0x76, 0x6e, 0x2e, 0x82, 0x66, 0x07, 0x53, 0xa8, 0x15, 0xed, 0x09, 0xda, 0x72, 0xde, 0xec, 0x60, + 0xeb, 0x63, 0x80, 0xf4, 0xc3, 0xd0, 0x66, 0xbd, 0xff, 0x93, 0x09, 0x8a, 0xe7, 0xcd, 0x56, 0x08, + 0x1f, 0x82, 0x91, 0x4a, 0x48, 0x8e, 0x16, 0xd5, 0x77, 0x27, 0x52, 0x82, 0xd6, 0x32, 0xe0, 0x1e, + 0x18, 0xad, 0x84, 0x74, 0x3d, 0x2b, 0x3f, 0x42, 0x91, 0x9a, 0xba, 0x96, 0x01, 0xcb, 0x00, 0x54, + 0x42, 0x06, 0x51, 0xed, 0x17, 0x29, 0xd2, 0x53, 0xd8, 0x32, 0xe0, 0x6b, 0x30, 0x5f, 0x09, 0xe5, + 0xf5, 0x3c, 0x48, 0x3e, 0xa2, 0x81, 0xbb, 0xc4, 0x32, 0x60, 0x1d, 0x2c, 0x55, 0xbe, 0x56, 0xad, + 0xe9, 0xf7, 0xd1, 0x92, 0xe8, 0xbd, 0x76, 0x8d, 0x65, 0xc0, 0x97, 0x60, 0xa6, 0x12, 0x0a, 0x4b, + 0x34, 0x57, 0x0e, 0xa2, 0xfc, 0xf5, 0x6e, 0x19, 0xf0, 0x15, 0x98, 0xab, 0x84, 0xd2, 0xd6, 0x19, + 0xa0, 0x54, 0xd1, 0xa0, 0xdd, 0x68, 0x19, 0xf0, 0x73, 0x30, 0x5e, 0x09, 0x63, 0xf1, 0xa2, 0xb9, + 0x06, 0x40, 0x3a, 0xdd, 0x93, 0x84, 0xc7, 0x42, 0x46, 0x73, 0x27, 0x80, 0x74, 0x1a, 0xc8, 0x32, + 0xe0, 0x3e, 0x98, 0xa8, 0x84, 0x89, 0xa4, 0xd1, 0x5d, 0x10, 0x20, 0xad, 0x20, 0x4a, 0x16, 0x1b, + 0x63, 0xa7, 0xf6, 0xb6, 0x00, 0xe9, 0xd5, 0x91, 0x65, 0x40, 0x1b, 0xcc, 0xc6, 0x49, 0xd8, 0x62, + 0xc8, 0xbf, 0x3a, 0x40, 0x03, 0xe4, 0x52, 0xd2, 0x31, 0x26, 0x7a, 0xb4, 0xf7, 0x08, 0x48, 0xaf, + 0x9a, 0x2c, 0x03, 0x9e, 0x80, 0xe9, 0x4a, 0xc8, 0x4b, 0x9f, 0xbc, 0x4b, 0x05, 0x94, 0x2b, 0xa2, + 0x2c, 0x03, 0xee, 0x82, 0x62, 0x25, 0x3c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0xda, 0x14, 0xe7, 0x67, 0x6a, 0xe2, 0x4f, 0x95, 0xd3, 0xb0, 0x56, 0x3b, 0xc2, 0xc1, + 0xc1, 0x4d, 0x05, 0xdf, 0x70, 0xa7, 0x0a, 0xdf, 0x9c, 0x3d, 0x55, 0x44, 0x2b, 0xbf, 0x9c, 0x99, + 0xa5, 0x1a, 0x38, 0x5e, 0x70, 0xee, 0x73, 0xcb, 0x59, 0x36, 0x65, 0x97, 0x73, 0xd6, 0x83, 0x53, + 0x2a, 0xd3, 0xc2, 0xa7, 0x00, 0x5c, 0xcd, 0xfb, 0xd1, 0x0a, 0xad, 0xe5, 0x5e, 0xf2, 0x91, 0xb7, + 0xb1, 0x53, 0x38, 0xb8, 0xf7, 0xfb, 0xcf, 0xe3, 0x85, 0x5f, 0xdf, 0xad, 0x17, 0x7e, 0x7b, 0xb7, + 0x5e, 0xf8, 0xe3, 0xdd, 0x7a, 0xe1, 0xc7, 0x3f, 0xd7, 0x0d, 0x30, 0xe7, 0x7a, 0x0d, 0x1a, 0x5d, + 0x6a, 0x85, 0xf4, 0xa7, 0xb4, 0xcb, 0x51, 0xfa, 0xe7, 0xc1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x91, 0xcf, 0x54, 0x88, 0xc7, 0x1b, 0x00, 0x00, } diff --git a/proto/coprocessor.proto b/proto/coprocessor.proto index de7b719ca..71e46fb1b 100644 --- a/proto/coprocessor.proto +++ b/proto/coprocessor.proto @@ -5,6 +5,7 @@ import "errorpb.proto"; import "kvrpcpb.proto"; import "gogoproto/gogo.proto"; import "rustproto.proto"; +import "metapb.proto"; option (gogoproto.marshaler_all) = true; option (gogoproto.sizer_all) = true; @@ -47,3 +48,25 @@ message Response { uint64 cache_last_version = 8; bool can_be_cached = 9; } + +message RegionInfo { + uint64 region_id = 1; + metapb.RegionEpoch region_epoch = 2; + repeated KeyRange ranges = 3; +} + +message BatchRequest { + kvrpcpb.Context context = 1; + int64 tp = 2; + bytes data = 3; + repeated RegionInfo regions = 4; + uint64 start_ts = 5; + // Any schema-ful storage to validate schema correctness if necessary. + int64 schema_ver = 6; +} + +message BatchResponse { + bytes data = 1 [(gogoproto.customtype) = "github.com/pingcap/kvproto/pkg/sharedbytes.SharedBytes", (gogoproto.nullable) = false]; + string other_error = 2; + kvrpcpb.ExecDetails exec_details = 3; +} diff --git a/proto/tikvpb.proto b/proto/tikvpb.proto index 798b25762..3ca0172a3 100644 --- a/proto/tikvpb.proto +++ b/proto/tikvpb.proto @@ -56,6 +56,7 @@ service Tikv { // SQL push down commands. rpc Coprocessor(coprocessor.Request) returns (coprocessor.Response) {} rpc CoprocessorStream(coprocessor.Request) returns (stream coprocessor.Response) {} + rpc BatchCoprocessor(coprocessor.BatchRequest) returns (stream coprocessor.BatchResponse) {} // Raft commands (tikv <-> tikv). rpc Raft(stream raft_serverpb.RaftMessage) returns (raft_serverpb.Done) {} diff --git a/scripts/generate_cpp.sh b/scripts/generate_cpp.sh index 9adb9f853..00ee95c6f 100755 --- a/scripts/generate_cpp.sh +++ b/scripts/generate_cpp.sh @@ -24,7 +24,7 @@ protoc -I${GRPC_INCLUDE} --grpc_out ../cpp/kvproto --plugin=protoc-gen-grpc=`whi pop push include -protoc -I${GRPC_INCLUDE} --cpp_out ../cpp/kvproto *.proto || exit $? +protoc -I${GRPC_INCLUDE} --cpp_out ../cpp/kvproto *.proto google/api/http.proto google/api/annotations.proto || exit $? pop rm -rf proto-cpp From 8fd67ed1612674d30bae096a808a7801dc3382f4 Mon Sep 17 00:00:00 2001 From: Shafreeck Sea Date: Fri, 17 Apr 2020 17:23:53 +0800 Subject: [PATCH 7/9] pd: add UpdateServiceGCSafePoint method (#603) * pd: add UpdateServiceGCSafePoint method Signed-off-by: Shafreeck Sea Signed-off-by: 5kbpers --- pkg/pdpb/pdpb.pb.go | 1165 +++++++++++++++++++++++++++++++++---------- proto/pdpb.proto | 18 + 2 files changed, 915 insertions(+), 268 deletions(-) diff --git a/pkg/pdpb/pdpb.pb.go b/pkg/pdpb/pdpb.pb.go index c466ab103..f1b2452e8 100644 --- a/pkg/pdpb/pdpb.pb.go +++ b/pkg/pdpb/pdpb.pb.go @@ -69,7 +69,7 @@ func (x ErrorType) String() string { return proto.EnumName(ErrorType_name, int32(x)) } func (ErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{0} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{0} } type CheckPolicy int32 @@ -95,7 +95,7 @@ func (x CheckPolicy) String() string { return proto.EnumName(CheckPolicy_name, int32(x)) } func (CheckPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{1} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{1} } type OperatorStatus int32 @@ -127,7 +127,7 @@ func (x OperatorStatus) String() string { return proto.EnumName(OperatorStatus_name, int32(x)) } func (OperatorStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{2} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{2} } type RequestHeader struct { @@ -142,7 +142,7 @@ func (m *RequestHeader) Reset() { *m = RequestHeader{} } func (m *RequestHeader) String() string { return proto.CompactTextString(m) } func (*RequestHeader) ProtoMessage() {} func (*RequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{0} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{0} } func (m *RequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -191,7 +191,7 @@ func (m *ResponseHeader) Reset() { *m = ResponseHeader{} } func (m *ResponseHeader) String() string { return proto.CompactTextString(m) } func (*ResponseHeader) ProtoMessage() {} func (*ResponseHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{1} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{1} } func (m *ResponseHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -246,7 +246,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{2} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{2} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -301,7 +301,7 @@ func (m *TsoRequest) Reset() { *m = TsoRequest{} } func (m *TsoRequest) String() string { return proto.CompactTextString(m) } func (*TsoRequest) ProtoMessage() {} func (*TsoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{3} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{3} } func (m *TsoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -356,7 +356,7 @@ func (m *Timestamp) Reset() { *m = Timestamp{} } func (m *Timestamp) String() string { return proto.CompactTextString(m) } func (*Timestamp) ProtoMessage() {} func (*Timestamp) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{4} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{4} } func (m *Timestamp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -412,7 +412,7 @@ func (m *TsoResponse) Reset() { *m = TsoResponse{} } func (m *TsoResponse) String() string { return proto.CompactTextString(m) } func (*TsoResponse) ProtoMessage() {} func (*TsoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{5} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{5} } func (m *TsoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -475,7 +475,7 @@ func (m *BootstrapRequest) Reset() { *m = BootstrapRequest{} } func (m *BootstrapRequest) String() string { return proto.CompactTextString(m) } func (*BootstrapRequest) ProtoMessage() {} func (*BootstrapRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{6} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{6} } func (m *BootstrapRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -537,7 +537,7 @@ func (m *BootstrapResponse) Reset() { *m = BootstrapResponse{} } func (m *BootstrapResponse) String() string { return proto.CompactTextString(m) } func (*BootstrapResponse) ProtoMessage() {} func (*BootstrapResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{7} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{7} } func (m *BootstrapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -591,7 +591,7 @@ func (m *IsBootstrappedRequest) Reset() { *m = IsBootstrappedRequest{} } func (m *IsBootstrappedRequest) String() string { return proto.CompactTextString(m) } func (*IsBootstrappedRequest) ProtoMessage() {} func (*IsBootstrappedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{8} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{8} } func (m *IsBootstrappedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -639,7 +639,7 @@ func (m *IsBootstrappedResponse) Reset() { *m = IsBootstrappedResponse{} func (m *IsBootstrappedResponse) String() string { return proto.CompactTextString(m) } func (*IsBootstrappedResponse) ProtoMessage() {} func (*IsBootstrappedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{9} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{9} } func (m *IsBootstrappedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -693,7 +693,7 @@ func (m *AllocIDRequest) Reset() { *m = AllocIDRequest{} } func (m *AllocIDRequest) String() string { return proto.CompactTextString(m) } func (*AllocIDRequest) ProtoMessage() {} func (*AllocIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{10} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{10} } func (m *AllocIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -741,7 +741,7 @@ func (m *AllocIDResponse) Reset() { *m = AllocIDResponse{} } func (m *AllocIDResponse) String() string { return proto.CompactTextString(m) } func (*AllocIDResponse) ProtoMessage() {} func (*AllocIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{11} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{11} } func (m *AllocIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -796,7 +796,7 @@ func (m *GetStoreRequest) Reset() { *m = GetStoreRequest{} } func (m *GetStoreRequest) String() string { return proto.CompactTextString(m) } func (*GetStoreRequest) ProtoMessage() {} func (*GetStoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{12} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{12} } func (m *GetStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -852,7 +852,7 @@ func (m *GetStoreResponse) Reset() { *m = GetStoreResponse{} } func (m *GetStoreResponse) String() string { return proto.CompactTextString(m) } func (*GetStoreResponse) ProtoMessage() {} func (*GetStoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{13} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{13} } func (m *GetStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -914,7 +914,7 @@ func (m *PutStoreRequest) Reset() { *m = PutStoreRequest{} } func (m *PutStoreRequest) String() string { return proto.CompactTextString(m) } func (*PutStoreRequest) ProtoMessage() {} func (*PutStoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{14} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{14} } func (m *PutStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -969,7 +969,7 @@ func (m *PutStoreResponse) Reset() { *m = PutStoreResponse{} } func (m *PutStoreResponse) String() string { return proto.CompactTextString(m) } func (*PutStoreResponse) ProtoMessage() {} func (*PutStoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{15} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{15} } func (m *PutStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1025,7 +1025,7 @@ func (m *GetAllStoresRequest) Reset() { *m = GetAllStoresRequest{} } func (m *GetAllStoresRequest) String() string { return proto.CompactTextString(m) } func (*GetAllStoresRequest) ProtoMessage() {} func (*GetAllStoresRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{16} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{16} } func (m *GetAllStoresRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1080,7 +1080,7 @@ func (m *GetAllStoresResponse) Reset() { *m = GetAllStoresResponse{} } func (m *GetAllStoresResponse) String() string { return proto.CompactTextString(m) } func (*GetAllStoresResponse) ProtoMessage() {} func (*GetAllStoresResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{17} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{17} } func (m *GetAllStoresResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1135,7 +1135,7 @@ func (m *GetRegionRequest) Reset() { *m = GetRegionRequest{} } func (m *GetRegionRequest) String() string { return proto.CompactTextString(m) } func (*GetRegionRequest) ProtoMessage() {} func (*GetRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{18} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{18} } func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1197,7 +1197,7 @@ func (m *GetRegionResponse) Reset() { *m = GetRegionResponse{} } func (m *GetRegionResponse) String() string { return proto.CompactTextString(m) } func (*GetRegionResponse) ProtoMessage() {} func (*GetRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{19} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{19} } func (m *GetRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1280,7 +1280,7 @@ func (m *GetRegionByIDRequest) Reset() { *m = GetRegionByIDRequest{} } func (m *GetRegionByIDRequest) String() string { return proto.CompactTextString(m) } func (*GetRegionByIDRequest) ProtoMessage() {} func (*GetRegionByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{20} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{20} } func (m *GetRegionByIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1337,7 +1337,7 @@ func (m *ScanRegionsRequest) Reset() { *m = ScanRegionsRequest{} } func (m *ScanRegionsRequest) String() string { return proto.CompactTextString(m) } func (*ScanRegionsRequest) ProtoMessage() {} func (*ScanRegionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{21} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{21} } func (m *ScanRegionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1407,7 +1407,7 @@ func (m *ScanRegionsResponse) Reset() { *m = ScanRegionsResponse{} } func (m *ScanRegionsResponse) String() string { return proto.CompactTextString(m) } func (*ScanRegionsResponse) ProtoMessage() {} func (*ScanRegionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{22} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{22} } func (m *ScanRegionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1468,7 +1468,7 @@ func (m *GetClusterConfigRequest) Reset() { *m = GetClusterConfigRequest func (m *GetClusterConfigRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterConfigRequest) ProtoMessage() {} func (*GetClusterConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{23} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{23} } func (m *GetClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1516,7 +1516,7 @@ func (m *GetClusterConfigResponse) Reset() { *m = GetClusterConfigRespon func (m *GetClusterConfigResponse) String() string { return proto.CompactTextString(m) } func (*GetClusterConfigResponse) ProtoMessage() {} func (*GetClusterConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{24} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{24} } func (m *GetClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1571,7 +1571,7 @@ func (m *PutClusterConfigRequest) Reset() { *m = PutClusterConfigRequest func (m *PutClusterConfigRequest) String() string { return proto.CompactTextString(m) } func (*PutClusterConfigRequest) ProtoMessage() {} func (*PutClusterConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{25} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{25} } func (m *PutClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1625,7 +1625,7 @@ func (m *PutClusterConfigResponse) Reset() { *m = PutClusterConfigRespon func (m *PutClusterConfigResponse) String() string { return proto.CompactTextString(m) } func (*PutClusterConfigResponse) ProtoMessage() {} func (*PutClusterConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{26} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{26} } func (m *PutClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1681,7 +1681,7 @@ func (m *Member) Reset() { *m = Member{} } func (m *Member) String() string { return proto.CompactTextString(m) } func (*Member) ProtoMessage() {} func (*Member) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{27} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{27} } func (m *Member) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1777,7 +1777,7 @@ func (m *GetMembersRequest) Reset() { *m = GetMembersRequest{} } func (m *GetMembersRequest) String() string { return proto.CompactTextString(m) } func (*GetMembersRequest) ProtoMessage() {} func (*GetMembersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{28} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{28} } func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1827,7 +1827,7 @@ func (m *GetMembersResponse) Reset() { *m = GetMembersResponse{} } func (m *GetMembersResponse) String() string { return proto.CompactTextString(m) } func (*GetMembersResponse) ProtoMessage() {} func (*GetMembersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{29} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{29} } func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1896,7 +1896,7 @@ func (m *PeerStats) Reset() { *m = PeerStats{} } func (m *PeerStats) String() string { return proto.CompactTextString(m) } func (*PeerStats) ProtoMessage() {} func (*PeerStats) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{30} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{30} } func (m *PeerStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1973,7 +1973,7 @@ func (m *RegionHeartbeatRequest) Reset() { *m = RegionHeartbeatRequest{} func (m *RegionHeartbeatRequest) String() string { return proto.CompactTextString(m) } func (*RegionHeartbeatRequest) ProtoMessage() {} func (*RegionHeartbeatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{31} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{31} } func (m *RegionHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2112,7 +2112,7 @@ func (m *ChangePeer) Reset() { *m = ChangePeer{} } func (m *ChangePeer) String() string { return proto.CompactTextString(m) } func (*ChangePeer) ProtoMessage() {} func (*ChangePeer) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{32} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{32} } func (m *ChangePeer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2166,7 +2166,7 @@ func (m *TransferLeader) Reset() { *m = TransferLeader{} } func (m *TransferLeader) String() string { return proto.CompactTextString(m) } func (*TransferLeader) ProtoMessage() {} func (*TransferLeader) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{33} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{33} } func (m *TransferLeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2213,7 +2213,7 @@ func (m *Merge) Reset() { *m = Merge{} } func (m *Merge) String() string { return proto.CompactTextString(m) } func (*Merge) ProtoMessage() {} func (*Merge) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{34} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{34} } func (m *Merge) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2261,7 +2261,7 @@ func (m *SplitRegion) Reset() { *m = SplitRegion{} } func (m *SplitRegion) String() string { return proto.CompactTextString(m) } func (*SplitRegion) ProtoMessage() {} func (*SplitRegion) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{35} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{35} } func (m *SplitRegion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2340,7 +2340,7 @@ func (m *RegionHeartbeatResponse) Reset() { *m = RegionHeartbeatResponse func (m *RegionHeartbeatResponse) String() string { return proto.CompactTextString(m) } func (*RegionHeartbeatResponse) ProtoMessage() {} func (*RegionHeartbeatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{36} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{36} } func (m *RegionHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2437,7 +2437,7 @@ func (m *AskSplitRequest) Reset() { *m = AskSplitRequest{} } func (m *AskSplitRequest) String() string { return proto.CompactTextString(m) } func (*AskSplitRequest) ProtoMessage() {} func (*AskSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{37} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{37} } func (m *AskSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2497,7 +2497,7 @@ func (m *AskSplitResponse) Reset() { *m = AskSplitResponse{} } func (m *AskSplitResponse) String() string { return proto.CompactTextString(m) } func (*AskSplitResponse) ProtoMessage() {} func (*AskSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{38} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{38} } func (m *AskSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2560,7 +2560,7 @@ func (m *ReportSplitRequest) Reset() { *m = ReportSplitRequest{} } func (m *ReportSplitRequest) String() string { return proto.CompactTextString(m) } func (*ReportSplitRequest) ProtoMessage() {} func (*ReportSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{39} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{39} } func (m *ReportSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2621,7 +2621,7 @@ func (m *ReportSplitResponse) Reset() { *m = ReportSplitResponse{} } func (m *ReportSplitResponse) String() string { return proto.CompactTextString(m) } func (*ReportSplitResponse) ProtoMessage() {} func (*ReportSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{40} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{40} } func (m *ReportSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2670,7 +2670,7 @@ func (m *AskBatchSplitRequest) Reset() { *m = AskBatchSplitRequest{} } func (m *AskBatchSplitRequest) String() string { return proto.CompactTextString(m) } func (*AskBatchSplitRequest) ProtoMessage() {} func (*AskBatchSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{41} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{41} } func (m *AskBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2732,7 +2732,7 @@ func (m *SplitID) Reset() { *m = SplitID{} } func (m *SplitID) String() string { return proto.CompactTextString(m) } func (*SplitID) ProtoMessage() {} func (*SplitID) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{42} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{42} } func (m *SplitID) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2787,7 +2787,7 @@ func (m *AskBatchSplitResponse) Reset() { *m = AskBatchSplitResponse{} } func (m *AskBatchSplitResponse) String() string { return proto.CompactTextString(m) } func (*AskBatchSplitResponse) ProtoMessage() {} func (*AskBatchSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{43} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{43} } func (m *AskBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2842,7 +2842,7 @@ func (m *ReportBatchSplitRequest) Reset() { *m = ReportBatchSplitRequest func (m *ReportBatchSplitRequest) String() string { return proto.CompactTextString(m) } func (*ReportBatchSplitRequest) ProtoMessage() {} func (*ReportBatchSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{44} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{44} } func (m *ReportBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2896,7 +2896,7 @@ func (m *ReportBatchSplitResponse) Reset() { *m = ReportBatchSplitRespon func (m *ReportBatchSplitResponse) String() string { return proto.CompactTextString(m) } func (*ReportBatchSplitResponse) ProtoMessage() {} func (*ReportBatchSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{45} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{45} } func (m *ReportBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2946,7 +2946,7 @@ func (m *TimeInterval) Reset() { *m = TimeInterval{} } func (m *TimeInterval) String() string { return proto.CompactTextString(m) } func (*TimeInterval) ProtoMessage() {} func (*TimeInterval) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{46} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{46} } func (m *TimeInterval) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3001,7 +3001,7 @@ func (m *RecordPair) Reset() { *m = RecordPair{} } func (m *RecordPair) String() string { return proto.CompactTextString(m) } func (*RecordPair) ProtoMessage() {} func (*RecordPair) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{47} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{47} } func (m *RecordPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3091,7 +3091,7 @@ func (m *StoreStats) Reset() { *m = StoreStats{} } func (m *StoreStats) String() string { return proto.CompactTextString(m) } func (*StoreStats) ProtoMessage() {} func (*StoreStats) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{48} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{48} } func (m *StoreStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3265,7 +3265,7 @@ func (m *StoreHeartbeatRequest) Reset() { *m = StoreHeartbeatRequest{} } func (m *StoreHeartbeatRequest) String() string { return proto.CompactTextString(m) } func (*StoreHeartbeatRequest) ProtoMessage() {} func (*StoreHeartbeatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{49} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{49} } func (m *StoreHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3320,7 +3320,7 @@ func (m *StoreHeartbeatResponse) Reset() { *m = StoreHeartbeatResponse{} func (m *StoreHeartbeatResponse) String() string { return proto.CompactTextString(m) } func (*StoreHeartbeatResponse) ProtoMessage() {} func (*StoreHeartbeatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{50} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{50} } func (m *StoreHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3379,7 +3379,7 @@ func (m *ScatterRegionRequest) Reset() { *m = ScatterRegionRequest{} } func (m *ScatterRegionRequest) String() string { return proto.CompactTextString(m) } func (*ScatterRegionRequest) ProtoMessage() {} func (*ScatterRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{51} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{51} } func (m *ScatterRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3447,7 +3447,7 @@ func (m *ScatterRegionResponse) Reset() { *m = ScatterRegionResponse{} } func (m *ScatterRegionResponse) String() string { return proto.CompactTextString(m) } func (*ScatterRegionResponse) ProtoMessage() {} func (*ScatterRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{52} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{52} } func (m *ScatterRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3494,7 +3494,7 @@ func (m *GetGCSafePointRequest) Reset() { *m = GetGCSafePointRequest{} } func (m *GetGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointRequest) ProtoMessage() {} func (*GetGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{53} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{53} } func (m *GetGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3542,7 +3542,7 @@ func (m *GetGCSafePointResponse) Reset() { *m = GetGCSafePointResponse{} func (m *GetGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointResponse) ProtoMessage() {} func (*GetGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{54} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{54} } func (m *GetGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3597,7 +3597,7 @@ func (m *UpdateGCSafePointRequest) Reset() { *m = UpdateGCSafePointReque func (m *UpdateGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointRequest) ProtoMessage() {} func (*UpdateGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{55} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{55} } func (m *UpdateGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3652,7 +3652,7 @@ func (m *UpdateGCSafePointResponse) Reset() { *m = UpdateGCSafePointResp func (m *UpdateGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointResponse) ProtoMessage() {} func (*UpdateGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{56} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{56} } func (m *UpdateGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3695,6 +3695,148 @@ func (m *UpdateGCSafePointResponse) GetNewSafePoint() uint64 { return 0 } +type UpdateServiceGCSafePointRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + ServiceId []byte `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + TTL int64 `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"` + SafePoint uint64 `protobuf:"varint,4,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateServiceGCSafePointRequest) Reset() { *m = UpdateServiceGCSafePointRequest{} } +func (m *UpdateServiceGCSafePointRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateServiceGCSafePointRequest) ProtoMessage() {} +func (*UpdateServiceGCSafePointRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_pdpb_5047befa7820cbc0, []int{57} +} +func (m *UpdateServiceGCSafePointRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateServiceGCSafePointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateServiceGCSafePointRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *UpdateServiceGCSafePointRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceGCSafePointRequest.Merge(dst, src) +} +func (m *UpdateServiceGCSafePointRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateServiceGCSafePointRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateServiceGCSafePointRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateServiceGCSafePointRequest proto.InternalMessageInfo + +func (m *UpdateServiceGCSafePointRequest) GetHeader() *RequestHeader { + if m != nil { + return m.Header + } + return nil +} + +func (m *UpdateServiceGCSafePointRequest) GetServiceId() []byte { + if m != nil { + return m.ServiceId + } + return nil +} + +func (m *UpdateServiceGCSafePointRequest) GetTTL() int64 { + if m != nil { + return m.TTL + } + return 0 +} + +func (m *UpdateServiceGCSafePointRequest) GetSafePoint() uint64 { + if m != nil { + return m.SafePoint + } + return 0 +} + +type UpdateServiceGCSafePointResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` + ServiceId []byte `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + TTL int64 `protobuf:"varint,3,opt,name=TTL,proto3" json:"TTL,omitempty"` + MinSafePoint uint64 `protobuf:"varint,4,opt,name=min_safe_point,json=minSafePoint,proto3" json:"min_safe_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateServiceGCSafePointResponse) Reset() { *m = UpdateServiceGCSafePointResponse{} } +func (m *UpdateServiceGCSafePointResponse) String() string { return proto.CompactTextString(m) } +func (*UpdateServiceGCSafePointResponse) ProtoMessage() {} +func (*UpdateServiceGCSafePointResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_pdpb_5047befa7820cbc0, []int{58} +} +func (m *UpdateServiceGCSafePointResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateServiceGCSafePointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateServiceGCSafePointResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (dst *UpdateServiceGCSafePointResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceGCSafePointResponse.Merge(dst, src) +} +func (m *UpdateServiceGCSafePointResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateServiceGCSafePointResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateServiceGCSafePointResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateServiceGCSafePointResponse proto.InternalMessageInfo + +func (m *UpdateServiceGCSafePointResponse) GetHeader() *ResponseHeader { + if m != nil { + return m.Header + } + return nil +} + +func (m *UpdateServiceGCSafePointResponse) GetServiceId() []byte { + if m != nil { + return m.ServiceId + } + return nil +} + +func (m *UpdateServiceGCSafePointResponse) GetTTL() int64 { + if m != nil { + return m.TTL + } + return 0 +} + +func (m *UpdateServiceGCSafePointResponse) GetMinSafePoint() uint64 { + if m != nil { + return m.MinSafePoint + } + return 0 +} + type RegionStat struct { // Bytes read/written during this period. BytesWritten uint64 `protobuf:"varint,1,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"` @@ -3711,7 +3853,7 @@ func (m *RegionStat) Reset() { *m = RegionStat{} } func (m *RegionStat) String() string { return proto.CompactTextString(m) } func (*RegionStat) ProtoMessage() {} func (*RegionStat) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{57} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{59} } func (m *RegionStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3783,7 +3925,7 @@ func (m *SyncRegionRequest) Reset() { *m = SyncRegionRequest{} } func (m *SyncRegionRequest) String() string { return proto.CompactTextString(m) } func (*SyncRegionRequest) ProtoMessage() {} func (*SyncRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{58} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{60} } func (m *SyncRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3849,7 +3991,7 @@ func (m *SyncRegionResponse) Reset() { *m = SyncRegionResponse{} } func (m *SyncRegionResponse) String() string { return proto.CompactTextString(m) } func (*SyncRegionResponse) ProtoMessage() {} func (*SyncRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{59} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{61} } func (m *SyncRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3918,7 +4060,7 @@ func (m *GetOperatorRequest) Reset() { *m = GetOperatorRequest{} } func (m *GetOperatorRequest) String() string { return proto.CompactTextString(m) } func (*GetOperatorRequest) ProtoMessage() {} func (*GetOperatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{60} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{62} } func (m *GetOperatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3976,7 +4118,7 @@ func (m *GetOperatorResponse) Reset() { *m = GetOperatorResponse{} } func (m *GetOperatorResponse) String() string { return proto.CompactTextString(m) } func (*GetOperatorResponse) ProtoMessage() {} func (*GetOperatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_pdpb_785bb81d3668284c, []int{61} + return fileDescriptor_pdpb_5047befa7820cbc0, []int{63} } func (m *GetOperatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4098,6 +4240,8 @@ func init() { proto.RegisterType((*GetGCSafePointResponse)(nil), "pdpb.GetGCSafePointResponse") proto.RegisterType((*UpdateGCSafePointRequest)(nil), "pdpb.UpdateGCSafePointRequest") proto.RegisterType((*UpdateGCSafePointResponse)(nil), "pdpb.UpdateGCSafePointResponse") + proto.RegisterType((*UpdateServiceGCSafePointRequest)(nil), "pdpb.UpdateServiceGCSafePointRequest") + proto.RegisterType((*UpdateServiceGCSafePointResponse)(nil), "pdpb.UpdateServiceGCSafePointResponse") proto.RegisterType((*RegionStat)(nil), "pdpb.RegionStat") proto.RegisterType((*SyncRegionRequest)(nil), "pdpb.SyncRegionRequest") proto.RegisterType((*SyncRegionResponse)(nil), "pdpb.SyncRegionResponse") @@ -4144,6 +4288,7 @@ type PDClient interface { ScatterRegion(ctx context.Context, in *ScatterRegionRequest, opts ...grpc.CallOption) (*ScatterRegionResponse, error) GetGCSafePoint(ctx context.Context, in *GetGCSafePointRequest, opts ...grpc.CallOption) (*GetGCSafePointResponse, error) UpdateGCSafePoint(ctx context.Context, in *UpdateGCSafePointRequest, opts ...grpc.CallOption) (*UpdateGCSafePointResponse, error) + UpdateServiceGCSafePoint(ctx context.Context, in *UpdateServiceGCSafePointRequest, opts ...grpc.CallOption) (*UpdateServiceGCSafePointResponse, error) SyncRegions(ctx context.Context, opts ...grpc.CallOption) (PD_SyncRegionsClient, error) GetOperator(ctx context.Context, in *GetOperatorRequest, opts ...grpc.CallOption) (*GetOperatorResponse, error) } @@ -4409,6 +4554,15 @@ func (c *pDClient) UpdateGCSafePoint(ctx context.Context, in *UpdateGCSafePointR return out, nil } +func (c *pDClient) UpdateServiceGCSafePoint(ctx context.Context, in *UpdateServiceGCSafePointRequest, opts ...grpc.CallOption) (*UpdateServiceGCSafePointResponse, error) { + out := new(UpdateServiceGCSafePointResponse) + err := c.cc.Invoke(ctx, "/pdpb.PD/UpdateServiceGCSafePoint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *pDClient) SyncRegions(ctx context.Context, opts ...grpc.CallOption) (PD_SyncRegionsClient, error) { stream, err := c.cc.NewStream(ctx, &_PD_serviceDesc.Streams[2], "/pdpb.PD/SyncRegions", opts...) if err != nil { @@ -4477,6 +4631,7 @@ type PDServer interface { ScatterRegion(context.Context, *ScatterRegionRequest) (*ScatterRegionResponse, error) GetGCSafePoint(context.Context, *GetGCSafePointRequest) (*GetGCSafePointResponse, error) UpdateGCSafePoint(context.Context, *UpdateGCSafePointRequest) (*UpdateGCSafePointResponse, error) + UpdateServiceGCSafePoint(context.Context, *UpdateServiceGCSafePointRequest) (*UpdateServiceGCSafePointResponse, error) SyncRegions(PD_SyncRegionsServer) error GetOperator(context.Context, *GetOperatorRequest) (*GetOperatorResponse, error) } @@ -4915,6 +5070,24 @@ func _PD_UpdateGCSafePoint_Handler(srv interface{}, ctx context.Context, dec fun return interceptor(ctx, in, info, handler) } +func _PD_UpdateServiceGCSafePoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateServiceGCSafePointRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PDServer).UpdateServiceGCSafePoint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pdpb.PD/UpdateServiceGCSafePoint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PDServer).UpdateServiceGCSafePoint(ctx, req.(*UpdateServiceGCSafePointRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _PD_SyncRegions_Handler(srv interface{}, stream grpc.ServerStream) error { return srv.(PDServer).SyncRegions(&pDSyncRegionsServer{stream}) } @@ -5047,6 +5220,10 @@ var _PD_serviceDesc = grpc.ServiceDesc{ MethodName: "UpdateGCSafePoint", Handler: _PD_UpdateGCSafePoint_Handler, }, + { + MethodName: "UpdateServiceGCSafePoint", + Handler: _PD_UpdateServiceGCSafePoint_Handler, + }, { MethodName: "GetOperator", Handler: _PD_GetOperator_Handler, @@ -7661,6 +7838,100 @@ func (m *UpdateGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *UpdateServiceGCSafePointRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateServiceGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Header != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) + n86, err := m.Header.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n86 + } + if len(m.ServiceId) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ServiceId))) + i += copy(dAtA[i:], m.ServiceId) + } + if m.TTL != 0 { + dAtA[i] = 0x18 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.TTL)) + } + if m.SafePoint != 0 { + dAtA[i] = 0x20 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + +func (m *UpdateServiceGCSafePointResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateServiceGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.Header != nil { + dAtA[i] = 0xa + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) + n87, err := m.Header.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n87 + } + if len(m.ServiceId) > 0 { + dAtA[i] = 0x12 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ServiceId))) + i += copy(dAtA[i:], m.ServiceId) + } + if m.TTL != 0 { + dAtA[i] = 0x18 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.TTL)) + } + if m.MinSafePoint != 0 { + dAtA[i] = 0x20 + i++ + i = encodeVarintPdpb(dAtA, i, uint64(m.MinSafePoint)) + } + if m.XXX_unrecognized != nil { + i += copy(dAtA[i:], m.XXX_unrecognized) + } + return i, nil +} + func (m *RegionStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -7721,21 +7992,21 @@ func (m *SyncRegionRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n86, err := m.Header.MarshalTo(dAtA[i:]) + n88, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n86 + i += n88 } if m.Member != nil { dAtA[i] = 0x12 i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Member.Size())) - n87, err := m.Member.MarshalTo(dAtA[i:]) + n89, err := m.Member.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n87 + i += n89 } if m.StartIndex != 0 { dAtA[i] = 0x18 @@ -7767,11 +8038,11 @@ func (m *SyncRegionResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n88, err := m.Header.MarshalTo(dAtA[i:]) + n90, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n88 + i += n90 } if len(m.Regions) > 0 { for _, msg := range m.Regions { @@ -7827,11 +8098,11 @@ func (m *GetOperatorRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n89, err := m.Header.MarshalTo(dAtA[i:]) + n91, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n89 + i += n91 } if m.RegionId != 0 { dAtA[i] = 0x10 @@ -7863,11 +8134,11 @@ func (m *GetOperatorResponse) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintPdpb(dAtA, i, uint64(m.Header.Size())) - n90, err := m.Header.MarshalTo(dAtA[i:]) + n92, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n90 + i += n92 } if m.RegionId != 0 { dAtA[i] = 0x10 @@ -9051,6 +9322,52 @@ func (m *UpdateGCSafePointResponse) Size() (n int) { return n } +func (m *UpdateServiceGCSafePointRequest) Size() (n int) { + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + l = len(m.ServiceId) + if l > 0 { + n += 1 + l + sovPdpb(uint64(l)) + } + if m.TTL != 0 { + n += 1 + sovPdpb(uint64(m.TTL)) + } + if m.SafePoint != 0 { + n += 1 + sovPdpb(uint64(m.SafePoint)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UpdateServiceGCSafePointResponse) Size() (n int) { + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + l = len(m.ServiceId) + if l > 0 { + n += 1 + l + sovPdpb(uint64(l)) + } + if m.TTL != 0 { + n += 1 + sovPdpb(uint64(m.TTL)) + } + if m.MinSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.MinSafePoint)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + func (m *RegionStat) Size() (n int) { var l int _ = l @@ -16652,6 +16969,312 @@ func (m *UpdateGCSafePointResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateServiceGCSafePointRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateServiceGCSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &RequestHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServiceId", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + byteLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServiceId = append(m.ServiceId[:0], dAtA[iNdEx:postIndex]...) + if m.ServiceId == nil { + m.ServiceId = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) + } + m.TTL = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TTL |= (int64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + } + m.SafePoint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SafePoint |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateServiceGCSafePointResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateServiceGCSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServiceId", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + byteLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServiceId = append(m.ServiceId[:0], dAtA[iNdEx:postIndex]...) + if m.ServiceId == nil { + m.ServiceId = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) + } + m.TTL = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TTL |= (int64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinSafePoint", wireType) + } + m.MinSafePoint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinSafePoint |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *RegionStat) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -17472,197 +18095,203 @@ var ( ErrIntOverflowPdpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_785bb81d3668284c) } - -var fileDescriptor_pdpb_785bb81d3668284c = []byte{ - // 3018 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3a, 0x4d, 0x6f, 0x1b, 0xd7, - 0xb5, 0x1a, 0x6a, 0x48, 0x91, 0x87, 0x9f, 0xba, 0x96, 0x2d, 0x9a, 0x8e, 0x1d, 0x67, 0xec, 0xe4, - 0x39, 0x5f, 0x4a, 0xe2, 0x18, 0x41, 0x80, 0x87, 0x04, 0x8f, 0x92, 0x68, 0x99, 0xb1, 0x2d, 0x12, - 0x43, 0x2a, 0x79, 0x79, 0x78, 0xc8, 0x74, 0xc4, 0xb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, 0x0f, 0x45, 0xe5, 0xaf, 0xdf, 0xdc, 0x50, 0xfe, 0xf6, 0xcd, 0x0d, 0xe5, - 0x1f, 0xdf, 0xdc, 0x50, 0xbe, 0xfe, 0xe7, 0x8d, 0x15, 0x68, 0xb8, 0xfe, 0x78, 0x8b, 0xda, 0x27, - 0x67, 0x5b, 0x27, 0x67, 0xfc, 0xdf, 0x95, 0x87, 0x05, 0xfe, 0xf3, 0xf6, 0x7f, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x80, 0x03, 0x3e, 0x2f, 0xd6, 0x29, 0x00, 0x00, +func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_5047befa7820cbc0) } + +var fileDescriptor_pdpb_5047befa7820cbc0 = []byte{ + // 3105 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3a, 0x4b, 0x6f, 0x23, 0xc7, + 0xd1, 0x1a, 0x6a, 0x48, 0x91, 0xc5, 0xa7, 0x7a, 0xb5, 0x2b, 0x2e, 0xd7, 0xfb, 0xf0, 0xec, 0xe3, + 0x5b, 0xbf, 0x64, 0x7b, 0xbd, 0x30, 0x0c, 0x7c, 0xb0, 0xf1, 0x51, 0x12, 0x57, 0x4b, 0xaf, 0x56, + 0x24, 0x86, 0x94, 0xfd, 0xf9, 0xc3, 0x07, 0x4f, 0x46, 0x64, 0x8b, 0x9a, 0x88, 0x9c, 0x19, 0xcf, + 0x34, 0xb5, 0xa6, 0x91, 0x43, 0x80, 0x00, 0x49, 0x80, 0x38, 0x40, 0x2e, 0x76, 0x7c, 0x08, 0x72, + 0x4d, 0x4e, 0x39, 0xe6, 0x1a, 0x20, 0xa7, 0x1c, 0x73, 0xcc, 0x31, 0x70, 0x7e, 0x41, 0x2e, 0x39, + 0x06, 0x41, 0xbf, 0xe6, 0x45, 0x72, 0xb5, 0x9e, 0xb5, 0x01, 0x9f, 0x38, 0x5d, 0x55,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, 0xef, 0x02, 0x67, 0x17, 0xd3, 0x56, 0x17, 0x24, 0x68, 0x03, 0xb2, + 0x03, 0x67, 0x6a, 0x13, 0xc6, 0xb2, 0xac, 0xf3, 0x81, 0xd6, 0x84, 0x42, 0xdf, 0x9a, 0x60, 0x9f, + 0x98, 0x13, 0x17, 0x35, 0x20, 0xef, 0x9e, 0xcc, 0x7c, 0x6b, 0x60, 0x8e, 0x19, 0xc7, 0x55, 0x3d, + 0x18, 0x53, 0x99, 0xc6, 0xce, 0x88, 0xa1, 0x32, 0x0c, 0x25, 0x87, 0xda, 0x8f, 0x15, 0x28, 0x32, + 0xa1, 0xb8, 0xcd, 0xd0, 0xab, 0x09, 0xa9, 0x36, 0xa4, 0x54, 0x51, 0x9b, 0x3e, 0x5d, 0x2c, 0xf4, + 0x1a, 0x14, 0x88, 0x14, 0xab, 0xbe, 0xca, 0xd8, 0x08, 0x5b, 0x05, 0xd2, 0xea, 0x21, 0x85, 0xf6, + 0xb9, 0x02, 0xb5, 0x6d, 0xc7, 0x21, 0x3e, 0xf1, 0x4c, 0x37, 0x95, 0x75, 0x6e, 0x42, 0xd6, 0x27, + 0x8e, 0x87, 0x85, 0x0f, 0xcb, 0x5b, 0x22, 0x24, 0x7b, 0x14, 0xa8, 0x73, 0x1c, 0xba, 0x03, 0x39, + 0x0f, 0x8f, 0x2c, 0xc7, 0x16, 0x22, 0x55, 0x24, 0x95, 0xce, 0xa0, 0xba, 0xc0, 0x6a, 0xbf, 0x56, + 0x60, 0x3d, 0x22, 0x4e, 0x2a, 0xbb, 0xf4, 0x01, 0x45, 0x03, 0xdf, 0x27, 0x26, 0x99, 0xfa, 0x42, + 0xba, 0xdb, 0x5b, 0x0b, 0xf6, 0x84, 0x1e, 0x82, 0x7a, 0x8c, 0x58, 0x5f, 0xf7, 0x92, 0x20, 0x6d, + 0x17, 0x2e, 0xb6, 0xfd, 0x40, 0x34, 0x17, 0x0f, 0xd3, 0x18, 0x4b, 0xfb, 0x21, 0x5c,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x22, 0x1b, 0xed, 0x42, 0x31, 0x52, 0x12, 0xa1, 0xf0, 0x6c, 0x4c, 0x94, + 0x61, 0x8d, 0xcb, 0x0b, 0x30, 0x92, 0xd3, 0xf6, 0x9d, 0xbf, 0xfd, 0x3e, 0xaf, 0xfc, 0xe5, 0xeb, + 0x6b, 0xca, 0x5f, 0xbf, 0xbe, 0xa6, 0xfc, 0xfd, 0xeb, 0x6b, 0xca, 0x57, 0xff, 0xb8, 0xb6, 0x02, + 0x35, 0xc7, 0x1b, 0x6d, 0x11, 0xeb, 0xf4, 0x6c, 0xeb, 0xf4, 0x8c, 0xfd, 0x2b, 0xf6, 0x28, 0xc7, + 0x7e, 0xde, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x4f, 0xde, 0xa0, 0x8e, 0x2b, 0x00, + 0x00, } diff --git a/proto/pdpb.proto b/proto/pdpb.proto index b95e5fc29..9595ca9da 100644 --- a/proto/pdpb.proto +++ b/proto/pdpb.proto @@ -70,6 +70,8 @@ service PD { rpc UpdateGCSafePoint(UpdateGCSafePointRequest) returns (UpdateGCSafePointResponse) {} + rpc UpdateServiceGCSafePoint(UpdateServiceGCSafePointRequest) returns (UpdateServiceGCSafePointResponse) {} + rpc SyncRegions(stream SyncRegionRequest) returns (stream SyncRegionResponse) {} rpc GetOperator(GetOperatorRequest) returns (GetOperatorResponse) {} @@ -518,6 +520,22 @@ message UpdateGCSafePointResponse { uint64 new_safe_point = 2; } +message UpdateServiceGCSafePointRequest { + RequestHeader header = 1; + + bytes service_id = 2; + int64 TTL = 3; + uint64 safe_point = 4; +} + +message UpdateServiceGCSafePointResponse { + ResponseHeader header = 1; + + bytes service_id = 2; + int64 TTL = 3; + uint64 min_safe_point = 4; +} + message RegionStat { // Bytes read/written during this period. uint64 bytes_written = 1; From 0ee5648661fd887b138912db44d297836087b36f Mon Sep 17 00:00:00 2001 From: MyonKeminta <9948422+MyonKeminta@users.noreply.github.com> Date: Sat, 9 May 2020 14:51:37 +0800 Subject: [PATCH 8/9] Add end_key_exclude field to SstMeta and distinguish restoring of RawKv (#581) * Add end_key_exclusive field to SSTMeta * Add is_raw_kv field to download request * Revert changes of unrelated go files Signed-off-by: MyonKeminta * build Co-authored-by: MyonKeminta Signed-off-by: 5kbpers --- pkg/import_sstpb/import_sstpb.pb.go | 271 ++++++++++++++++++---------- proto/import_sstpb.proto | 3 + 2 files changed, 181 insertions(+), 93 deletions(-) diff --git a/pkg/import_sstpb/import_sstpb.pb.go b/pkg/import_sstpb/import_sstpb.pb.go index 415296c56..c689ff241 100644 --- a/pkg/import_sstpb/import_sstpb.pb.go +++ b/pkg/import_sstpb/import_sstpb.pb.go @@ -56,7 +56,7 @@ func (x SwitchMode) String() string { return proto.EnumName(SwitchMode_name, int32(x)) } func (SwitchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{0} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{0} } type SwitchModeRequest struct { @@ -70,7 +70,7 @@ func (m *SwitchModeRequest) Reset() { *m = SwitchModeRequest{} } func (m *SwitchModeRequest) String() string { return proto.CompactTextString(m) } func (*SwitchModeRequest) ProtoMessage() {} func (*SwitchModeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{0} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{0} } func (m *SwitchModeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -116,7 +116,7 @@ func (m *SwitchModeResponse) Reset() { *m = SwitchModeResponse{} } func (m *SwitchModeResponse) String() string { return proto.CompactTextString(m) } func (*SwitchModeResponse) ProtoMessage() {} func (*SwitchModeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{1} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{1} } func (m *SwitchModeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *Range) Reset() { *m = Range{} } func (m *Range) String() string { return proto.CompactTextString(m) } func (*Range) ProtoMessage() {} func (*Range) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{2} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{2} } func (m *Range) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -208,6 +208,7 @@ type SSTMeta struct { CfName string `protobuf:"bytes,5,opt,name=cf_name,json=cfName,proto3" json:"cf_name,omitempty"` RegionId uint64 `protobuf:"varint,6,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,7,opt,name=region_epoch,json=regionEpoch" json:"region_epoch,omitempty"` + EndKeyExclusive bool `protobuf:"varint,8,opt,name=end_key_exclusive,json=endKeyExclusive,proto3" json:"end_key_exclusive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -217,7 +218,7 @@ func (m *SSTMeta) Reset() { *m = SSTMeta{} } func (m *SSTMeta) String() string { return proto.CompactTextString(m) } func (*SSTMeta) ProtoMessage() {} func (*SSTMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{3} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{3} } func (m *SSTMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -295,6 +296,13 @@ func (m *SSTMeta) GetRegionEpoch() *metapb.RegionEpoch { return nil } +func (m *SSTMeta) GetEndKeyExclusive() bool { + if m != nil { + return m.EndKeyExclusive + } + return false +} + // A rewrite rule is applied on the *encoded* keys (the internal storage // representation). type RewriteRule struct { @@ -310,7 +318,7 @@ func (m *RewriteRule) Reset() { *m = RewriteRule{} } func (m *RewriteRule) String() string { return proto.CompactTextString(m) } func (*RewriteRule) ProtoMessage() {} func (*RewriteRule) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{4} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{4} } func (m *RewriteRule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -374,7 +382,7 @@ func (m *UploadRequest) Reset() { *m = UploadRequest{} } func (m *UploadRequest) String() string { return proto.CompactTextString(m) } func (*UploadRequest) ProtoMessage() {} func (*UploadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{5} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{5} } func (m *UploadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -520,7 +528,7 @@ func (m *UploadResponse) Reset() { *m = UploadResponse{} } func (m *UploadResponse) String() string { return proto.CompactTextString(m) } func (*UploadResponse) ProtoMessage() {} func (*UploadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{6} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{6} } func (m *UploadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -561,7 +569,7 @@ func (m *IngestRequest) Reset() { *m = IngestRequest{} } func (m *IngestRequest) String() string { return proto.CompactTextString(m) } func (*IngestRequest) ProtoMessage() {} func (*IngestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{7} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{7} } func (m *IngestRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -615,7 +623,7 @@ func (m *IngestResponse) Reset() { *m = IngestResponse{} } func (m *IngestResponse) String() string { return proto.CompactTextString(m) } func (*IngestResponse) ProtoMessage() {} func (*IngestResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{8} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{8} } func (m *IngestResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -666,7 +674,7 @@ func (m *CompactRequest) Reset() { *m = CompactRequest{} } func (m *CompactRequest) String() string { return proto.CompactTextString(m) } func (*CompactRequest) ProtoMessage() {} func (*CompactRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{9} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{9} } func (m *CompactRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -719,7 +727,7 @@ func (m *CompactResponse) Reset() { *m = CompactResponse{} } func (m *CompactResponse) String() string { return proto.CompactTextString(m) } func (*CompactResponse) ProtoMessage() {} func (*CompactResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{10} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{10} } func (m *CompactResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -771,6 +779,7 @@ type DownloadRequest struct { // same order, otherwise the RPC request will fail. RewriteRule RewriteRule `protobuf:"bytes,13,opt,name=rewrite_rule,json=rewriteRule" json:"rewrite_rule"` StorageBackend *backup.StorageBackend `protobuf:"bytes,14,opt,name=storage_backend,json=storageBackend" json:"storage_backend,omitempty"` + IsRawKv bool `protobuf:"varint,15,opt,name=is_raw_kv,json=isRawKv,proto3" json:"is_raw_kv,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -780,7 +789,7 @@ func (m *DownloadRequest) Reset() { *m = DownloadRequest{} } func (m *DownloadRequest) String() string { return proto.CompactTextString(m) } func (*DownloadRequest) ProtoMessage() {} func (*DownloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{11} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{11} } func (m *DownloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -837,6 +846,13 @@ func (m *DownloadRequest) GetStorageBackend() *backup.StorageBackend { return nil } +func (m *DownloadRequest) GetIsRawKv() bool { + if m != nil { + return m.IsRawKv + } + return false +} + // For now it is just used for distinguishing the error of the request with the error // of gRPC, add more concrete types if it is necessary later. type Error struct { @@ -850,7 +866,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{12} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{12} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -903,7 +919,7 @@ func (m *DownloadResponse) Reset() { *m = DownloadResponse{} } func (m *DownloadResponse) String() string { return proto.CompactTextString(m) } func (*DownloadResponse) ProtoMessage() {} func (*DownloadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{13} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{13} } func (m *DownloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -965,7 +981,7 @@ func (m *SetDownloadSpeedLimitRequest) Reset() { *m = SetDownloadSpeedLi func (m *SetDownloadSpeedLimitRequest) String() string { return proto.CompactTextString(m) } func (*SetDownloadSpeedLimitRequest) ProtoMessage() {} func (*SetDownloadSpeedLimitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{14} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{14} } func (m *SetDownloadSpeedLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1011,7 +1027,7 @@ func (m *SetDownloadSpeedLimitResponse) Reset() { *m = SetDownloadSpeedL func (m *SetDownloadSpeedLimitResponse) String() string { return proto.CompactTextString(m) } func (*SetDownloadSpeedLimitResponse) ProtoMessage() {} func (*SetDownloadSpeedLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{15} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{15} } func (m *SetDownloadSpeedLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1052,7 +1068,7 @@ func (m *Pair) Reset() { *m = Pair{} } func (m *Pair) String() string { return proto.CompactTextString(m) } func (*Pair) ProtoMessage() {} func (*Pair) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{16} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{16} } func (m *Pair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1107,7 +1123,7 @@ func (m *WriteBatch) Reset() { *m = WriteBatch{} } func (m *WriteBatch) String() string { return proto.CompactTextString(m) } func (*WriteBatch) ProtoMessage() {} func (*WriteBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{17} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{17} } func (m *WriteBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1164,7 +1180,7 @@ func (m *WriteRequest) Reset() { *m = WriteRequest{} } func (m *WriteRequest) String() string { return proto.CompactTextString(m) } func (*WriteRequest) ProtoMessage() {} func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{18} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{18} } func (m *WriteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1316,7 +1332,7 @@ func (m *WriteResponse) Reset() { *m = WriteResponse{} } func (m *WriteResponse) String() string { return proto.CompactTextString(m) } func (*WriteResponse) ProtoMessage() {} func (*WriteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca, []int{19} + return fileDescriptor_import_sstpb_502e56bc1173f696, []int{19} } func (m *WriteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1878,6 +1894,16 @@ func (m *SSTMeta) MarshalTo(dAtA []byte) (int, error) { } i += n2 } + if m.EndKeyExclusive { + dAtA[i] = 0x40 + i++ + if m.EndKeyExclusive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -2171,6 +2197,16 @@ func (m *DownloadRequest) MarshalTo(dAtA []byte) (int, error) { } i += n11 } + if m.IsRawKv { + dAtA[i] = 0x78 + i++ + if m.IsRawKv { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -2545,6 +2581,9 @@ func (m *SSTMeta) Size() (n int) { l = m.RegionEpoch.Size() n += 1 + l + sovImportSstpb(uint64(l)) } + if m.EndKeyExclusive { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2680,6 +2719,9 @@ func (m *DownloadRequest) Size() (n int) { l = m.StorageBackend.Size() n += 1 + l + sovImportSstpb(uint64(l)) } + if m.IsRawKv { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -3281,6 +3323,26 @@ func (m *SSTMeta) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndKeyExclusive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowImportSstpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.EndKeyExclusive = bool(v != 0) default: iNdEx = preIndex skippy, err := skipImportSstpb(dAtA[iNdEx:]) @@ -4105,6 +4167,26 @@ func (m *DownloadRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsRawKv", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowImportSstpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.IsRawKv = bool(v != 0) default: iNdEx = preIndex skippy, err := skipImportSstpb(dAtA[iNdEx:]) @@ -5011,76 +5093,79 @@ var ( ErrIntOverflowImportSstpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca) } - -var fileDescriptor_import_sstpb_cd7d4af5b6c0f6ca = []byte{ - // 1075 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4b, 0x73, 0x1b, 0x45, - 0x10, 0xd6, 0x46, 0xbb, 0x7a, 0xb4, 0x1e, 0x56, 0x06, 0x27, 0x28, 0x4a, 0x62, 0x2b, 0x4b, 0x0a, - 0x14, 0x1b, 0x64, 0x4a, 0xa9, 0xca, 0x35, 0x85, 0x12, 0x17, 0x36, 0x79, 0x54, 0x18, 0x99, 0xe2, - 0x40, 0x15, 0xaa, 0xf5, 0xee, 0x58, 0xde, 0xd2, 0xbe, 0x98, 0x99, 0x95, 0xe3, 0x0b, 0x77, 0xfe, - 0x01, 0x3f, 0x81, 0x7f, 0xc1, 0x35, 0x47, 0x8e, 0x9c, 0x28, 0xca, 0xe4, 0x87, 0x50, 0xf3, 0x58, - 0x49, 0xab, 0x92, 0x62, 0x8a, 0x93, 0xa6, 0xbb, 0xbf, 0xe9, 0xee, 0xe9, 0xfe, 0xba, 0x57, 0x80, - 0xfc, 0x30, 0x89, 0x29, 0x1f, 0x33, 0xc6, 0x93, 0xd3, 0x7e, 0x42, 0x63, 0x1e, 0xa3, 0xfa, 0xb2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a7, 0x2b, 0x9f, 0x85, 0x45, 0xb2, 0x47, 0x05, 0xac, - 0x80, 0x8b, 0xbd, 0x30, 0x81, 0x86, 0x8e, 0xab, 0xdb, 0xfc, 0x28, 0x3f, 0x9e, 0x1f, 0x68, 0x0d, - 0xda, 0x07, 0x4b, 0x84, 0xcf, 0x5e, 0xb7, 0x61, 0x0d, 0x28, 0xcc, 0xde, 0x43, 0x80, 0xc5, 0xb7, - 0x08, 0x01, 0x94, 0x5e, 0xc7, 0x34, 0x74, 0x82, 0x56, 0x41, 0x9c, 0x8f, 0xe5, 0xc5, 0x96, 0x31, - 0xf8, 0xdd, 0x84, 0xaa, 0x12, 0x46, 0xa3, 0x13, 0xf4, 0x6d, 0xee, 0xce, 0xee, 0xc6, 0xaf, 0x9d, - 0xaa, 0x59, 0xa7, 0xbb, 0x19, 0xa0, 0x5b, 0x5d, 0x40, 0x5f, 0x43, 0x49, 0xed, 0x41, 0x74, 0x37, - 0x8f, 0xce, 0xad, 0xde, 0xce, 0xbd, 0xf5, 0xc6, 0xcc, 0x4d, 0xcf, 0x40, 0x87, 0x50, 0x52, 0x8b, - 0x6d, 0xd5, 0x51, 0x6e, 0xa9, 0xae, 0x3a, 0xca, 0xef, 0x42, 0xbb, 0x80, 0x8e, 0xa0, 0xac, 0xf7, - 0x10, 0x5a, 0x81, 0xe6, 0xd7, 0x5f, 0xe7, 0xfe, 0x06, 0xeb, 0xdc, 0x13, 0x85, 0x5b, 0x6b, 0x79, - 0x8e, 0xf6, 0x56, 0xca, 0xf2, 0x81, 0x69, 0xea, 0xec, 0xff, 0x27, 0xec, 0x3c, 0xe6, 0x0b, 0xa8, - 0x64, 0x76, 0xb4, 0x92, 0xe0, 0xca, 0x26, 0xed, 0xec, 0x6c, 0x32, 0xcf, 0x9d, 0x3d, 0x07, 0x4b, - 0x52, 0x11, 0x75, 0xd6, 0xf0, 0x37, 0x73, 0x73, 0x77, 0xad, 0x6d, 0xd1, 0x97, 0xe1, 0xa7, 0x7f, - 0xfe, 0x56, 0x31, 0xde, 0x5d, 0xed, 0x18, 0x7f, 0x5c, 0xed, 0x18, 0x7f, 0x5f, 0xed, 0x18, 0xbf, - 0xfe, 0xb3, 0x53, 0x80, 0x56, 0x4c, 0x27, 0x7d, 0xee, 0x4f, 0x67, 0xfd, 0xe9, 0x4c, 0xfe, 0xbd, - 0x3a, 0x2d, 0xc9, 0x9f, 0xc7, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x60, 0xaf, 0xe8, 0x05, 0xea, - 0x09, 0x00, 0x00, +func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_502e56bc1173f696) } + +var fileDescriptor_import_sstpb_502e56bc1173f696 = []byte{ + // 1121 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4b, 0x8f, 0x1b, 0x45, + 0x10, 0xf6, 0xec, 0xce, 0xf8, 0x51, 0x7e, 0xac, 0xd3, 0x6c, 0xc2, 0xc4, 0x49, 0x76, 0x9d, 0x21, + 0x02, 0x67, 0x03, 0x0e, 0xda, 0x48, 0xb9, 0x46, 0x38, 0x59, 0x91, 0x90, 0x87, 0x42, 0x7b, 0x11, + 0x07, 0x24, 0x46, 0xb3, 0x33, 0x1d, 0xef, 0xc8, 0xf3, 0xa2, 0xbb, 0xc7, 0xce, 0x5e, 0x10, 0x57, + 0x6e, 0x1c, 0xf9, 0x09, 0xfc, 0x0b, 0xae, 0x39, 0x72, 0xe4, 0x84, 0x50, 0xf8, 0x23, 0xa8, 0x1f, + 0x63, 0x7b, 0x2c, 0x3b, 0x41, 0x9c, 0xdc, 0x55, 0xf5, 0x75, 0x55, 0x75, 0xd7, 0xd7, 0xdf, 0x18, + 0x50, 0x18, 0x67, 0x29, 0xe5, 0x2e, 0x63, 0x3c, 0x3b, 0x1b, 0x66, 0x34, 0xe5, 0x29, 0x6a, 0xad, + 0xfa, 0x7a, 0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0x9c, 0xe9, 0xea, 0x75, + 0xe5, 0x38, 0x65, 0x68, 0x00, 0x56, 0xe6, 0x85, 0x94, 0xd9, 0x3b, 0xfd, 0xdd, 0x41, 0xf3, 0x18, + 0x95, 0xcf, 0x29, 0xaa, 0x62, 0x05, 0x70, 0x66, 0xd0, 0x92, 0x49, 0xff, 0x97, 0x2e, 0x7c, 0x0e, + 0xd6, 0x99, 0x68, 0x46, 0x73, 0x78, 0xed, 0xf3, 0xb2, 0x6c, 0xf6, 0x71, 0x05, 0x2b, 0xe0, 0x52, + 0x33, 0x26, 0xd0, 0xd6, 0x75, 0xf5, 0x98, 0x6f, 0x97, 0x9f, 0xee, 0x3b, 0x46, 0x83, 0xee, 0x80, + 0x25, 0xca, 0x17, 0xa7, 0xdb, 0x22, 0x11, 0x0a, 0x73, 0x74, 0x0b, 0x60, 0xf9, 0x4d, 0x43, 0x00, + 0xd5, 0x17, 0x29, 0x8d, 0xbd, 0xa8, 0x5b, 0x11, 0xeb, 0x27, 0x72, 0x63, 0xd7, 0x38, 0xfe, 0xdd, + 0x84, 0x86, 0x32, 0xc6, 0xe3, 0x53, 0xf4, 0x75, 0x69, 0xcf, 0xe1, 0xd6, 0xaf, 0xa6, 0xba, 0xb3, + 0x5e, 0x7f, 0x3b, 0x40, 0x8f, 0xba, 0x82, 0xbe, 0x84, 0xaa, 0xd2, 0x48, 0x74, 0xad, 0x8c, 0x2e, + 0xc9, 0x72, 0xef, 0xfa, 0xe6, 0x60, 0x91, 0x66, 0x60, 0xa0, 0x13, 0xa8, 0x2a, 0xd1, 0x5b, 0x4f, + 0x54, 0x12, 0xdc, 0xf5, 0x44, 0x65, 0x9d, 0x74, 0x2a, 0xe8, 0x31, 0xd4, 0xb4, 0x46, 0xa1, 0x35, + 0x68, 0x59, 0x1a, 0x7b, 0x37, 0xb6, 0x44, 0x17, 0x99, 0x28, 0x5c, 0xde, 0xc8, 0x73, 0x74, 0xb4, + 0x76, 0x2d, 0xef, 0x78, 0x4d, 0xbd, 0x3b, 0xff, 0x09, 0xbb, 0xa8, 0xf9, 0x14, 0xea, 0x45, 0x1c, + 0xad, 0x35, 0xb8, 0xa6, 0xb2, 0xbd, 0x83, 0x6d, 0xe1, 0x45, 0xb2, 0x47, 0x60, 0x49, 0x2a, 0xa2, + 0xde, 0x06, 0xfe, 0x16, 0x69, 0xae, 0x6d, 0x8c, 0x2d, 0xe7, 0x32, 0xfa, 0xf8, 0xcf, 0xdf, 0xea, + 0xc6, 0x9b, 0xb7, 0x07, 0xc6, 0x1f, 0x6f, 0x0f, 0x8c, 0xbf, 0xdf, 0x1e, 0x18, 0xbf, 0xfe, 0x73, + 0x50, 0x81, 0x6e, 0x4a, 0x27, 0x43, 0x1e, 0x4e, 0x67, 0xc3, 0xe9, 0x4c, 0xfe, 0x4d, 0x3b, 0xab, + 0xca, 0x9f, 0x7b, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xae, 0x1e, 0x5e, 0xc2, 0x32, 0x0a, 0x00, + 0x00, } diff --git a/proto/import_sstpb.proto b/proto/import_sstpb.proto index df106ad1c..02f227bb0 100644 --- a/proto/import_sstpb.proto +++ b/proto/import_sstpb.proto @@ -75,6 +75,7 @@ message SSTMeta { string cf_name = 5; uint64 region_id = 6; metapb.RegionEpoch region_epoch = 7; + bool end_key_exclusive = 8; } // A rewrite rule is applied on the *encoded* keys (the internal storage @@ -144,6 +145,8 @@ message DownloadRequest { RewriteRule rewrite_rule = 13 [(gogoproto.nullable) = false]; backup.StorageBackend storage_backend = 14; + + bool is_raw_kv = 15; } // For now it is just used for distinguishing the error of the request with the error From 5fe44049e7d2689e3be4519a689fd78926b411c5 Mon Sep 17 00:00:00 2001 From: 5kbpers Date: Tue, 18 Aug 2020 14:37:45 +0800 Subject: [PATCH 9/9] Revert "cdc: add regions field for reducing message of resolved ts" This reverts commit c382b16664e282fc60f2e6ac56fea63d9973b306. Signed-off-by: 5kbpers --- pkg/cdcpb/cdcpb.pb.go | 275 ++++++++++++++---------------------------- proto/cdcpb.proto | 1 - 2 files changed, 90 insertions(+), 186 deletions(-) diff --git a/pkg/cdcpb/cdcpb.pb.go b/pkg/cdcpb/cdcpb.pb.go index 9c6e70a4d..1b485f7d0 100644 --- a/pkg/cdcpb/cdcpb.pb.go +++ b/pkg/cdcpb/cdcpb.pb.go @@ -68,7 +68,7 @@ func (x Event_LogType) String() string { return proto.EnumName(Event_LogType_name, int32(x)) } func (Event_LogType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 0} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 0} } type Event_Row_OpType int32 @@ -94,7 +94,7 @@ func (x Event_Row_OpType) String() string { return proto.EnumName(Event_Row_OpType_name, int32(x)) } func (Event_Row_OpType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 0, 0} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 0, 0} } type Header struct { @@ -108,7 +108,7 @@ func (m *Header) Reset() { *m = Header{} } func (m *Header) String() string { return proto.CompactTextString(m) } func (*Header) ProtoMessage() {} func (*Header) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{0} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{0} } func (m *Header) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -158,7 +158,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{1} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{1} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -226,7 +226,7 @@ func (m *Error_DuplicateRequest) Reset() { *m = Error_DuplicateRequest{} func (m *Error_DuplicateRequest) String() string { return proto.CompactTextString(m) } func (*Error_DuplicateRequest) ProtoMessage() {} func (*Error_DuplicateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{1, 0} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{1, 0} } func (m *Error_DuplicateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -263,10 +263,9 @@ func (m *Error_DuplicateRequest) GetRegionId() uint64 { } type Event struct { - RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - RequestId uint64 `protobuf:"varint,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - Regions []uint64 `protobuf:"varint,8,rep,packed,name=regions" json:"regions,omitempty"` + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + RequestId uint64 `protobuf:"varint,7,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Types that are valid to be assigned to Event: // *Event_Entries_ // *Event_Admin_ @@ -282,7 +281,7 @@ func (m *Event) Reset() { *m = Event{} } func (m *Event) String() string { return proto.CompactTextString(m) } func (*Event) ProtoMessage() {} func (*Event) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{2} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2} } func (m *Event) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -363,13 +362,6 @@ func (m *Event) GetRequestId() uint64 { return 0 } -func (m *Event) GetRegions() []uint64 { - if m != nil { - return m.Regions - } - return nil -} - func (m *Event) GetEntries() *Event_Entries { if x, ok := m.GetEvent().(*Event_Entries_); ok { return x.Entries @@ -522,7 +514,7 @@ func (m *Event_Row) Reset() { *m = Event_Row{} } func (m *Event_Row) String() string { return proto.CompactTextString(m) } func (*Event_Row) ProtoMessage() {} func (*Event_Row) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 0} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 0} } func (m *Event_Row) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -611,7 +603,7 @@ func (m *Event_Entries) Reset() { *m = Event_Entries{} } func (m *Event_Entries) String() string { return proto.CompactTextString(m) } func (*Event_Entries) ProtoMessage() {} func (*Event_Entries) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 1} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 1} } func (m *Event_Entries) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -659,7 +651,7 @@ func (m *Event_Admin) Reset() { *m = Event_Admin{} } func (m *Event_Admin) String() string { return proto.CompactTextString(m) } func (*Event_Admin) ProtoMessage() {} func (*Event_Admin) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{2, 2} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{2, 2} } func (m *Event_Admin) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -713,7 +705,7 @@ func (m *ChangeDataEvent) Reset() { *m = ChangeDataEvent{} } func (m *ChangeDataEvent) String() string { return proto.CompactTextString(m) } func (*ChangeDataEvent) ProtoMessage() {} func (*ChangeDataEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{3} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{3} } func (m *ChangeDataEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -768,7 +760,7 @@ func (m *ChangeDataRequest) Reset() { *m = ChangeDataRequest{} } func (m *ChangeDataRequest) String() string { return proto.CompactTextString(m) } func (*ChangeDataRequest) ProtoMessage() {} func (*ChangeDataRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cdcpb_b4939cebb266957c, []int{4} + return fileDescriptor_cdcpb_2e99764ce76e8347, []int{4} } func (m *ChangeDataRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1121,23 +1113,6 @@ func (m *Event) MarshalTo(dAtA []byte) (int, error) { i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.RequestId)) } - if len(m.Regions) > 0 { - dAtA7 := make([]byte, len(m.Regions)*10) - var j6 int - for _, num := range m.Regions { - for num >= 1<<7 { - dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j6++ - } - dAtA7[j6] = uint8(num) - j6++ - } - dAtA[i] = 0x42 - i++ - i = encodeVarintCdcpb(dAtA, i, uint64(j6)) - i += copy(dAtA[i:], dAtA7[:j6]) - } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -1150,11 +1125,11 @@ func (m *Event_Entries_) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Entries.Size())) - n8, err := m.Entries.MarshalTo(dAtA[i:]) + n6, err := m.Entries.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n8 + i += n6 } return i, nil } @@ -1164,11 +1139,11 @@ func (m *Event_Admin_) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x22 i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Admin.Size())) - n9, err := m.Admin.MarshalTo(dAtA[i:]) + n7, err := m.Admin.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n9 + i += n7 } return i, nil } @@ -1178,11 +1153,11 @@ func (m *Event_Error) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Error.Size())) - n10, err := m.Error.MarshalTo(dAtA[i:]) + n8, err := m.Error.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n10 + i += n8 } return i, nil } @@ -1304,21 +1279,21 @@ func (m *Event_Admin) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.AdminRequest.Size())) - n11, err := m.AdminRequest.MarshalTo(dAtA[i:]) + n9, err := m.AdminRequest.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n11 + i += n9 } if m.AdminResponse != nil { dAtA[i] = 0x12 i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.AdminResponse.Size())) - n12, err := m.AdminResponse.MarshalTo(dAtA[i:]) + n10, err := m.AdminResponse.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n12 + i += n10 } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) @@ -1378,11 +1353,11 @@ func (m *ChangeDataRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.Header.Size())) - n13, err := m.Header.MarshalTo(dAtA[i:]) + n11, err := m.Header.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n13 + i += n11 } if m.RegionId != 0 { dAtA[i] = 0x10 @@ -1393,11 +1368,11 @@ func (m *ChangeDataRequest) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintCdcpb(dAtA, i, uint64(m.RegionEpoch.Size())) - n14, err := m.RegionEpoch.MarshalTo(dAtA[i:]) + n12, err := m.RegionEpoch.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n14 + i += n12 } if m.CheckpointTs != 0 { dAtA[i] = 0x20 @@ -1505,13 +1480,6 @@ func (m *Event) Size() (n int) { if m.RequestId != 0 { n += 1 + sovCdcpb(uint64(m.RequestId)) } - if len(m.Regions) > 0 { - l = 0 - for _, e := range m.Regions { - l += sovCdcpb(uint64(e)) - } - n += 1 + sovCdcpb(uint64(l)) + l - } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2206,68 +2174,6 @@ func (m *Event) Unmarshal(dAtA []byte) error { break } } - case 8: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCdcpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.Regions = append(m.Regions, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCdcpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthCdcpb - } - postIndex := iNdEx + packedLen - if postIndex > l { - return io.ErrUnexpectedEOF - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCdcpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.Regions = append(m.Regions, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) - } default: iNdEx = preIndex skippy, err := skipCdcpb(dAtA[iNdEx:]) @@ -3151,67 +3057,66 @@ var ( ErrIntOverflowCdcpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("cdcpb.proto", fileDescriptor_cdcpb_b4939cebb266957c) } - -var fileDescriptor_cdcpb_b4939cebb266957c = []byte{ - // 935 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0x5f, 0x8f, 0xdb, 0x44, - 0x10, 0x8f, 0x93, 0xd8, 0x4e, 0x26, 0xc9, 0x9d, 0xbb, 0x9c, 0x7a, 0x6e, 0x50, 0x4f, 0x47, 0x28, - 0x10, 0x15, 0xc9, 0x2d, 0x87, 0x80, 0x27, 0x10, 0xb9, 0x8b, 0xab, 0x0b, 0x97, 0x4b, 0xaa, 0x95, - 0x4b, 0x25, 0x1e, 0x88, 0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 0xad, 0x38, 0x5c, 0x53, 0xb4, 0x96, - 0x6c, 0x0c, 0xf2, 0x3e, 0x34, 0x82, 0x09, 0x0b, 0x66, 0x31, 0x9f, 0x46, 0xd8, 0xe3, 0x65, 0x4c, - 0x5c, 0xdf, 0x38, 0xd5, 0x10, 0xa8, 0xf9, 0xd8, 0x74, 0xa4, 0x1a, 0x98, 0x2b, 0x76, 0x43, 0x8e, - 0x65, 0xb3, 0x84, 0x08, 0xa9, 0xc6, 0x34, 0x58, 0x14, 0x4a, 0xe0, 0x2d, 0x63, 0xf9, 0x31, 0x54, - 0xd8, 0x6b, 0x91, 0xf8, 0x23, 0x1e, 0xdb, 0x15, 0x9c, 0x09, 0xcb, 0xc9, 0x3f, 0x24, 0xae, 0x04, - 0x86, 0x31, 0x35, 0x99, 0x3a, 0x9c, 0x0d, 0x01, 0x36, 0xba, 0x91, 0x0e, 0x54, 0x51, 0xd7, 0x27, - 0x8c, 0x85, 0xc4, 0xce, 0xd4, 0x7a, 0x43, 0xd7, 0xe6, 0xdd, 0x37, 0x10, 0x8c, 0x6a, 0x6b, 0x8f, - 0xb5, 0xf3, 0x0f, 0xff, 0xfa, 0xa5, 0xa2, 0xfd, 0x7e, 0x7b, 0xa2, 0xfd, 0x71, 0x7b, 0xa2, 0xfd, - 0x7d, 0x7b, 0xa2, 0xfd, 0xfc, 0xcf, 0x49, 0x01, 0x2c, 0x9e, 0x8c, 0x1d, 0x31, 0x9d, 0xad, 0x9c, - 0xd9, 0x0a, 0xbf, 0x52, 0x2f, 0x0c, 0xfc, 0xf9, 0xf4, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, - 0xfb, 0x4e, 0x38, 0x27, 0x07, 0x00, 0x00, +func init() { proto.RegisterFile("cdcpb.proto", fileDescriptor_cdcpb_2e99764ce76e8347) } + +var fileDescriptor_cdcpb_2e99764ce76e8347 = []byte{ + // 923 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x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0xff, 0x76, 0x3c, 0xe5, 0x60, 0x0d, 0x07, 0x00, 0x00, } diff --git a/proto/cdcpb.proto b/proto/cdcpb.proto index aa93893fa..bcb22804c 100644 --- a/proto/cdcpb.proto +++ b/proto/cdcpb.proto @@ -69,7 +69,6 @@ message Event { uint64 region_id = 1; uint64 index = 2; uint64 request_id = 7; - repeated uint64 regions = 8; oneof event { Entries entries = 3; Admin admin = 4;