From 3bbc4cca9e0ba0dbb04a0aeb2b5173c496ca2593 Mon Sep 17 00:00:00 2001 From: Lonng Date: Tue, 29 Oct 2019 17:58:32 +0800 Subject: [PATCH] metapb: add status_address/git_hash fields to store meta Signed-off-by: Lonng --- go.mod | 2 + pkg/backup/backup.pb.go | 18 +-- pkg/coprocessor/coprocessor.pb.go | 10 +- pkg/deadlock/deadlock.pb.go | 16 +-- pkg/debugpb/debugpb.pb.go | 76 +++++------ pkg/enginepb/enginepb.pb.go | 24 ++-- pkg/eraftpb/eraftpb.pb.go | 24 ++-- pkg/errorpb/errorpb.pb.go | 22 ++-- pkg/import_kvpb/import_kvpb.pb.go | 56 ++++---- pkg/import_sstpb/import_sstpb.pb.go | 32 ++--- pkg/kvrpcpb/kvrpcpb.pb.go | 170 ++++++++++++------------ pkg/metapb/metapb.pb.go | 182 ++++++++++++++++++++------ pkg/pdpb/pdpb.pb.go | 132 +++++++++---------- pkg/raft_cmdpb/raft_cmdpb.pb.go | 106 +++++++-------- pkg/raft_serverpb/raft_serverpb.pb.go | 32 ++--- pkg/tikvpb/tikvpb.pb.go | 18 +-- proto/metapb.proto | 3 + 17 files changed, 512 insertions(+), 411 deletions(-) diff --git a/go.mod b/go.mod index cc14c64db..0cee735dc 100644 --- a/go.mod +++ b/go.mod @@ -10,3 +10,5 @@ require ( google.golang.org/genproto v0.0.0-20181004005441-af9cb2a35e7f // indirect google.golang.org/grpc v0.0.0-20180607172857-7a6a684ca69e ) + +go 1.13 diff --git a/pkg/backup/backup.pb.go b/pkg/backup/backup.pb.go index 75d4d422b..f7e322645 100644 --- a/pkg/backup/backup.pb.go +++ b/pkg/backup/backup.pb.go @@ -59,7 +59,7 @@ func (m *BackupMeta) Reset() { *m = BackupMeta{} } func (m *BackupMeta) String() string { return proto.CompactTextString(m) } func (*BackupMeta) ProtoMessage() {} func (*BackupMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_e9bbe39a88057486, []int{0} + return fileDescriptor_backup_67bef79804aaf09a, []int{0} } func (m *BackupMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -156,7 +156,7 @@ func (m *File) Reset() { *m = File{} } func (m *File) String() string { return proto.CompactTextString(m) } func (*File) ProtoMessage() {} func (*File) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_e9bbe39a88057486, []int{1} + return fileDescriptor_backup_67bef79804aaf09a, []int{1} } func (m *File) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -263,7 +263,7 @@ func (m *Schema) Reset() { *m = Schema{} } func (m *Schema) String() string { return proto.CompactTextString(m) } func (*Schema) ProtoMessage() {} func (*Schema) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_e9bbe39a88057486, []int{2} + return fileDescriptor_backup_67bef79804aaf09a, []int{2} } func (m *Schema) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -339,7 +339,7 @@ func (m *ClusterIDError) Reset() { *m = ClusterIDError{} } func (m *ClusterIDError) String() string { return proto.CompactTextString(m) } func (*ClusterIDError) ProtoMessage() {} func (*ClusterIDError) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_e9bbe39a88057486, []int{3} + return fileDescriptor_backup_67bef79804aaf09a, []int{3} } func (m *ClusterIDError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -398,7 +398,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_backup_e9bbe39a88057486, []int{4} + return fileDescriptor_backup_67bef79804aaf09a, []int{4} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -596,7 +596,7 @@ func (m *BackupRequest) Reset() { *m = BackupRequest{} } func (m *BackupRequest) String() string { return proto.CompactTextString(m) } func (*BackupRequest) ProtoMessage() {} func (*BackupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_e9bbe39a88057486, []int{5} + return fileDescriptor_backup_67bef79804aaf09a, []int{5} } func (m *BackupRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -695,7 +695,7 @@ func (m *BackupResponse) Reset() { *m = BackupResponse{} } func (m *BackupResponse) String() string { return proto.CompactTextString(m) } func (*BackupResponse) ProtoMessage() {} func (*BackupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_backup_e9bbe39a88057486, []int{6} + return fileDescriptor_backup_67bef79804aaf09a, []int{6} } func (m *BackupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2974,9 +2974,9 @@ var ( ErrIntOverflowBackup = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("backup.proto", fileDescriptor_backup_e9bbe39a88057486) } +func init() { proto.RegisterFile("backup.proto", fileDescriptor_backup_67bef79804aaf09a) } -var fileDescriptor_backup_e9bbe39a88057486 = []byte{ +var fileDescriptor_backup_67bef79804aaf09a = []byte{ // 687 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcd, 0x6e, 0xd3, 0x40, 0x10, 0xee, 0x26, 0xb6, 0x93, 0x4c, 0x7e, 0x5a, 0x56, 0xa5, 0x58, 0x41, 0x0d, 0x91, 0x2b, 0x41, diff --git a/pkg/coprocessor/coprocessor.pb.go b/pkg/coprocessor/coprocessor.pb.go index c54457e81..541e9da53 100644 --- a/pkg/coprocessor/coprocessor.pb.go +++ b/pkg/coprocessor/coprocessor.pb.go @@ -43,7 +43,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_48290ccf34cc5842, []int{0} + return fileDescriptor_coprocessor_4f845dab5997d199, []int{0} } func (m *KeyRange) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -100,7 +100,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_48290ccf34cc5842, []int{1} + return fileDescriptor_coprocessor_4f845dab5997d199, []int{1} } func (m *Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -173,7 +173,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_48290ccf34cc5842, []int{2} + return fileDescriptor_coprocessor_4f845dab5997d199, []int{2} } func (m *Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1125,9 +1125,9 @@ var ( ErrIntOverflowCoprocessor = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("coprocessor.proto", fileDescriptor_coprocessor_48290ccf34cc5842) } +func init() { proto.RegisterFile("coprocessor.proto", fileDescriptor_coprocessor_4f845dab5997d199) } -var fileDescriptor_coprocessor_48290ccf34cc5842 = []byte{ +var fileDescriptor_coprocessor_4f845dab5997d199 = []byte{ // 436 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x50, 0xbb, 0x6e, 0x13, 0x41, 0x14, 0xcd, 0xfa, 0x15, 0x73, 0xd7, 0x09, 0xce, 0xc8, 0x48, 0xab, 0x14, 0xb6, 0xe5, 0x02, 0x19, diff --git a/pkg/deadlock/deadlock.pb.go b/pkg/deadlock/deadlock.pb.go index be697bb0e..a635b9626 100644 --- a/pkg/deadlock/deadlock.pb.go +++ b/pkg/deadlock/deadlock.pb.go @@ -53,7 +53,7 @@ func (x DeadlockRequestType) String() string { return proto.EnumName(DeadlockRequestType_name, int32(x)) } func (DeadlockRequestType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_deadlock_972337d718b37503, []int{0} + return fileDescriptor_deadlock_457927c5a1d4a76c, []int{0} } type WaitForEntriesRequest struct { @@ -66,7 +66,7 @@ func (m *WaitForEntriesRequest) Reset() { *m = WaitForEntriesRequest{} } func (m *WaitForEntriesRequest) String() string { return proto.CompactTextString(m) } func (*WaitForEntriesRequest) ProtoMessage() {} func (*WaitForEntriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_deadlock_972337d718b37503, []int{0} + return fileDescriptor_deadlock_457927c5a1d4a76c, []int{0} } func (m *WaitForEntriesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -106,7 +106,7 @@ func (m *WaitForEntriesResponse) Reset() { *m = WaitForEntriesResponse{} func (m *WaitForEntriesResponse) String() string { return proto.CompactTextString(m) } func (*WaitForEntriesResponse) ProtoMessage() {} func (*WaitForEntriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_deadlock_972337d718b37503, []int{1} + return fileDescriptor_deadlock_457927c5a1d4a76c, []int{1} } func (m *WaitForEntriesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -158,7 +158,7 @@ func (m *WaitForEntry) Reset() { *m = WaitForEntry{} } func (m *WaitForEntry) String() string { return proto.CompactTextString(m) } func (*WaitForEntry) ProtoMessage() {} func (*WaitForEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_deadlock_972337d718b37503, []int{2} + return fileDescriptor_deadlock_457927c5a1d4a76c, []int{2} } func (m *WaitForEntry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -220,7 +220,7 @@ func (m *DeadlockRequest) Reset() { *m = DeadlockRequest{} } func (m *DeadlockRequest) String() string { return proto.CompactTextString(m) } func (*DeadlockRequest) ProtoMessage() {} func (*DeadlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_deadlock_972337d718b37503, []int{3} + return fileDescriptor_deadlock_457927c5a1d4a76c, []int{3} } func (m *DeadlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -277,7 +277,7 @@ func (m *DeadlockResponse) Reset() { *m = DeadlockResponse{} } func (m *DeadlockResponse) String() string { return proto.CompactTextString(m) } func (*DeadlockResponse) ProtoMessage() {} func (*DeadlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_deadlock_972337d718b37503, []int{4} + return fileDescriptor_deadlock_457927c5a1d4a76c, []int{4} } func (m *DeadlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1273,9 +1273,9 @@ var ( ErrIntOverflowDeadlock = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("deadlock.proto", fileDescriptor_deadlock_972337d718b37503) } +func init() { proto.RegisterFile("deadlock.proto", fileDescriptor_deadlock_457927c5a1d4a76c) } -var fileDescriptor_deadlock_972337d718b37503 = []byte{ +var fileDescriptor_deadlock_457927c5a1d4a76c = []byte{ // 382 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x5d, 0x4e, 0xea, 0x40, 0x14, 0xee, 0x14, 0x2e, 0x90, 0x03, 0x81, 0x72, 0xee, 0xbd, 0x5c, 0x68, 0x72, 0x4b, 0xd3, 0x27, diff --git a/pkg/debugpb/debugpb.pb.go b/pkg/debugpb/debugpb.pb.go index eedee7462..c0c8a1596 100644 --- a/pkg/debugpb/debugpb.pb.go +++ b/pkg/debugpb/debugpb.pb.go @@ -57,7 +57,7 @@ func (x DB) String() string { return proto.EnumName(DB_name, int32(x)) } func (DB) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{0} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{0} } type MODULE int32 @@ -107,7 +107,7 @@ func (x MODULE) String() string { return proto.EnumName(MODULE_name, int32(x)) } func (MODULE) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{1} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{1} } type BottommostLevelCompaction int32 @@ -136,7 +136,7 @@ func (x BottommostLevelCompaction) String() string { return proto.EnumName(BottommostLevelCompaction_name, int32(x)) } func (BottommostLevelCompaction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{2} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{2} } type GetRequest struct { @@ -152,7 +152,7 @@ func (m *GetRequest) Reset() { *m = GetRequest{} } func (m *GetRequest) String() string { return proto.CompactTextString(m) } func (*GetRequest) ProtoMessage() {} func (*GetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{0} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{0} } func (m *GetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -213,7 +213,7 @@ func (m *GetResponse) Reset() { *m = GetResponse{} } func (m *GetResponse) String() string { return proto.CompactTextString(m) } func (*GetResponse) ProtoMessage() {} func (*GetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{1} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{1} } func (m *GetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -261,7 +261,7 @@ func (m *RaftLogRequest) Reset() { *m = RaftLogRequest{} } func (m *RaftLogRequest) String() string { return proto.CompactTextString(m) } func (*RaftLogRequest) ProtoMessage() {} func (*RaftLogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{2} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{2} } func (m *RaftLogRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -315,7 +315,7 @@ func (m *RaftLogResponse) Reset() { *m = RaftLogResponse{} } func (m *RaftLogResponse) String() string { return proto.CompactTextString(m) } func (*RaftLogResponse) ProtoMessage() {} func (*RaftLogResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{3} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{3} } func (m *RaftLogResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -362,7 +362,7 @@ func (m *RegionInfoRequest) Reset() { *m = RegionInfoRequest{} } func (m *RegionInfoRequest) String() string { return proto.CompactTextString(m) } func (*RegionInfoRequest) ProtoMessage() {} func (*RegionInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{4} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{4} } func (m *RegionInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -411,7 +411,7 @@ func (m *RegionInfoResponse) Reset() { *m = RegionInfoResponse{} } func (m *RegionInfoResponse) String() string { return proto.CompactTextString(m) } func (*RegionInfoResponse) ProtoMessage() {} func (*RegionInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{5} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{5} } func (m *RegionInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -473,7 +473,7 @@ func (m *RegionSizeRequest) Reset() { *m = RegionSizeRequest{} } func (m *RegionSizeRequest) String() string { return proto.CompactTextString(m) } func (*RegionSizeRequest) ProtoMessage() {} func (*RegionSizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{6} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{6} } func (m *RegionSizeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -527,7 +527,7 @@ func (m *RegionSizeResponse) Reset() { *m = RegionSizeResponse{} } func (m *RegionSizeResponse) String() string { return proto.CompactTextString(m) } func (*RegionSizeResponse) ProtoMessage() {} func (*RegionSizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{7} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{7} } func (m *RegionSizeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -575,7 +575,7 @@ func (m *RegionSizeResponse_Entry) Reset() { *m = RegionSizeResponse_Ent func (m *RegionSizeResponse_Entry) String() string { return proto.CompactTextString(m) } func (*RegionSizeResponse_Entry) ProtoMessage() {} func (*RegionSizeResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{7, 0} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{7, 0} } func (m *RegionSizeResponse_Entry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -631,7 +631,7 @@ func (m *ScanMvccRequest) Reset() { *m = ScanMvccRequest{} } func (m *ScanMvccRequest) String() string { return proto.CompactTextString(m) } func (*ScanMvccRequest) ProtoMessage() {} func (*ScanMvccRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{8} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{8} } func (m *ScanMvccRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -693,7 +693,7 @@ func (m *ScanMvccResponse) Reset() { *m = ScanMvccResponse{} } func (m *ScanMvccResponse) String() string { return proto.CompactTextString(m) } func (*ScanMvccResponse) ProtoMessage() {} func (*ScanMvccResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{9} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{9} } func (m *ScanMvccResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -752,7 +752,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_debugpb_fd34e7e0c79eff86, []int{10} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{10} } func (m *CompactRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -833,7 +833,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_debugpb_fd34e7e0c79eff86, []int{11} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{11} } func (m *CompactResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -874,7 +874,7 @@ func (m *InjectFailPointRequest) Reset() { *m = InjectFailPointRequest{} func (m *InjectFailPointRequest) String() string { return proto.CompactTextString(m) } func (*InjectFailPointRequest) ProtoMessage() {} func (*InjectFailPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{12} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{12} } func (m *InjectFailPointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -927,7 +927,7 @@ func (m *InjectFailPointResponse) Reset() { *m = InjectFailPointResponse func (m *InjectFailPointResponse) String() string { return proto.CompactTextString(m) } func (*InjectFailPointResponse) ProtoMessage() {} func (*InjectFailPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{13} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{13} } func (m *InjectFailPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -967,7 +967,7 @@ func (m *RecoverFailPointRequest) Reset() { *m = RecoverFailPointRequest func (m *RecoverFailPointRequest) String() string { return proto.CompactTextString(m) } func (*RecoverFailPointRequest) ProtoMessage() {} func (*RecoverFailPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{14} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{14} } func (m *RecoverFailPointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1013,7 +1013,7 @@ func (m *RecoverFailPointResponse) Reset() { *m = RecoverFailPointRespon func (m *RecoverFailPointResponse) String() string { return proto.CompactTextString(m) } func (*RecoverFailPointResponse) ProtoMessage() {} func (*RecoverFailPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{15} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{15} } func (m *RecoverFailPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1052,7 +1052,7 @@ func (m *ListFailPointsRequest) Reset() { *m = ListFailPointsRequest{} } func (m *ListFailPointsRequest) String() string { return proto.CompactTextString(m) } func (*ListFailPointsRequest) ProtoMessage() {} func (*ListFailPointsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{16} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{16} } func (m *ListFailPointsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1092,7 +1092,7 @@ func (m *ListFailPointsResponse) Reset() { *m = ListFailPointsResponse{} func (m *ListFailPointsResponse) String() string { return proto.CompactTextString(m) } func (*ListFailPointsResponse) ProtoMessage() {} func (*ListFailPointsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{17} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{17} } func (m *ListFailPointsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1140,7 +1140,7 @@ func (m *ListFailPointsResponse_Entry) Reset() { *m = ListFailPointsResp func (m *ListFailPointsResponse_Entry) String() string { return proto.CompactTextString(m) } func (*ListFailPointsResponse_Entry) ProtoMessage() {} func (*ListFailPointsResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{17, 0} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{17, 0} } func (m *ListFailPointsResponse_Entry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1194,7 +1194,7 @@ func (m *GetMetricsRequest) Reset() { *m = GetMetricsRequest{} } func (m *GetMetricsRequest) String() string { return proto.CompactTextString(m) } func (*GetMetricsRequest) ProtoMessage() {} func (*GetMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{18} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{18} } func (m *GetMetricsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1245,7 +1245,7 @@ func (m *GetMetricsResponse) Reset() { *m = GetMetricsResponse{} } func (m *GetMetricsResponse) String() string { return proto.CompactTextString(m) } func (*GetMetricsResponse) ProtoMessage() {} func (*GetMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{19} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{19} } func (m *GetMetricsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1320,7 +1320,7 @@ func (m *RegionConsistencyCheckRequest) Reset() { *m = RegionConsistency func (m *RegionConsistencyCheckRequest) String() string { return proto.CompactTextString(m) } func (*RegionConsistencyCheckRequest) ProtoMessage() {} func (*RegionConsistencyCheckRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{20} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{20} } func (m *RegionConsistencyCheckRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1366,7 +1366,7 @@ func (m *RegionConsistencyCheckResponse) Reset() { *m = RegionConsistenc func (m *RegionConsistencyCheckResponse) String() string { return proto.CompactTextString(m) } func (*RegionConsistencyCheckResponse) ProtoMessage() {} func (*RegionConsistencyCheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{21} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{21} } func (m *RegionConsistencyCheckResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1408,7 +1408,7 @@ func (m *ModifyTikvConfigRequest) Reset() { *m = ModifyTikvConfigRequest func (m *ModifyTikvConfigRequest) String() string { return proto.CompactTextString(m) } func (*ModifyTikvConfigRequest) ProtoMessage() {} func (*ModifyTikvConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{22} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{22} } func (m *ModifyTikvConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1468,7 +1468,7 @@ func (m *ModifyTikvConfigResponse) Reset() { *m = ModifyTikvConfigRespon func (m *ModifyTikvConfigResponse) String() string { return proto.CompactTextString(m) } func (*ModifyTikvConfigResponse) ProtoMessage() {} func (*ModifyTikvConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{23} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{23} } func (m *ModifyTikvConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1509,7 +1509,7 @@ func (m *Property) Reset() { *m = Property{} } func (m *Property) String() string { return proto.CompactTextString(m) } func (*Property) ProtoMessage() {} func (*Property) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{24} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{24} } func (m *Property) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1563,7 +1563,7 @@ func (m *GetRegionPropertiesRequest) Reset() { *m = GetRegionPropertiesR func (m *GetRegionPropertiesRequest) String() string { return proto.CompactTextString(m) } func (*GetRegionPropertiesRequest) ProtoMessage() {} func (*GetRegionPropertiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{25} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{25} } func (m *GetRegionPropertiesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1610,7 +1610,7 @@ func (m *GetRegionPropertiesResponse) Reset() { *m = GetRegionProperties func (m *GetRegionPropertiesResponse) String() string { return proto.CompactTextString(m) } func (*GetRegionPropertiesResponse) ProtoMessage() {} func (*GetRegionPropertiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{26} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{26} } func (m *GetRegionPropertiesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1656,7 +1656,7 @@ func (m *GetStoreInfoRequest) Reset() { *m = GetStoreInfoRequest{} } func (m *GetStoreInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetStoreInfoRequest) ProtoMessage() {} func (*GetStoreInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{27} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{27} } func (m *GetStoreInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1696,7 +1696,7 @@ func (m *GetStoreInfoResponse) Reset() { *m = GetStoreInfoResponse{} } func (m *GetStoreInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetStoreInfoResponse) ProtoMessage() {} func (*GetStoreInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{28} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{28} } func (m *GetStoreInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1742,7 +1742,7 @@ func (m *GetClusterInfoRequest) Reset() { *m = GetClusterInfoRequest{} } func (m *GetClusterInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetClusterInfoRequest) ProtoMessage() {} func (*GetClusterInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{29} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{29} } func (m *GetClusterInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1782,7 +1782,7 @@ func (m *GetClusterInfoResponse) Reset() { *m = GetClusterInfoResponse{} func (m *GetClusterInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetClusterInfoResponse) ProtoMessage() {} func (*GetClusterInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_debugpb_fd34e7e0c79eff86, []int{30} + return fileDescriptor_debugpb_b0ba9b224e8564d2, []int{30} } func (m *GetClusterInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7067,9 +7067,9 @@ var ( ErrIntOverflowDebugpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("debugpb.proto", fileDescriptor_debugpb_fd34e7e0c79eff86) } +func init() { proto.RegisterFile("debugpb.proto", fileDescriptor_debugpb_b0ba9b224e8564d2) } -var fileDescriptor_debugpb_fd34e7e0c79eff86 = []byte{ +var fileDescriptor_debugpb_b0ba9b224e8564d2 = []byte{ // 1510 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x57, 0x4b, 0x73, 0x22, 0x47, 0x12, 0xa6, 0x79, 0x93, 0xe8, 0xd1, 0xaa, 0xd1, 0x03, 0xb5, 0x56, 0x12, 0xea, 0x79, 0x29, 0x66, diff --git a/pkg/enginepb/enginepb.pb.go b/pkg/enginepb/enginepb.pb.go index 55e534f0d..5799e90fb 100644 --- a/pkg/enginepb/enginepb.pb.go +++ b/pkg/enginepb/enginepb.pb.go @@ -51,7 +51,7 @@ func (m *CommandRequestHeader) Reset() { *m = CommandRequestHeader{} } func (m *CommandRequestHeader) String() string { return proto.CompactTextString(m) } func (*CommandRequestHeader) ProtoMessage() {} func (*CommandRequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{0} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{0} } func (m *CommandRequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -139,7 +139,7 @@ func (m *CommandRequest) Reset() { *m = CommandRequest{} } func (m *CommandRequest) String() string { return proto.CompactTextString(m) } func (*CommandRequest) ProtoMessage() {} func (*CommandRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{1} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{1} } func (m *CommandRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -207,7 +207,7 @@ func (m *CommandRequestBatch) Reset() { *m = CommandRequestBatch{} } func (m *CommandRequestBatch) String() string { return proto.CompactTextString(m) } func (*CommandRequestBatch) ProtoMessage() {} func (*CommandRequestBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{2} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{2} } func (m *CommandRequestBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -256,7 +256,7 @@ func (m *CommandResponseHeader) Reset() { *m = CommandResponseHeader{} } func (m *CommandResponseHeader) String() string { return proto.CompactTextString(m) } func (*CommandResponseHeader) ProtoMessage() {} func (*CommandResponseHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{3} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{3} } func (m *CommandResponseHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -312,7 +312,7 @@ func (m *CommandResponse) Reset() { *m = CommandResponse{} } func (m *CommandResponse) String() string { return proto.CompactTextString(m) } func (*CommandResponse) ProtoMessage() {} func (*CommandResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{4} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{4} } func (m *CommandResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -373,7 +373,7 @@ func (m *CommandResponseBatch) Reset() { *m = CommandResponseBatch{} } func (m *CommandResponseBatch) String() string { return proto.CompactTextString(m) } func (*CommandResponseBatch) ProtoMessage() {} func (*CommandResponseBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{5} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{5} } func (m *CommandResponseBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -422,7 +422,7 @@ func (m *SnapshotState) Reset() { *m = SnapshotState{} } func (m *SnapshotState) String() string { return proto.CompactTextString(m) } func (*SnapshotState) ProtoMessage() {} func (*SnapshotState) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{6} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{6} } func (m *SnapshotState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -485,7 +485,7 @@ func (m *SnapshotData) Reset() { *m = SnapshotData{} } func (m *SnapshotData) String() string { return proto.CompactTextString(m) } func (*SnapshotData) ProtoMessage() {} func (*SnapshotData) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{7} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{7} } func (m *SnapshotData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -549,7 +549,7 @@ func (m *SnapshotRequest) Reset() { *m = SnapshotRequest{} } func (m *SnapshotRequest) String() string { return proto.CompactTextString(m) } func (*SnapshotRequest) ProtoMessage() {} func (*SnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{8} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{8} } func (m *SnapshotRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -699,7 +699,7 @@ func (m *SnapshotDone) Reset() { *m = SnapshotDone{} } func (m *SnapshotDone) String() string { return proto.CompactTextString(m) } func (*SnapshotDone) ProtoMessage() {} func (*SnapshotDone) Descriptor() ([]byte, []int) { - return fileDescriptor_enginepb_49afd735267d513a, []int{9} + return fileDescriptor_enginepb_3d26096a0d74b990, []int{9} } func (m *SnapshotDone) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2882,9 +2882,9 @@ var ( ErrIntOverflowEnginepb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("enginepb.proto", fileDescriptor_enginepb_49afd735267d513a) } +func init() { proto.RegisterFile("enginepb.proto", fileDescriptor_enginepb_3d26096a0d74b990) } -var fileDescriptor_enginepb_49afd735267d513a = []byte{ +var fileDescriptor_enginepb_3d26096a0d74b990 = []byte{ // 681 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, 0x14, 0xcd, 0xe4, 0xaf, 0xe9, 0x75, 0x92, 0xf6, 0x9b, 0xf6, 0xa3, 0x4e, 0xa0, 0x21, 0x78, 0x81, diff --git a/pkg/eraftpb/eraftpb.pb.go b/pkg/eraftpb/eraftpb.pb.go index 5912d0a01..1f9fb975d 100644 --- a/pkg/eraftpb/eraftpb.pb.go +++ b/pkg/eraftpb/eraftpb.pb.go @@ -42,7 +42,7 @@ func (x EntryType) String() string { return proto.EnumName(EntryType_name, int32(x)) } func (EntryType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{0} + return fileDescriptor_eraftpb_69ef617824e633af, []int{0} } type MessageType int32 @@ -116,7 +116,7 @@ func (x MessageType) String() string { return proto.EnumName(MessageType_name, int32(x)) } func (MessageType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{1} + return fileDescriptor_eraftpb_69ef617824e633af, []int{1} } type ConfChangeType int32 @@ -142,7 +142,7 @@ func (x ConfChangeType) String() string { return proto.EnumName(ConfChangeType_name, int32(x)) } func (ConfChangeType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{2} + return fileDescriptor_eraftpb_69ef617824e633af, []int{2} } // The entry is a type of change that needs to be applied. It contains two data fields. @@ -173,7 +173,7 @@ func (m *Entry) Reset() { *m = Entry{} } func (m *Entry) String() string { return proto.CompactTextString(m) } func (*Entry) ProtoMessage() {} func (*Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{0} + return fileDescriptor_eraftpb_69ef617824e633af, []int{0} } func (m *Entry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -257,7 +257,7 @@ func (m *SnapshotMetadata) Reset() { *m = SnapshotMetadata{} } func (m *SnapshotMetadata) String() string { return proto.CompactTextString(m) } func (*SnapshotMetadata) ProtoMessage() {} func (*SnapshotMetadata) Descriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{1} + return fileDescriptor_eraftpb_69ef617824e633af, []int{1} } func (m *SnapshotMetadata) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -319,7 +319,7 @@ func (m *Snapshot) Reset() { *m = Snapshot{} } func (m *Snapshot) String() string { return proto.CompactTextString(m) } func (*Snapshot) ProtoMessage() {} func (*Snapshot) Descriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{2} + return fileDescriptor_eraftpb_69ef617824e633af, []int{2} } func (m *Snapshot) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -384,7 +384,7 @@ func (m *Message) Reset() { *m = Message{} } func (m *Message) String() string { return proto.CompactTextString(m) } func (*Message) ProtoMessage() {} func (*Message) Descriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{3} + return fileDescriptor_eraftpb_69ef617824e633af, []int{3} } func (m *Message) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -510,7 +510,7 @@ func (m *HardState) Reset() { *m = HardState{} } func (m *HardState) String() string { return proto.CompactTextString(m) } func (*HardState) ProtoMessage() {} func (*HardState) Descriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{4} + return fileDescriptor_eraftpb_69ef617824e633af, []int{4} } func (m *HardState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -572,7 +572,7 @@ func (m *ConfState) Reset() { *m = ConfState{} } func (m *ConfState) String() string { return proto.CompactTextString(m) } func (*ConfState) ProtoMessage() {} func (*ConfState) Descriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{5} + return fileDescriptor_eraftpb_69ef617824e633af, []int{5} } func (m *ConfState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -629,7 +629,7 @@ func (m *ConfChange) Reset() { *m = ConfChange{} } func (m *ConfChange) String() string { return proto.CompactTextString(m) } func (*ConfChange) ProtoMessage() {} func (*ConfChange) Descriptor() ([]byte, []int) { - return fileDescriptor_eraftpb_aefabee91d118ae5, []int{6} + return fileDescriptor_eraftpb_69ef617824e633af, []int{6} } func (m *ConfChange) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2538,9 +2538,9 @@ var ( ErrIntOverflowEraftpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("eraftpb.proto", fileDescriptor_eraftpb_aefabee91d118ae5) } +func init() { proto.RegisterFile("eraftpb.proto", fileDescriptor_eraftpb_69ef617824e633af) } -var fileDescriptor_eraftpb_aefabee91d118ae5 = []byte{ +var fileDescriptor_eraftpb_69ef617824e633af = []byte{ // 821 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x55, 0xcd, 0x6e, 0xe4, 0x44, 0x10, 0x8e, 0x3d, 0x3f, 0xf6, 0x94, 0x93, 0x49, 0xa7, 0x08, 0xbb, 0xce, 0x4a, 0x84, 0xd1, 0x9c, diff --git a/pkg/errorpb/errorpb.pb.go b/pkg/errorpb/errorpb.pb.go index a753f20b4..f64ebb346 100644 --- a/pkg/errorpb/errorpb.pb.go +++ b/pkg/errorpb/errorpb.pb.go @@ -38,7 +38,7 @@ func (m *NotLeader) Reset() { *m = NotLeader{} } func (m *NotLeader) String() string { return proto.CompactTextString(m) } func (*NotLeader) ProtoMessage() {} func (*NotLeader) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{0} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{0} } func (m *NotLeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,7 +93,7 @@ func (m *StoreNotMatch) Reset() { *m = StoreNotMatch{} } func (m *StoreNotMatch) String() string { return proto.CompactTextString(m) } func (*StoreNotMatch) ProtoMessage() {} func (*StoreNotMatch) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{1} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{1} } func (m *StoreNotMatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -147,7 +147,7 @@ func (m *RegionNotFound) Reset() { *m = RegionNotFound{} } func (m *RegionNotFound) String() string { return proto.CompactTextString(m) } func (*RegionNotFound) ProtoMessage() {} func (*RegionNotFound) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{2} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{2} } func (m *RegionNotFound) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -197,7 +197,7 @@ func (m *KeyNotInRegion) Reset() { *m = KeyNotInRegion{} } func (m *KeyNotInRegion) String() string { return proto.CompactTextString(m) } func (*KeyNotInRegion) ProtoMessage() {} func (*KeyNotInRegion) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{3} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{3} } func (m *KeyNotInRegion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -265,7 +265,7 @@ func (m *EpochNotMatch) Reset() { *m = EpochNotMatch{} } func (m *EpochNotMatch) String() string { return proto.CompactTextString(m) } func (*EpochNotMatch) ProtoMessage() {} func (*EpochNotMatch) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{4} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{4} } func (m *EpochNotMatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -313,7 +313,7 @@ func (m *ServerIsBusy) Reset() { *m = ServerIsBusy{} } func (m *ServerIsBusy) String() string { return proto.CompactTextString(m) } func (*ServerIsBusy) ProtoMessage() {} func (*ServerIsBusy) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{5} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{5} } func (m *ServerIsBusy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -366,7 +366,7 @@ func (m *StaleCommand) Reset() { *m = StaleCommand{} } func (m *StaleCommand) String() string { return proto.CompactTextString(m) } func (*StaleCommand) ProtoMessage() {} func (*StaleCommand) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{6} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{6} } func (m *StaleCommand) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -407,7 +407,7 @@ func (m *RaftEntryTooLarge) Reset() { *m = RaftEntryTooLarge{} } func (m *RaftEntryTooLarge) String() string { return proto.CompactTextString(m) } func (*RaftEntryTooLarge) ProtoMessage() {} func (*RaftEntryTooLarge) Descriptor() ([]byte, []int) { - return fileDescriptor_errorpb_cab24447952c2dc7, []int{7} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{7} } func (m *RaftEntryTooLarge) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -469,7 +469,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_errorpb_cab24447952c2dc7, []int{8} + return fileDescriptor_errorpb_0faeae8edd2a8b7a, []int{8} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2317,9 +2317,9 @@ var ( ErrIntOverflowErrorpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("errorpb.proto", fileDescriptor_errorpb_cab24447952c2dc7) } +func init() { proto.RegisterFile("errorpb.proto", fileDescriptor_errorpb_0faeae8edd2a8b7a) } -var fileDescriptor_errorpb_cab24447952c2dc7 = []byte{ +var fileDescriptor_errorpb_0faeae8edd2a8b7a = []byte{ // 651 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcd, 0x6e, 0xd3, 0x4c, 0x14, 0xfd, 0xdc, 0x9f, 0x24, 0xbe, 0xb1, 0x9d, 0xd6, 0xea, 0xd7, 0x5a, 0xad, 0x1a, 0x55, 0x16, diff --git a/pkg/import_kvpb/import_kvpb.pb.go b/pkg/import_kvpb/import_kvpb.pb.go index f91e34fe2..1f6624907 100644 --- a/pkg/import_kvpb/import_kvpb.pb.go +++ b/pkg/import_kvpb/import_kvpb.pb.go @@ -47,7 +47,7 @@ func (x Mutation_OP) String() string { return proto.EnumName(Mutation_OP_name, int32(x)) } func (Mutation_OP) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{5, 0} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{5, 0} } type SwitchModeRequest struct { @@ -62,7 +62,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_kvpb_ae6dd32c180e00a9, []int{0} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{0} } func (m *SwitchModeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -115,7 +115,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_kvpb_ae6dd32c180e00a9, []int{1} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{1} } func (m *SwitchModeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -156,7 +156,7 @@ func (m *OpenEngineRequest) Reset() { *m = OpenEngineRequest{} } func (m *OpenEngineRequest) String() string { return proto.CompactTextString(m) } func (*OpenEngineRequest) ProtoMessage() {} func (*OpenEngineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{2} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{2} } func (m *OpenEngineRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -209,7 +209,7 @@ func (m *OpenEngineResponse) Reset() { *m = OpenEngineResponse{} } func (m *OpenEngineResponse) String() string { return proto.CompactTextString(m) } func (*OpenEngineResponse) ProtoMessage() {} func (*OpenEngineResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{3} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{3} } func (m *OpenEngineResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -249,7 +249,7 @@ func (m *WriteHead) Reset() { *m = WriteHead{} } func (m *WriteHead) String() string { return proto.CompactTextString(m) } func (*WriteHead) ProtoMessage() {} func (*WriteHead) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{4} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{4} } func (m *WriteHead) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -298,7 +298,7 @@ func (m *Mutation) Reset() { *m = Mutation{} } func (m *Mutation) String() string { return proto.CompactTextString(m) } func (*Mutation) ProtoMessage() {} func (*Mutation) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{5} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{5} } func (m *Mutation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -360,7 +360,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_kvpb_ae6dd32c180e00a9, []int{6} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{6} } func (m *WriteBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -417,7 +417,7 @@ func (m *WriteEngineRequest) Reset() { *m = WriteEngineRequest{} } func (m *WriteEngineRequest) String() string { return proto.CompactTextString(m) } func (*WriteEngineRequest) ProtoMessage() {} func (*WriteEngineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{7} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{7} } func (m *WriteEngineRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -569,7 +569,7 @@ func (m *KVPair) Reset() { *m = KVPair{} } func (m *KVPair) String() string { return proto.CompactTextString(m) } func (*KVPair) ProtoMessage() {} func (*KVPair) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{8} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{8} } func (m *KVPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -625,7 +625,7 @@ func (m *WriteEngineV3Request) Reset() { *m = WriteEngineV3Request{} } func (m *WriteEngineV3Request) String() string { return proto.CompactTextString(m) } func (*WriteEngineV3Request) ProtoMessage() {} func (*WriteEngineV3Request) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{9} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{9} } func (m *WriteEngineV3Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -686,7 +686,7 @@ func (m *WriteEngineResponse) Reset() { *m = WriteEngineResponse{} } func (m *WriteEngineResponse) String() string { return proto.CompactTextString(m) } func (*WriteEngineResponse) ProtoMessage() {} func (*WriteEngineResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{10} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{10} } func (m *WriteEngineResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -733,7 +733,7 @@ func (m *CloseEngineRequest) Reset() { *m = CloseEngineRequest{} } func (m *CloseEngineRequest) String() string { return proto.CompactTextString(m) } func (*CloseEngineRequest) ProtoMessage() {} func (*CloseEngineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{11} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{11} } func (m *CloseEngineRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -780,7 +780,7 @@ func (m *CloseEngineResponse) Reset() { *m = CloseEngineResponse{} } func (m *CloseEngineResponse) String() string { return proto.CompactTextString(m) } func (*CloseEngineResponse) ProtoMessage() {} func (*CloseEngineResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{12} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{12} } func (m *CloseEngineResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -828,7 +828,7 @@ func (m *ImportEngineRequest) Reset() { *m = ImportEngineRequest{} } func (m *ImportEngineRequest) String() string { return proto.CompactTextString(m) } func (*ImportEngineRequest) ProtoMessage() {} func (*ImportEngineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{13} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{13} } func (m *ImportEngineRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -881,7 +881,7 @@ func (m *ImportEngineResponse) Reset() { *m = ImportEngineResponse{} } func (m *ImportEngineResponse) String() string { return proto.CompactTextString(m) } func (*ImportEngineResponse) ProtoMessage() {} func (*ImportEngineResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{14} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{14} } func (m *ImportEngineResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -921,7 +921,7 @@ func (m *CleanupEngineRequest) Reset() { *m = CleanupEngineRequest{} } func (m *CleanupEngineRequest) String() string { return proto.CompactTextString(m) } func (*CleanupEngineRequest) ProtoMessage() {} func (*CleanupEngineRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{15} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{15} } func (m *CleanupEngineRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -967,7 +967,7 @@ func (m *CleanupEngineResponse) Reset() { *m = CleanupEngineResponse{} } func (m *CleanupEngineResponse) String() string { return proto.CompactTextString(m) } func (*CleanupEngineResponse) ProtoMessage() {} func (*CleanupEngineResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{16} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{16} } func (m *CleanupEngineResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1008,7 +1008,7 @@ func (m *CompactClusterRequest) Reset() { *m = CompactClusterRequest{} } func (m *CompactClusterRequest) String() string { return proto.CompactTextString(m) } func (*CompactClusterRequest) ProtoMessage() {} func (*CompactClusterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{17} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{17} } func (m *CompactClusterRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1061,7 +1061,7 @@ func (m *CompactClusterResponse) Reset() { *m = CompactClusterResponse{} func (m *CompactClusterResponse) String() string { return proto.CompactTextString(m) } func (*CompactClusterResponse) ProtoMessage() {} func (*CompactClusterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{18} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{18} } func (m *CompactClusterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1100,7 +1100,7 @@ func (m *GetVersionRequest) Reset() { *m = GetVersionRequest{} } func (m *GetVersionRequest) String() string { return proto.CompactTextString(m) } func (*GetVersionRequest) ProtoMessage() {} func (*GetVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{19} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{19} } func (m *GetVersionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1141,7 +1141,7 @@ func (m *GetVersionResponse) Reset() { *m = GetVersionResponse{} } func (m *GetVersionResponse) String() string { return proto.CompactTextString(m) } func (*GetVersionResponse) ProtoMessage() {} func (*GetVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{20} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{20} } func (m *GetVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1194,7 +1194,7 @@ func (m *GetMetricsRequest) Reset() { *m = GetMetricsRequest{} } func (m *GetMetricsRequest) String() string { return proto.CompactTextString(m) } func (*GetMetricsRequest) ProtoMessage() {} func (*GetMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{21} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{21} } func (m *GetMetricsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1234,7 +1234,7 @@ func (m *GetMetricsResponse) Reset() { *m = GetMetricsResponse{} } func (m *GetMetricsResponse) String() string { return proto.CompactTextString(m) } func (*GetMetricsResponse) ProtoMessage() {} func (*GetMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{22} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{22} } func (m *GetMetricsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1285,7 +1285,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_kvpb_ae6dd32c180e00a9, []int{23} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{23} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1332,7 +1332,7 @@ func (m *Error_EngineNotFound) Reset() { *m = Error_EngineNotFound{} } func (m *Error_EngineNotFound) String() string { return proto.CompactTextString(m) } func (*Error_EngineNotFound) ProtoMessage() {} func (*Error_EngineNotFound) Descriptor() ([]byte, []int) { - return fileDescriptor_import_kvpb_ae6dd32c180e00a9, []int{23, 0} + return fileDescriptor_import_kvpb_7450c87f07581b0e, []int{23, 0} } func (m *Error_EngineNotFound) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5233,9 +5233,9 @@ var ( ErrIntOverflowImportKvpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("import_kvpb.proto", fileDescriptor_import_kvpb_ae6dd32c180e00a9) } +func init() { proto.RegisterFile("import_kvpb.proto", fileDescriptor_import_kvpb_7450c87f07581b0e) } -var fileDescriptor_import_kvpb_ae6dd32c180e00a9 = []byte{ +var fileDescriptor_import_kvpb_7450c87f07581b0e = []byte{ // 884 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xd1, 0x6e, 0xf3, 0x34, 0x18, 0x4d, 0xd2, 0xb5, 0x5d, 0xbf, 0x6e, 0x63, 0xf3, 0xba, 0x2d, 0x2a, 0xd0, 0x6d, 0x01, 0xa1, diff --git a/pkg/import_sstpb/import_sstpb.pb.go b/pkg/import_sstpb/import_sstpb.pb.go index 843424949..8f0906d3a 100644 --- a/pkg/import_sstpb/import_sstpb.pb.go +++ b/pkg/import_sstpb/import_sstpb.pb.go @@ -54,7 +54,7 @@ func (x SwitchMode) String() string { return proto.EnumName(SwitchMode_name, int32(x)) } func (SwitchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_b6a8e02707279de0, []int{0} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{0} } type SwitchModeRequest struct { @@ -68,7 +68,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_b6a8e02707279de0, []int{0} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{0} } func (m *SwitchModeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -114,7 +114,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_b6a8e02707279de0, []int{1} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{1} } func (m *SwitchModeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -155,7 +155,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_b6a8e02707279de0, []int{2} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{2} } func (m *Range) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -215,7 +215,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_b6a8e02707279de0, []int{3} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{3} } func (m *SSTMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -307,7 +307,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_b6a8e02707279de0, []int{4} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{4} } func (m *RewriteRule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -364,7 +364,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_b6a8e02707279de0, []int{5} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{5} } func (m *UploadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -510,7 +510,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_b6a8e02707279de0, []int{6} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{6} } func (m *UploadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -551,7 +551,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_b6a8e02707279de0, []int{7} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{7} } func (m *IngestRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -605,7 +605,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_b6a8e02707279de0, []int{8} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{8} } func (m *IngestResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -656,7 +656,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_b6a8e02707279de0, []int{9} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{9} } func (m *CompactRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -709,7 +709,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_b6a8e02707279de0, []int{10} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{10} } func (m *CompactResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -773,7 +773,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_b6a8e02707279de0, []int{11} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{11} } func (m *DownloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -853,7 +853,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_b6a8e02707279de0, []int{12} + return fileDescriptor_import_sstpb_432504cb3959b87d, []int{12} } func (m *DownloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3377,9 +3377,9 @@ var ( ErrIntOverflowImportSstpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_b6a8e02707279de0) } +func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_432504cb3959b87d) } -var fileDescriptor_import_sstpb_b6a8e02707279de0 = []byte{ +var fileDescriptor_import_sstpb_432504cb3959b87d = []byte{ // 814 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x55, 0xcd, 0x8e, 0xe3, 0x44, 0x10, 0x8e, 0xc9, 0x7f, 0xc5, 0xc9, 0x64, 0x9b, 0x00, 0xde, 0x2c, 0x64, 0x82, 0x35, 0x82, 0xb0, diff --git a/pkg/kvrpcpb/kvrpcpb.pb.go b/pkg/kvrpcpb/kvrpcpb.pb.go index b46789146..62f9201ab 100644 --- a/pkg/kvrpcpb/kvrpcpb.pb.go +++ b/pkg/kvrpcpb/kvrpcpb.pb.go @@ -51,7 +51,7 @@ func (x CommandPri) String() string { return proto.EnumName(CommandPri_name, int32(x)) } func (CommandPri) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{0} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{0} } type IsolationLevel int32 @@ -74,7 +74,7 @@ func (x IsolationLevel) String() string { return proto.EnumName(IsolationLevel_name, int32(x)) } func (IsolationLevel) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{1} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{1} } type Op int32 @@ -110,7 +110,7 @@ func (x Op) String() string { return proto.EnumName(Op_name, int32(x)) } func (Op) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{2} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{2} } type Assertion int32 @@ -136,7 +136,7 @@ func (x Assertion) String() string { return proto.EnumName(Assertion_name, int32(x)) } func (Assertion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{3} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{3} } type LockInfo struct { @@ -156,7 +156,7 @@ func (m *LockInfo) Reset() { *m = LockInfo{} } func (m *LockInfo) String() string { return proto.CompactTextString(m) } func (*LockInfo) ProtoMessage() {} func (*LockInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{0} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{0} } func (m *LockInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -238,7 +238,7 @@ func (m *AlreadyExist) Reset() { *m = AlreadyExist{} } func (m *AlreadyExist) String() string { return proto.CompactTextString(m) } func (*AlreadyExist) ProtoMessage() {} func (*AlreadyExist) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{1} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{1} } func (m *AlreadyExist) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -291,7 +291,7 @@ func (m *KeyError) Reset() { *m = KeyError{} } func (m *KeyError) String() string { return proto.CompactTextString(m) } func (*KeyError) ProtoMessage() {} func (*KeyError) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{2} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{2} } func (m *KeyError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -384,7 +384,7 @@ func (m *WriteConflict) Reset() { *m = WriteConflict{} } func (m *WriteConflict) String() string { return proto.CompactTextString(m) } func (*WriteConflict) ProtoMessage() {} func (*WriteConflict) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{3} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{3} } func (m *WriteConflict) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -461,7 +461,7 @@ func (m *Deadlock) Reset() { *m = Deadlock{} } func (m *Deadlock) String() string { return proto.CompactTextString(m) } func (*Deadlock) ProtoMessage() {} func (*Deadlock) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{4} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{4} } func (m *Deadlock) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -525,7 +525,7 @@ func (m *CommitTsExpired) Reset() { *m = CommitTsExpired{} } func (m *CommitTsExpired) String() string { return proto.CompactTextString(m) } func (*CommitTsExpired) ProtoMessage() {} func (*CommitTsExpired) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{5} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{5} } func (m *CommitTsExpired) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -604,7 +604,7 @@ func (m *Context) Reset() { *m = Context{} } func (m *Context) String() string { return proto.CompactTextString(m) } func (*Context) ProtoMessage() {} func (*Context) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{6} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{6} } func (m *Context) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -729,7 +729,7 @@ func (m *HandleTime) Reset() { *m = HandleTime{} } func (m *HandleTime) String() string { return proto.CompactTextString(m) } func (*HandleTime) ProtoMessage() {} func (*HandleTime) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{7} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{7} } func (m *HandleTime) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -784,7 +784,7 @@ func (m *ScanInfo) Reset() { *m = ScanInfo{} } func (m *ScanInfo) String() string { return proto.CompactTextString(m) } func (*ScanInfo) ProtoMessage() {} func (*ScanInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{8} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{8} } func (m *ScanInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -840,7 +840,7 @@ func (m *ScanDetail) Reset() { *m = ScanDetail{} } func (m *ScanDetail) String() string { return proto.CompactTextString(m) } func (*ScanDetail) ProtoMessage() {} func (*ScanDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{9} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{9} } func (m *ScanDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -902,7 +902,7 @@ func (m *ExecDetails) Reset() { *m = ExecDetails{} } func (m *ExecDetails) String() string { return proto.CompactTextString(m) } func (*ExecDetails) ProtoMessage() {} func (*ExecDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{10} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{10} } func (m *ExecDetails) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -958,7 +958,7 @@ func (m *GetRequest) Reset() { *m = GetRequest{} } func (m *GetRequest) String() string { return proto.CompactTextString(m) } func (*GetRequest) ProtoMessage() {} func (*GetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{11} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{11} } func (m *GetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1022,7 +1022,7 @@ func (m *GetResponse) Reset() { *m = GetResponse{} } func (m *GetResponse) String() string { return proto.CompactTextString(m) } func (*GetResponse) ProtoMessage() {} func (*GetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{12} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{12} } func (m *GetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1098,7 +1098,7 @@ func (m *ScanRequest) Reset() { *m = ScanRequest{} } func (m *ScanRequest) String() string { return proto.CompactTextString(m) } func (*ScanRequest) ProtoMessage() {} func (*ScanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{13} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{13} } func (m *ScanRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1189,7 +1189,7 @@ func (m *KvPair) Reset() { *m = KvPair{} } func (m *KvPair) String() string { return proto.CompactTextString(m) } func (*KvPair) ProtoMessage() {} func (*KvPair) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{14} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{14} } func (m *KvPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1251,7 +1251,7 @@ func (m *ScanResponse) Reset() { *m = ScanResponse{} } func (m *ScanResponse) String() string { return proto.CompactTextString(m) } func (*ScanResponse) ProtoMessage() {} func (*ScanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{15} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{15} } func (m *ScanResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1308,7 +1308,7 @@ func (m *Mutation) Reset() { *m = Mutation{} } func (m *Mutation) String() string { return proto.CompactTextString(m) } func (*Mutation) ProtoMessage() {} func (*Mutation) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{16} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{16} } func (m *Mutation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1391,7 +1391,7 @@ func (m *PrewriteRequest) Reset() { *m = PrewriteRequest{} } func (m *PrewriteRequest) String() string { return proto.CompactTextString(m) } func (*PrewriteRequest) ProtoMessage() {} func (*PrewriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{17} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{17} } func (m *PrewriteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1502,7 +1502,7 @@ func (m *PrewriteResponse) Reset() { *m = PrewriteResponse{} } func (m *PrewriteResponse) String() string { return proto.CompactTextString(m) } func (*PrewriteResponse) ProtoMessage() {} func (*PrewriteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{18} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{18} } func (m *PrewriteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1560,7 +1560,7 @@ func (m *TxnHeartBeatRequest) Reset() { *m = TxnHeartBeatRequest{} } func (m *TxnHeartBeatRequest) String() string { return proto.CompactTextString(m) } func (*TxnHeartBeatRequest) ProtoMessage() {} func (*TxnHeartBeatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{19} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{19} } func (m *TxnHeartBeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1630,7 +1630,7 @@ func (m *TxnHeartBeatResponse) Reset() { *m = TxnHeartBeatResponse{} } func (m *TxnHeartBeatResponse) String() string { return proto.CompactTextString(m) } func (*TxnHeartBeatResponse) ProtoMessage() {} func (*TxnHeartBeatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{20} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{20} } func (m *TxnHeartBeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1701,7 +1701,7 @@ func (m *PessimisticLockRequest) Reset() { *m = PessimisticLockRequest{} func (m *PessimisticLockRequest) String() string { return proto.CompactTextString(m) } func (*PessimisticLockRequest) ProtoMessage() {} func (*PessimisticLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{21} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{21} } func (m *PessimisticLockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1798,7 +1798,7 @@ func (m *PessimisticLockResponse) Reset() { *m = PessimisticLockResponse func (m *PessimisticLockResponse) String() string { return proto.CompactTextString(m) } func (*PessimisticLockResponse) ProtoMessage() {} func (*PessimisticLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{22} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{22} } func (m *PessimisticLockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1855,7 +1855,7 @@ func (m *PessimisticRollbackRequest) Reset() { *m = PessimisticRollbackR func (m *PessimisticRollbackRequest) String() string { return proto.CompactTextString(m) } func (*PessimisticRollbackRequest) ProtoMessage() {} func (*PessimisticRollbackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{23} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{23} } func (m *PessimisticRollbackRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1924,7 +1924,7 @@ func (m *PessimisticRollbackResponse) Reset() { *m = PessimisticRollback func (m *PessimisticRollbackResponse) String() string { return proto.CompactTextString(m) } func (*PessimisticRollbackResponse) ProtoMessage() {} func (*PessimisticRollbackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{24} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{24} } func (m *PessimisticRollbackResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1981,7 +1981,7 @@ func (m *CommitRequest) Reset() { *m = CommitRequest{} } func (m *CommitRequest) String() string { return proto.CompactTextString(m) } func (*CommitRequest) ProtoMessage() {} func (*CommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{25} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{25} } func (m *CommitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2051,7 +2051,7 @@ func (m *CommitResponse) Reset() { *m = CommitResponse{} } func (m *CommitResponse) String() string { return proto.CompactTextString(m) } func (*CommitResponse) ProtoMessage() {} func (*CommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{26} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{26} } func (m *CommitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2113,7 +2113,7 @@ func (m *ImportRequest) Reset() { *m = ImportRequest{} } func (m *ImportRequest) String() string { return proto.CompactTextString(m) } func (*ImportRequest) ProtoMessage() {} func (*ImportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{27} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{27} } func (m *ImportRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2168,7 +2168,7 @@ func (m *ImportResponse) Reset() { *m = ImportResponse{} } func (m *ImportResponse) String() string { return proto.CompactTextString(m) } func (*ImportResponse) ProtoMessage() {} func (*ImportResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{28} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{28} } func (m *ImportResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2224,7 +2224,7 @@ func (m *BatchRollbackRequest) Reset() { *m = BatchRollbackRequest{} } func (m *BatchRollbackRequest) String() string { return proto.CompactTextString(m) } func (*BatchRollbackRequest) ProtoMessage() {} func (*BatchRollbackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{29} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{29} } func (m *BatchRollbackRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2286,7 +2286,7 @@ func (m *BatchRollbackResponse) Reset() { *m = BatchRollbackResponse{} } func (m *BatchRollbackResponse) String() string { return proto.CompactTextString(m) } func (*BatchRollbackResponse) ProtoMessage() {} func (*BatchRollbackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{30} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{30} } func (m *BatchRollbackResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2350,7 +2350,7 @@ func (m *CheckTxnStatusRequest) Reset() { *m = CheckTxnStatusRequest{} } func (m *CheckTxnStatusRequest) String() string { return proto.CompactTextString(m) } func (*CheckTxnStatusRequest) ProtoMessage() {} func (*CheckTxnStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{31} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{31} } func (m *CheckTxnStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2432,7 +2432,7 @@ func (m *CheckTxnStatusResponse) Reset() { *m = CheckTxnStatusResponse{} func (m *CheckTxnStatusResponse) String() string { return proto.CompactTextString(m) } func (*CheckTxnStatusResponse) ProtoMessage() {} func (*CheckTxnStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{32} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{32} } func (m *CheckTxnStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2503,7 +2503,7 @@ func (m *CleanupRequest) Reset() { *m = CleanupRequest{} } func (m *CleanupRequest) String() string { return proto.CompactTextString(m) } func (*CleanupRequest) ProtoMessage() {} func (*CleanupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{33} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{33} } func (m *CleanupRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2573,7 +2573,7 @@ func (m *CleanupResponse) Reset() { *m = CleanupResponse{} } func (m *CleanupResponse) String() string { return proto.CompactTextString(m) } func (*CleanupResponse) ProtoMessage() {} func (*CleanupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{34} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{34} } func (m *CleanupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2636,7 +2636,7 @@ func (m *BatchGetRequest) Reset() { *m = BatchGetRequest{} } func (m *BatchGetRequest) String() string { return proto.CompactTextString(m) } func (*BatchGetRequest) ProtoMessage() {} func (*BatchGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{35} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{35} } func (m *BatchGetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2698,7 +2698,7 @@ func (m *BatchGetResponse) Reset() { *m = BatchGetResponse{} } func (m *BatchGetResponse) String() string { return proto.CompactTextString(m) } func (*BatchGetResponse) ProtoMessage() {} func (*BatchGetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{36} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{36} } func (m *BatchGetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2755,7 +2755,7 @@ func (m *ScanLockRequest) Reset() { *m = ScanLockRequest{} } func (m *ScanLockRequest) String() string { return proto.CompactTextString(m) } func (*ScanLockRequest) ProtoMessage() {} func (*ScanLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{37} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{37} } func (m *ScanLockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2825,7 +2825,7 @@ func (m *ScanLockResponse) Reset() { *m = ScanLockResponse{} } func (m *ScanLockResponse) String() string { return proto.CompactTextString(m) } func (*ScanLockResponse) ProtoMessage() {} func (*ScanLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{38} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{38} } func (m *ScanLockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2887,7 +2887,7 @@ func (m *TxnInfo) Reset() { *m = TxnInfo{} } func (m *TxnInfo) String() string { return proto.CompactTextString(m) } func (*TxnInfo) ProtoMessage() {} func (*TxnInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{39} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{39} } func (m *TxnInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2947,7 +2947,7 @@ func (m *ResolveLockRequest) Reset() { *m = ResolveLockRequest{} } func (m *ResolveLockRequest) String() string { return proto.CompactTextString(m) } func (*ResolveLockRequest) ProtoMessage() {} func (*ResolveLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{40} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{40} } func (m *ResolveLockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3023,7 +3023,7 @@ func (m *ResolveLockResponse) Reset() { *m = ResolveLockResponse{} } func (m *ResolveLockResponse) String() string { return proto.CompactTextString(m) } func (*ResolveLockResponse) ProtoMessage() {} func (*ResolveLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{41} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{41} } func (m *ResolveLockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3078,7 +3078,7 @@ func (m *GCRequest) Reset() { *m = GCRequest{} } func (m *GCRequest) String() string { return proto.CompactTextString(m) } func (*GCRequest) ProtoMessage() {} func (*GCRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{42} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{42} } func (m *GCRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3133,7 +3133,7 @@ func (m *GCResponse) Reset() { *m = GCResponse{} } func (m *GCResponse) String() string { return proto.CompactTextString(m) } func (*GCResponse) ProtoMessage() {} func (*GCResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{43} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{43} } func (m *GCResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3189,7 +3189,7 @@ func (m *RawGetRequest) Reset() { *m = RawGetRequest{} } func (m *RawGetRequest) String() string { return proto.CompactTextString(m) } func (*RawGetRequest) ProtoMessage() {} func (*RawGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{44} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{44} } func (m *RawGetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3253,7 +3253,7 @@ func (m *RawGetResponse) Reset() { *m = RawGetResponse{} } func (m *RawGetResponse) String() string { return proto.CompactTextString(m) } func (*RawGetResponse) ProtoMessage() {} func (*RawGetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{45} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{45} } func (m *RawGetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3324,7 +3324,7 @@ func (m *RawPutRequest) Reset() { *m = RawPutRequest{} } func (m *RawPutRequest) String() string { return proto.CompactTextString(m) } func (*RawPutRequest) ProtoMessage() {} func (*RawPutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{46} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{46} } func (m *RawPutRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3393,7 +3393,7 @@ func (m *RawPutResponse) Reset() { *m = RawPutResponse{} } func (m *RawPutResponse) String() string { return proto.CompactTextString(m) } func (*RawPutResponse) ProtoMessage() {} func (*RawPutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{47} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{47} } func (m *RawPutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3449,7 +3449,7 @@ func (m *RawBatchPutRequest) Reset() { *m = RawBatchPutRequest{} } func (m *RawBatchPutRequest) String() string { return proto.CompactTextString(m) } func (*RawBatchPutRequest) ProtoMessage() {} func (*RawBatchPutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{48} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{48} } func (m *RawBatchPutRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3511,7 +3511,7 @@ func (m *RawBatchPutResponse) Reset() { *m = RawBatchPutResponse{} } func (m *RawBatchPutResponse) String() string { return proto.CompactTextString(m) } func (*RawBatchPutResponse) ProtoMessage() {} func (*RawBatchPutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{49} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{49} } func (m *RawBatchPutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3567,7 +3567,7 @@ func (m *RawBatchGetRequest) Reset() { *m = RawBatchGetRequest{} } func (m *RawBatchGetRequest) String() string { return proto.CompactTextString(m) } func (*RawBatchGetRequest) ProtoMessage() {} func (*RawBatchGetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{50} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{50} } func (m *RawBatchGetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3629,7 +3629,7 @@ func (m *RawBatchGetResponse) Reset() { *m = RawBatchGetResponse{} } func (m *RawBatchGetResponse) String() string { return proto.CompactTextString(m) } func (*RawBatchGetResponse) ProtoMessage() {} func (*RawBatchGetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{51} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{51} } func (m *RawBatchGetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3685,7 +3685,7 @@ func (m *RawDeleteRequest) Reset() { *m = RawDeleteRequest{} } func (m *RawDeleteRequest) String() string { return proto.CompactTextString(m) } func (*RawDeleteRequest) ProtoMessage() {} func (*RawDeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{52} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{52} } func (m *RawDeleteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3747,7 +3747,7 @@ func (m *RawDeleteResponse) Reset() { *m = RawDeleteResponse{} } func (m *RawDeleteResponse) String() string { return proto.CompactTextString(m) } func (*RawDeleteResponse) ProtoMessage() {} func (*RawDeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{53} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{53} } func (m *RawDeleteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3803,7 +3803,7 @@ func (m *RawBatchDeleteRequest) Reset() { *m = RawBatchDeleteRequest{} } func (m *RawBatchDeleteRequest) String() string { return proto.CompactTextString(m) } func (*RawBatchDeleteRequest) ProtoMessage() {} func (*RawBatchDeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{54} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{54} } func (m *RawBatchDeleteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3865,7 +3865,7 @@ func (m *RawBatchDeleteResponse) Reset() { *m = RawBatchDeleteResponse{} func (m *RawBatchDeleteResponse) String() string { return proto.CompactTextString(m) } func (*RawBatchDeleteResponse) ProtoMessage() {} func (*RawBatchDeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{55} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{55} } func (m *RawBatchDeleteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3922,7 +3922,7 @@ func (m *DeleteRangeRequest) Reset() { *m = DeleteRangeRequest{} } func (m *DeleteRangeRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRangeRequest) ProtoMessage() {} func (*DeleteRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{56} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{56} } func (m *DeleteRangeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3991,7 +3991,7 @@ func (m *DeleteRangeResponse) Reset() { *m = DeleteRangeResponse{} } func (m *DeleteRangeResponse) String() string { return proto.CompactTextString(m) } func (*DeleteRangeResponse) ProtoMessage() {} func (*DeleteRangeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{57} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{57} } func (m *DeleteRangeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4048,7 +4048,7 @@ func (m *RawDeleteRangeRequest) Reset() { *m = RawDeleteRangeRequest{} } func (m *RawDeleteRangeRequest) String() string { return proto.CompactTextString(m) } func (*RawDeleteRangeRequest) ProtoMessage() {} func (*RawDeleteRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{58} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{58} } func (m *RawDeleteRangeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4117,7 +4117,7 @@ func (m *RawDeleteRangeResponse) Reset() { *m = RawDeleteRangeResponse{} func (m *RawDeleteRangeResponse) String() string { return proto.CompactTextString(m) } func (*RawDeleteRangeResponse) ProtoMessage() {} func (*RawDeleteRangeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{59} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{59} } func (m *RawDeleteRangeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4179,7 +4179,7 @@ func (m *RawScanRequest) Reset() { *m = RawScanRequest{} } func (m *RawScanRequest) String() string { return proto.CompactTextString(m) } func (*RawScanRequest) ProtoMessage() {} func (*RawScanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{60} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{60} } func (m *RawScanRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4269,7 +4269,7 @@ func (m *RawScanResponse) Reset() { *m = RawScanResponse{} } func (m *RawScanResponse) String() string { return proto.CompactTextString(m) } func (*RawScanResponse) ProtoMessage() {} func (*RawScanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{61} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{61} } func (m *RawScanResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4324,7 +4324,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_kvrpcpb_18f4b51548696ab2, []int{62} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{62} } func (m *KeyRange) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4383,7 +4383,7 @@ func (m *RawBatchScanRequest) Reset() { *m = RawBatchScanRequest{} } func (m *RawBatchScanRequest) String() string { return proto.CompactTextString(m) } func (*RawBatchScanRequest) ProtoMessage() {} func (*RawBatchScanRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{63} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{63} } func (m *RawBatchScanRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4466,7 +4466,7 @@ func (m *RawBatchScanResponse) Reset() { *m = RawBatchScanResponse{} } func (m *RawBatchScanResponse) String() string { return proto.CompactTextString(m) } func (*RawBatchScanResponse) ProtoMessage() {} func (*RawBatchScanResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{64} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{64} } func (m *RawBatchScanResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4523,7 +4523,7 @@ func (m *MvccWrite) Reset() { *m = MvccWrite{} } func (m *MvccWrite) String() string { return proto.CompactTextString(m) } func (*MvccWrite) ProtoMessage() {} func (*MvccWrite) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{65} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{65} } func (m *MvccWrite) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4592,7 +4592,7 @@ func (m *MvccValue) Reset() { *m = MvccValue{} } func (m *MvccValue) String() string { return proto.CompactTextString(m) } func (*MvccValue) ProtoMessage() {} func (*MvccValue) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{66} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{66} } func (m *MvccValue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4649,7 +4649,7 @@ func (m *MvccLock) Reset() { *m = MvccLock{} } func (m *MvccLock) String() string { return proto.CompactTextString(m) } func (*MvccLock) ProtoMessage() {} func (*MvccLock) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{67} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{67} } func (m *MvccLock) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4719,7 +4719,7 @@ func (m *MvccInfo) Reset() { *m = MvccInfo{} } func (m *MvccInfo) String() string { return proto.CompactTextString(m) } func (*MvccInfo) ProtoMessage() {} func (*MvccInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{68} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{68} } func (m *MvccInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4781,7 +4781,7 @@ func (m *MvccGetByKeyRequest) Reset() { *m = MvccGetByKeyRequest{} } func (m *MvccGetByKeyRequest) String() string { return proto.CompactTextString(m) } func (*MvccGetByKeyRequest) ProtoMessage() {} func (*MvccGetByKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{69} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{69} } func (m *MvccGetByKeyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4837,7 +4837,7 @@ func (m *MvccGetByKeyResponse) Reset() { *m = MvccGetByKeyResponse{} } func (m *MvccGetByKeyResponse) String() string { return proto.CompactTextString(m) } func (*MvccGetByKeyResponse) ProtoMessage() {} func (*MvccGetByKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{70} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{70} } func (m *MvccGetByKeyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4899,7 +4899,7 @@ func (m *MvccGetByStartTsRequest) Reset() { *m = MvccGetByStartTsRequest func (m *MvccGetByStartTsRequest) String() string { return proto.CompactTextString(m) } func (*MvccGetByStartTsRequest) ProtoMessage() {} func (*MvccGetByStartTsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{71} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{71} } func (m *MvccGetByStartTsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4956,7 +4956,7 @@ func (m *MvccGetByStartTsResponse) Reset() { *m = MvccGetByStartTsRespon func (m *MvccGetByStartTsResponse) String() string { return proto.CompactTextString(m) } func (*MvccGetByStartTsResponse) ProtoMessage() {} func (*MvccGetByStartTsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{72} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{72} } func (m *MvccGetByStartTsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5026,7 +5026,7 @@ func (m *SplitRegionRequest) Reset() { *m = SplitRegionRequest{} } func (m *SplitRegionRequest) String() string { return proto.CompactTextString(m) } func (*SplitRegionRequest) ProtoMessage() {} func (*SplitRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{73} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{73} } func (m *SplitRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5091,7 +5091,7 @@ func (m *SplitRegionResponse) Reset() { *m = SplitRegionResponse{} } func (m *SplitRegionResponse) String() string { return proto.CompactTextString(m) } func (*SplitRegionResponse) ProtoMessage() {} func (*SplitRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{74} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{74} } func (m *SplitRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5163,7 +5163,7 @@ func (m *UnsafeDestroyRangeRequest) Reset() { *m = UnsafeDestroyRangeReq func (m *UnsafeDestroyRangeRequest) String() string { return proto.CompactTextString(m) } func (*UnsafeDestroyRangeRequest) ProtoMessage() {} func (*UnsafeDestroyRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{75} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{75} } func (m *UnsafeDestroyRangeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5225,7 +5225,7 @@ func (m *UnsafeDestroyRangeResponse) Reset() { *m = UnsafeDestroyRangeRe func (m *UnsafeDestroyRangeResponse) String() string { return proto.CompactTextString(m) } func (*UnsafeDestroyRangeResponse) ProtoMessage() {} func (*UnsafeDestroyRangeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{76} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{76} } func (m *UnsafeDestroyRangeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5279,7 +5279,7 @@ func (m *ReadIndexRequest) Reset() { *m = ReadIndexRequest{} } func (m *ReadIndexRequest) String() string { return proto.CompactTextString(m) } func (*ReadIndexRequest) ProtoMessage() {} func (*ReadIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{77} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{77} } func (m *ReadIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5327,7 +5327,7 @@ func (m *ReadIndexResponse) Reset() { *m = ReadIndexResponse{} } func (m *ReadIndexResponse) String() string { return proto.CompactTextString(m) } func (*ReadIndexResponse) ProtoMessage() {} func (*ReadIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_kvrpcpb_18f4b51548696ab2, []int{78} + return fileDescriptor_kvrpcpb_ec52c09aa12e5f7d, []int{78} } func (m *ReadIndexResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -22452,9 +22452,9 @@ var ( ErrIntOverflowKvrpcpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("kvrpcpb.proto", fileDescriptor_kvrpcpb_18f4b51548696ab2) } +func init() { proto.RegisterFile("kvrpcpb.proto", fileDescriptor_kvrpcpb_ec52c09aa12e5f7d) } -var fileDescriptor_kvrpcpb_18f4b51548696ab2 = []byte{ +var fileDescriptor_kvrpcpb_ec52c09aa12e5f7d = []byte{ // 2788 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x1a, 0x4d, 0x8f, 0x1c, 0x47, 0xd5, 0x3d, 0x9f, 0x3d, 0x6f, 0x3e, 0xb7, 0x76, 0x6d, 0x4f, 0x6c, 0x6c, 0x6f, 0x1a, 0xec, 0x6c, diff --git a/pkg/metapb/metapb.pb.go b/pkg/metapb/metapb.pb.go index 12702a936..19278f747 100644 --- a/pkg/metapb/metapb.pb.go +++ b/pkg/metapb/metapb.pb.go @@ -47,7 +47,7 @@ func (x StoreState) String() string { return proto.EnumName(StoreState_name, int32(x)) } func (StoreState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_metapb_d6e33681c6ae8744, []int{0} + return fileDescriptor_metapb_22e068fed0255307, []int{0} } type Cluster struct { @@ -64,7 +64,7 @@ func (m *Cluster) Reset() { *m = Cluster{} } func (m *Cluster) String() string { return proto.CompactTextString(m) } func (*Cluster) ProtoMessage() {} func (*Cluster) Descriptor() ([]byte, []int) { - return fileDescriptor_metapb_d6e33681c6ae8744, []int{0} + return fileDescriptor_metapb_22e068fed0255307, []int{0} } func (m *Cluster) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +120,7 @@ func (m *StoreLabel) Reset() { *m = StoreLabel{} } func (m *StoreLabel) String() string { return proto.CompactTextString(m) } func (*StoreLabel) ProtoMessage() {} func (*StoreLabel) Descriptor() ([]byte, []int) { - return fileDescriptor_metapb_d6e33681c6ae8744, []int{1} + return fileDescriptor_metapb_22e068fed0255307, []int{1} } func (m *StoreLabel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -173,6 +173,8 @@ type Store struct { // Address to handle peer requests (raft messages from other store). // Empty means same as address. PeerAddress string `protobuf:"bytes,6,opt,name=peer_address,json=peerAddress,proto3" json:"peer_address,omitempty"` + StatusAddress string `protobuf:"bytes,7,opt,name=status_address,json=statusAddress,proto3" json:"status_address,omitempty"` + GitHash string `protobuf:"bytes,8,opt,name=git_hash,json=gitHash,proto3" json:"git_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -182,7 +184,7 @@ func (m *Store) Reset() { *m = Store{} } func (m *Store) String() string { return proto.CompactTextString(m) } func (*Store) ProtoMessage() {} func (*Store) Descriptor() ([]byte, []int) { - return fileDescriptor_metapb_d6e33681c6ae8744, []int{2} + return fileDescriptor_metapb_22e068fed0255307, []int{2} } func (m *Store) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -253,6 +255,20 @@ func (m *Store) GetPeerAddress() string { return "" } +func (m *Store) GetStatusAddress() string { + if m != nil { + return m.StatusAddress + } + return "" +} + +func (m *Store) GetGitHash() string { + if m != nil { + return m.GitHash + } + return "" +} + type RegionEpoch struct { // Conf change version, auto increment when add or remove peer ConfVer uint64 `protobuf:"varint,1,opt,name=conf_ver,json=confVer,proto3" json:"conf_ver,omitempty"` @@ -267,7 +283,7 @@ func (m *RegionEpoch) Reset() { *m = RegionEpoch{} } func (m *RegionEpoch) String() string { return proto.CompactTextString(m) } func (*RegionEpoch) ProtoMessage() {} func (*RegionEpoch) Descriptor() ([]byte, []int) { - return fileDescriptor_metapb_d6e33681c6ae8744, []int{3} + return fileDescriptor_metapb_22e068fed0255307, []int{3} } func (m *RegionEpoch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -326,7 +342,7 @@ func (m *Region) Reset() { *m = Region{} } func (m *Region) String() string { return proto.CompactTextString(m) } func (*Region) ProtoMessage() {} func (*Region) Descriptor() ([]byte, []int) { - return fileDescriptor_metapb_d6e33681c6ae8744, []int{4} + return fileDescriptor_metapb_22e068fed0255307, []int{4} } func (m *Region) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -403,7 +419,7 @@ func (m *Peer) Reset() { *m = Peer{} } func (m *Peer) String() string { return proto.CompactTextString(m) } func (*Peer) ProtoMessage() {} func (*Peer) Descriptor() ([]byte, []int) { - return fileDescriptor_metapb_d6e33681c6ae8744, []int{5} + return fileDescriptor_metapb_22e068fed0255307, []int{5} } func (m *Peer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -581,6 +597,18 @@ func (m *Store) MarshalTo(dAtA []byte) (int, error) { i = encodeVarintMetapb(dAtA, i, uint64(len(m.PeerAddress))) i += copy(dAtA[i:], m.PeerAddress) } + if len(m.StatusAddress) > 0 { + dAtA[i] = 0x3a + i++ + i = encodeVarintMetapb(dAtA, i, uint64(len(m.StatusAddress))) + i += copy(dAtA[i:], m.StatusAddress) + } + if len(m.GitHash) > 0 { + dAtA[i] = 0x42 + i++ + i = encodeVarintMetapb(dAtA, i, uint64(len(m.GitHash))) + i += copy(dAtA[i:], m.GitHash) + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -787,6 +815,14 @@ func (m *Store) Size() (n int) { if l > 0 { n += 1 + l + sovMetapb(uint64(l)) } + l = len(m.StatusAddress) + if l > 0 { + n += 1 + l + sovMetapb(uint64(l)) + } + l = len(m.GitHash) + if l > 0 { + n += 1 + l + sovMetapb(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -1252,6 +1288,64 @@ func (m *Store) Unmarshal(dAtA []byte) error { } m.PeerAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetapb + } + 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 ErrInvalidLengthMetapb + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StatusAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GitHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowMetapb + } + 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 ErrInvalidLengthMetapb + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GitHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipMetapb(dAtA[iNdEx:]) @@ -1773,40 +1867,42 @@ var ( ErrIntOverflowMetapb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("metapb.proto", fileDescriptor_metapb_d6e33681c6ae8744) } - -var fileDescriptor_metapb_d6e33681c6ae8744 = []byte{ - // 499 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xee, 0x3a, 0xb1, 0x93, 0x8c, 0xdd, 0x12, 0x2d, 0x95, 0x70, 0x8b, 0x88, 0x8c, 0x85, 0x90, - 0xd5, 0x43, 0x40, 0x05, 0x71, 0x45, 0xb4, 0xe2, 0x80, 0xa8, 0x44, 0xb5, 0x05, 0xae, 0x96, 0x13, - 0x4f, 0x82, 0x15, 0xc7, 0x6b, 0xed, 0x6e, 0xac, 0xf6, 0x4d, 0x78, 0x04, 0xc4, 0x73, 0x70, 0xe0, - 0xc8, 0x91, 0x23, 0x0a, 0x2f, 0x82, 0x76, 0xd7, 0x96, 0x22, 0x72, 0xf2, 0x7c, 0xdf, 0x37, 0x3f, - 0xdf, 0x8c, 0x17, 0x82, 0x35, 0xaa, 0xac, 0x9e, 0x4d, 0x6b, 0xc1, 0x15, 0xa7, 0x9e, 0x45, 0xa7, - 0xc7, 0x4b, 0xbe, 0xe4, 0x86, 0x7a, 0xa6, 0x23, 0xab, 0x9e, 0xde, 0x13, 0x1b, 0xa9, 0x4c, 0x68, - 0x89, 0xf8, 0x35, 0x0c, 0x2e, 0xcb, 0x8d, 0x54, 0x28, 0xe8, 0x11, 0x38, 0x45, 0x1e, 0x92, 0x88, - 0x24, 0x7d, 0xe6, 0x14, 0x39, 0x7d, 0x02, 0x47, 0xeb, 0xec, 0x36, 0xad, 0x11, 0x45, 0x3a, 0xe7, - 0x9b, 0x4a, 0x85, 0x4e, 0x44, 0x92, 0x43, 0x16, 0xac, 0xb3, 0xdb, 0x6b, 0x44, 0x71, 0xa9, 0xb9, - 0xf8, 0x25, 0xc0, 0x8d, 0xe2, 0x02, 0xaf, 0xb2, 0x19, 0x96, 0x74, 0x0c, 0xbd, 0x15, 0xde, 0x99, - 0x26, 0x23, 0xa6, 0x43, 0x7a, 0x0c, 0x6e, 0x93, 0x95, 0x1b, 0x34, 0xc5, 0x23, 0x66, 0x41, 0xfc, - 0x83, 0x80, 0x6b, 0xca, 0xf6, 0xa6, 0x86, 0x30, 0xc8, 0xf2, 0x5c, 0xa0, 0x94, 0x6d, 0x45, 0x07, - 0x69, 0x02, 0xae, 0x54, 0x99, 0xc2, 0xb0, 0x17, 0x91, 0xe4, 0xe8, 0x9c, 0x4e, 0xdb, 0xbd, 0x4d, - 0x9f, 0x1b, 0xad, 0x30, 0x9b, 0x40, 0xcf, 0xc0, 0x2b, 0xb5, 0x1d, 0x19, 0xf6, 0xa3, 0x5e, 0xe2, - 0xff, 0x97, 0x6a, 0x9c, 0xb2, 0x36, 0x43, 0xcf, 0x6b, 0x50, 0xc8, 0x82, 0x57, 0xa1, 0x6b, 0xe7, - 0xb5, 0x90, 0x3e, 0x86, 0xc0, 0xec, 0xde, 0xd9, 0xf1, 0x8c, 0xec, 0x6b, 0xee, 0x8d, 0xa5, 0xe2, - 0x0b, 0xf0, 0x19, 0x2e, 0x0b, 0x5e, 0xbd, 0xad, 0xf9, 0xfc, 0x0b, 0x3d, 0x81, 0xe1, 0x9c, 0x57, - 0x8b, 0xb4, 0x41, 0xd1, 0x6e, 0x34, 0xd0, 0xf8, 0x33, 0x8a, 0xdd, 0x31, 0x8e, 0x55, 0x5a, 0x18, - 0x7f, 0x27, 0xe0, 0xd9, 0x26, 0x7b, 0xb7, 0x78, 0x08, 0x23, 0xa9, 0x32, 0xa1, 0x52, 0x7d, 0x53, - 0x5d, 0x16, 0xb0, 0xa1, 0x21, 0xde, 0xe3, 0x1d, 0x7d, 0x00, 0x03, 0xac, 0x72, 0x23, 0xf5, 0x8c, - 0xe4, 0x61, 0x95, 0x6b, 0xe1, 0x15, 0x04, 0xc2, 0xf4, 0x4b, 0x51, 0xbb, 0x0a, 0xfb, 0x11, 0x49, - 0xfc, 0xf3, 0xfb, 0xdd, 0x0d, 0x76, 0x0c, 0x33, 0x5f, 0xec, 0xb8, 0x8f, 0xc1, 0xd5, 0xbb, 0xc9, - 0xd0, 0x35, 0x47, 0x0b, 0xba, 0x02, 0xfd, 0xaf, 0x99, 0x95, 0xe2, 0x6b, 0xe8, 0x6b, 0xb8, 0xe7, - 0xf4, 0x04, 0x86, 0x52, 0xdf, 0x36, 0x2d, 0xf2, 0x6e, 0x3f, 0x83, 0xdf, 0xe5, 0xf4, 0x11, 0x40, - 0x21, 0xd3, 0x12, 0x33, 0x51, 0xa1, 0x30, 0x56, 0x87, 0x6c, 0x54, 0xc8, 0x2b, 0x4b, 0x9c, 0x3d, - 0x6f, 0xdf, 0x8f, 0xf9, 0x81, 0xd4, 0x03, 0xe7, 0x53, 0x3d, 0x3e, 0xa0, 0x3e, 0x0c, 0x3e, 0x2c, - 0x16, 0x65, 0x51, 0xe1, 0x98, 0xd0, 0x43, 0x18, 0x7d, 0xe4, 0xeb, 0x99, 0x54, 0xbc, 0xc2, 0xb1, - 0x73, 0xf1, 0xf4, 0xf7, 0xb7, 0x21, 0xf9, 0xb9, 0x9d, 0x90, 0x5f, 0xdb, 0x09, 0xf9, 0xb3, 0x9d, - 0x90, 0xaf, 0x7f, 0x27, 0x07, 0x30, 0xe6, 0x62, 0x39, 0x55, 0xc5, 0xaa, 0x99, 0xae, 0x1a, 0xf3, - 0xb4, 0x67, 0x9e, 0xf9, 0xbc, 0xf8, 0x17, 0x00, 0x00, 0xff, 0xff, 0xa2, 0x8b, 0xe1, 0x3a, 0x20, - 0x03, 0x00, 0x00, +func init() { proto.RegisterFile("metapb.proto", fileDescriptor_metapb_22e068fed0255307) } + +var fileDescriptor_metapb_22e068fed0255307 = []byte{ + // 532 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x53, 0xdd, 0x8a, 0xd3, 0x40, + 0x14, 0xde, 0xa4, 0xcd, 0x4f, 0x4f, 0xb2, 0xb5, 0x8c, 0x0b, 0x66, 0x57, 0x2c, 0x35, 0xa8, 0x84, + 0xbd, 0xa8, 0xb2, 0x8a, 0xb7, 0xe2, 0x2e, 0x82, 0xe2, 0x82, 0x4b, 0x56, 0xbd, 0x0d, 0x69, 0x73, + 0x9a, 0x0e, 0x4d, 0x33, 0x65, 0x66, 0x5a, 0x76, 0x5f, 0xc0, 0x67, 0xf0, 0x11, 0xc4, 0x27, 0xf1, + 0xd2, 0x4b, 0x2f, 0xa5, 0xbe, 0x88, 0xcc, 0x4c, 0x22, 0xc5, 0x5e, 0x75, 0xbe, 0x9f, 0x73, 0xce, + 0x37, 0x27, 0x53, 0x08, 0x97, 0x28, 0xf3, 0xd5, 0x64, 0xbc, 0xe2, 0x4c, 0x32, 0xe2, 0x1a, 0x74, + 0x72, 0x54, 0xb2, 0x92, 0x69, 0xea, 0xa9, 0x3a, 0x19, 0xf5, 0xe4, 0x0e, 0x5f, 0x0b, 0xa9, 0x8f, + 0x86, 0x88, 0x5f, 0x81, 0x77, 0x51, 0xad, 0x85, 0x44, 0x4e, 0xfa, 0x60, 0xd3, 0x22, 0xb2, 0x46, + 0x56, 0xd2, 0x4d, 0x6d, 0x5a, 0x90, 0x47, 0xd0, 0x5f, 0xe6, 0x37, 0xd9, 0x0a, 0x91, 0x67, 0x53, + 0xb6, 0xae, 0x65, 0x64, 0x8f, 0xac, 0xe4, 0x30, 0x0d, 0x97, 0xf9, 0xcd, 0x15, 0x22, 0xbf, 0x50, + 0x5c, 0xfc, 0x02, 0xe0, 0x5a, 0x32, 0x8e, 0x97, 0xf9, 0x04, 0x2b, 0x32, 0x80, 0xce, 0x02, 0x6f, + 0x75, 0x93, 0x5e, 0xaa, 0x8e, 0xe4, 0x08, 0x9c, 0x4d, 0x5e, 0xad, 0x51, 0x17, 0xf7, 0x52, 0x03, + 0xe2, 0x2f, 0x36, 0x38, 0xba, 0x6c, 0x6f, 0x6a, 0x04, 0x5e, 0x5e, 0x14, 0x1c, 0x85, 0x68, 0x2a, + 0x5a, 0x48, 0x12, 0x70, 0x84, 0xcc, 0x25, 0x46, 0x9d, 0x91, 0x95, 0xf4, 0xcf, 0xc8, 0xb8, 0xb9, + 0xb7, 0xee, 0x73, 0xad, 0x94, 0xd4, 0x18, 0xc8, 0x29, 0xb8, 0x95, 0x8a, 0x23, 0xa2, 0xee, 0xa8, + 0x93, 0x04, 0xff, 0x59, 0x75, 0xd2, 0xb4, 0x71, 0xa8, 0x79, 0x1b, 0xe4, 0x82, 0xb2, 0x3a, 0x72, + 0xcc, 0xbc, 0x06, 0x92, 0x87, 0x10, 0xea, 0xbb, 0xb7, 0x71, 0x5c, 0x2d, 0x07, 0x8a, 0x7b, 0xdd, + 0x44, 0x7a, 0x0c, 0x7d, 0x35, 0x71, 0x2d, 0xfe, 0x99, 0x3c, 0x6d, 0x3a, 0x34, 0x6c, 0x6b, 0x3b, + 0x06, 0xbf, 0xa4, 0x32, 0x9b, 0xe7, 0x62, 0x1e, 0xf9, 0x66, 0x48, 0x49, 0xe5, 0xdb, 0x5c, 0xcc, + 0xe3, 0x73, 0x08, 0x52, 0x2c, 0x29, 0xab, 0xdf, 0xac, 0xd8, 0x74, 0xae, 0x9c, 0x53, 0x56, 0xcf, + 0xb2, 0x0d, 0xf2, 0x66, 0x27, 0x9e, 0xc2, 0x9f, 0x91, 0xef, 0x06, 0xb5, 0x8d, 0xd2, 0xc0, 0xf8, + 0xbb, 0x05, 0xae, 0x69, 0xb2, 0xb7, 0xcd, 0xfb, 0xd0, 0x13, 0x32, 0xe7, 0x32, 0x53, 0x5f, 0x45, + 0x95, 0x85, 0xa9, 0xaf, 0x89, 0xf7, 0x78, 0x4b, 0xee, 0x81, 0x87, 0x75, 0xa1, 0xa5, 0x8e, 0x96, + 0x5c, 0xac, 0x0b, 0x25, 0xbc, 0x84, 0x90, 0xeb, 0x7e, 0x19, 0xaa, 0x54, 0x51, 0x77, 0x64, 0x25, + 0xc1, 0xd9, 0xdd, 0x76, 0x8b, 0x3b, 0x81, 0xd3, 0x80, 0xef, 0xa4, 0x8f, 0xc1, 0x51, 0xdb, 0x11, + 0x91, 0xa3, 0xd7, 0x1e, 0xb6, 0x05, 0xea, 0xb5, 0xa4, 0x46, 0x8a, 0xaf, 0xa0, 0xab, 0xe0, 0x5e, + 0xd2, 0x63, 0xf0, 0x85, 0xfa, 0x3a, 0x19, 0x2d, 0xda, 0xfb, 0x69, 0xfc, 0xae, 0x20, 0x0f, 0x00, + 0xa8, 0xc8, 0x2a, 0xcc, 0x79, 0x8d, 0x5c, 0x47, 0xf5, 0xd3, 0x1e, 0x15, 0x97, 0x86, 0x38, 0x7d, + 0xd6, 0xbc, 0x40, 0xfd, 0x04, 0x88, 0x0b, 0xf6, 0xa7, 0xd5, 0xe0, 0x80, 0x04, 0xe0, 0x7d, 0x98, + 0xcd, 0x2a, 0x5a, 0xe3, 0xc0, 0x22, 0x87, 0xd0, 0xfb, 0xc8, 0x96, 0x13, 0x21, 0x59, 0x8d, 0x03, + 0xfb, 0xfc, 0xc9, 0xaf, 0x6f, 0xbe, 0xf5, 0x63, 0x3b, 0xb4, 0x7e, 0x6e, 0x87, 0xd6, 0xef, 0xed, + 0xd0, 0xfa, 0xfa, 0x67, 0x78, 0x00, 0x03, 0xc6, 0xcb, 0xb1, 0xa4, 0x8b, 0xcd, 0x78, 0xb1, 0xd1, + 0x7f, 0x8e, 0x89, 0xab, 0x7f, 0x9e, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xd2, 0x55, 0x4c, 0xe6, + 0x62, 0x03, 0x00, 0x00, } diff --git a/pkg/pdpb/pdpb.pb.go b/pkg/pdpb/pdpb.pb.go index d0b14c591..81fc20ce8 100644 --- a/pkg/pdpb/pdpb.pb.go +++ b/pkg/pdpb/pdpb.pb.go @@ -67,7 +67,7 @@ func (x ErrorType) String() string { return proto.EnumName(ErrorType_name, int32(x)) } func (ErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_f15cfe3b94b4d489, []int{0} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{0} } type CheckPolicy int32 @@ -93,7 +93,7 @@ func (x CheckPolicy) String() string { return proto.EnumName(CheckPolicy_name, int32(x)) } func (CheckPolicy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_f15cfe3b94b4d489, []int{1} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{1} } type OperatorStatus int32 @@ -125,7 +125,7 @@ func (x OperatorStatus) String() string { return proto.EnumName(OperatorStatus_name, int32(x)) } func (OperatorStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_pdpb_f15cfe3b94b4d489, []int{2} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{2} } type RequestHeader struct { @@ -140,7 +140,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_f15cfe3b94b4d489, []int{0} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{0} } func (m *RequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -189,7 +189,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_f15cfe3b94b4d489, []int{1} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{1} } func (m *ResponseHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -244,7 +244,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_f15cfe3b94b4d489, []int{2} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{2} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -299,7 +299,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_f15cfe3b94b4d489, []int{3} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{3} } func (m *TsoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -354,7 +354,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_f15cfe3b94b4d489, []int{4} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{4} } func (m *Timestamp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -410,7 +410,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_f15cfe3b94b4d489, []int{5} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{5} } func (m *TsoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -473,7 +473,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_f15cfe3b94b4d489, []int{6} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{6} } func (m *BootstrapRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -534,7 +534,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_f15cfe3b94b4d489, []int{7} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{7} } func (m *BootstrapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -581,7 +581,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_f15cfe3b94b4d489, []int{8} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{8} } func (m *IsBootstrappedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -629,7 +629,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_f15cfe3b94b4d489, []int{9} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{9} } func (m *IsBootstrappedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -683,7 +683,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_f15cfe3b94b4d489, []int{10} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{10} } func (m *AllocIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -731,7 +731,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_f15cfe3b94b4d489, []int{11} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{11} } func (m *AllocIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -786,7 +786,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_f15cfe3b94b4d489, []int{12} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{12} } func (m *GetStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -842,7 +842,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_f15cfe3b94b4d489, []int{13} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{13} } func (m *GetStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -904,7 +904,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_f15cfe3b94b4d489, []int{14} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{14} } func (m *PutStoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -958,7 +958,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_f15cfe3b94b4d489, []int{15} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{15} } func (m *PutStoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1007,7 +1007,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_f15cfe3b94b4d489, []int{16} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{16} } func (m *GetAllStoresRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1062,7 +1062,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_f15cfe3b94b4d489, []int{17} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{17} } func (m *GetAllStoresResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1117,7 +1117,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_f15cfe3b94b4d489, []int{18} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{18} } func (m *GetRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1174,7 +1174,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_f15cfe3b94b4d489, []int{19} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{19} } func (m *GetRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1243,7 +1243,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_f15cfe3b94b4d489, []int{20} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{20} } func (m *GetRegionByIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1300,7 +1300,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_f15cfe3b94b4d489, []int{21} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{21} } func (m *ScanRegionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1370,7 +1370,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_f15cfe3b94b4d489, []int{22} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{22} } func (m *ScanRegionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1431,7 +1431,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_f15cfe3b94b4d489, []int{23} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{23} } func (m *GetClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1479,7 +1479,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_f15cfe3b94b4d489, []int{24} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{24} } func (m *GetClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1534,7 +1534,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_f15cfe3b94b4d489, []int{25} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{25} } func (m *PutClusterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1588,7 +1588,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_f15cfe3b94b4d489, []int{26} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{26} } func (m *PutClusterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1641,7 +1641,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_f15cfe3b94b4d489, []int{27} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{27} } func (m *Member) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1716,7 +1716,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_f15cfe3b94b4d489, []int{28} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{28} } func (m *GetMembersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1766,7 +1766,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_f15cfe3b94b4d489, []int{29} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{29} } func (m *GetMembersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1835,7 +1835,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_f15cfe3b94b4d489, []int{30} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{30} } func (m *PeerStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1911,7 +1911,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_f15cfe3b94b4d489, []int{31} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{31} } func (m *RegionHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2043,7 +2043,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_f15cfe3b94b4d489, []int{32} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{32} } func (m *ChangePeer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2097,7 +2097,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_f15cfe3b94b4d489, []int{33} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{33} } func (m *TransferLeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2144,7 +2144,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_f15cfe3b94b4d489, []int{34} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{34} } func (m *Merge) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2192,7 +2192,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_f15cfe3b94b4d489, []int{35} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{35} } func (m *SplitRegion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2271,7 +2271,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_f15cfe3b94b4d489, []int{36} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{36} } func (m *RegionHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2368,7 +2368,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_f15cfe3b94b4d489, []int{37} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{37} } func (m *AskSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2428,7 +2428,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_f15cfe3b94b4d489, []int{38} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{38} } func (m *AskSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2491,7 +2491,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_f15cfe3b94b4d489, []int{39} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{39} } func (m *ReportSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2552,7 +2552,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_f15cfe3b94b4d489, []int{40} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{40} } func (m *ReportSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2601,7 +2601,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_f15cfe3b94b4d489, []int{41} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{41} } func (m *AskBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2663,7 +2663,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_f15cfe3b94b4d489, []int{42} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{42} } func (m *SplitID) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2718,7 +2718,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_f15cfe3b94b4d489, []int{43} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{43} } func (m *AskBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2773,7 +2773,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_f15cfe3b94b4d489, []int{44} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{44} } func (m *ReportBatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2827,7 +2827,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_f15cfe3b94b4d489, []int{45} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{45} } func (m *ReportBatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2877,7 +2877,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_f15cfe3b94b4d489, []int{46} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{46} } func (m *TimeInterval) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2932,7 +2932,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_f15cfe3b94b4d489, []int{47} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{47} } func (m *RecordPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3022,7 +3022,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_f15cfe3b94b4d489, []int{48} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{48} } func (m *StoreStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3196,7 +3196,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_f15cfe3b94b4d489, []int{49} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{49} } func (m *StoreHeartbeatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3250,7 +3250,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_f15cfe3b94b4d489, []int{50} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{50} } func (m *StoreHeartbeatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3302,7 +3302,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_f15cfe3b94b4d489, []int{51} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{51} } func (m *ScatterRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3370,7 +3370,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_f15cfe3b94b4d489, []int{52} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{52} } func (m *ScatterRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3417,7 +3417,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_f15cfe3b94b4d489, []int{53} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{53} } func (m *GetGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3465,7 +3465,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_f15cfe3b94b4d489, []int{54} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{54} } func (m *GetGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3520,7 +3520,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_f15cfe3b94b4d489, []int{55} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{55} } func (m *UpdateGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3575,7 +3575,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_f15cfe3b94b4d489, []int{56} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{56} } func (m *UpdateGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3633,7 +3633,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_f15cfe3b94b4d489, []int{57} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{57} } func (m *SyncRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3698,7 +3698,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_f15cfe3b94b4d489, []int{58} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{58} } func (m *SyncRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3760,7 +3760,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_f15cfe3b94b4d489, []int{59} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{59} } func (m *GetOperatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3818,7 +3818,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_f15cfe3b94b4d489, []int{60} + return fileDescriptor_pdpb_1cae001b0c6fcfb8, []int{60} } func (m *GetOperatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -16672,9 +16672,9 @@ var ( ErrIntOverflowPdpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_f15cfe3b94b4d489) } +func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_pdpb_1cae001b0c6fcfb8) } -var fileDescriptor_pdpb_f15cfe3b94b4d489 = []byte{ +var fileDescriptor_pdpb_1cae001b0c6fcfb8 = []byte{ // 2831 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x3a, 0x4d, 0x73, 0x1b, 0xc7, 0xb1, 0x5c, 0x10, 0x00, 0x81, 0xc6, 0x27, 0x87, 0x14, 0x09, 0x41, 0x96, 0x2c, 0xaf, 0xf4, 0xfc, diff --git a/pkg/raft_cmdpb/raft_cmdpb.pb.go b/pkg/raft_cmdpb/raft_cmdpb.pb.go index ff4f87050..dd1f8784b 100644 --- a/pkg/raft_cmdpb/raft_cmdpb.pb.go +++ b/pkg/raft_cmdpb/raft_cmdpb.pb.go @@ -71,7 +71,7 @@ func (x CmdType) String() string { return proto.EnumName(CmdType_name, int32(x)) } func (CmdType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{0} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{0} } type AdminCmdType int32 @@ -122,7 +122,7 @@ func (x AdminCmdType) String() string { return proto.EnumName(AdminCmdType_name, int32(x)) } func (AdminCmdType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{1} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{1} } type StatusCmdType int32 @@ -148,7 +148,7 @@ func (x StatusCmdType) String() string { return proto.EnumName(StatusCmdType_name, int32(x)) } func (StatusCmdType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{2} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{2} } type GetRequest struct { @@ -163,7 +163,7 @@ func (m *GetRequest) Reset() { *m = GetRequest{} } func (m *GetRequest) String() string { return proto.CompactTextString(m) } func (*GetRequest) ProtoMessage() {} func (*GetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{0} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{0} } func (m *GetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -217,7 +217,7 @@ func (m *GetResponse) Reset() { *m = GetResponse{} } func (m *GetResponse) String() string { return proto.CompactTextString(m) } func (*GetResponse) ProtoMessage() {} func (*GetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{1} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{1} } func (m *GetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -266,7 +266,7 @@ func (m *PutRequest) Reset() { *m = PutRequest{} } func (m *PutRequest) String() string { return proto.CompactTextString(m) } func (*PutRequest) ProtoMessage() {} func (*PutRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{2} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{2} } func (m *PutRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -326,7 +326,7 @@ func (m *PutResponse) Reset() { *m = PutResponse{} } func (m *PutResponse) String() string { return proto.CompactTextString(m) } func (*PutResponse) ProtoMessage() {} func (*PutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{3} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{3} } func (m *PutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -367,7 +367,7 @@ func (m *DeleteRequest) Reset() { *m = DeleteRequest{} } func (m *DeleteRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRequest) ProtoMessage() {} func (*DeleteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{4} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{4} } func (m *DeleteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -420,7 +420,7 @@ func (m *DeleteResponse) Reset() { *m = DeleteResponse{} } func (m *DeleteResponse) String() string { return proto.CompactTextString(m) } func (*DeleteResponse) ProtoMessage() {} func (*DeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{5} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{5} } func (m *DeleteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -463,7 +463,7 @@ func (m *DeleteRangeRequest) Reset() { *m = DeleteRangeRequest{} } func (m *DeleteRangeRequest) String() string { return proto.CompactTextString(m) } func (*DeleteRangeRequest) ProtoMessage() {} func (*DeleteRangeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{6} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{6} } func (m *DeleteRangeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -530,7 +530,7 @@ func (m *DeleteRangeResponse) Reset() { *m = DeleteRangeResponse{} } func (m *DeleteRangeResponse) String() string { return proto.CompactTextString(m) } func (*DeleteRangeResponse) ProtoMessage() {} func (*DeleteRangeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{7} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{7} } func (m *DeleteRangeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -569,7 +569,7 @@ func (m *SnapRequest) Reset() { *m = SnapRequest{} } func (m *SnapRequest) String() string { return proto.CompactTextString(m) } func (*SnapRequest) ProtoMessage() {} func (*SnapRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{8} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{8} } func (m *SnapRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -609,7 +609,7 @@ func (m *SnapResponse) Reset() { *m = SnapResponse{} } func (m *SnapResponse) String() string { return proto.CompactTextString(m) } func (*SnapResponse) ProtoMessage() {} func (*SnapResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{9} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{9} } func (m *SnapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -658,7 +658,7 @@ func (m *PrewriteRequest) Reset() { *m = PrewriteRequest{} } func (m *PrewriteRequest) String() string { return proto.CompactTextString(m) } func (*PrewriteRequest) ProtoMessage() {} func (*PrewriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{10} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{10} } func (m *PrewriteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -718,7 +718,7 @@ func (m *PrewriteResponse) Reset() { *m = PrewriteResponse{} } func (m *PrewriteResponse) String() string { return proto.CompactTextString(m) } func (*PrewriteResponse) ProtoMessage() {} func (*PrewriteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{11} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{11} } func (m *PrewriteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -758,7 +758,7 @@ func (m *IngestSSTRequest) Reset() { *m = IngestSSTRequest{} } func (m *IngestSSTRequest) String() string { return proto.CompactTextString(m) } func (*IngestSSTRequest) ProtoMessage() {} func (*IngestSSTRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{12} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{12} } func (m *IngestSSTRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -804,7 +804,7 @@ func (m *IngestSSTResponse) Reset() { *m = IngestSSTResponse{} } func (m *IngestSSTResponse) String() string { return proto.CompactTextString(m) } func (*IngestSSTResponse) ProtoMessage() {} func (*IngestSSTResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{13} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{13} } func (m *IngestSSTResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -843,7 +843,7 @@ func (m *ReadIndexRequest) Reset() { *m = ReadIndexRequest{} } func (m *ReadIndexRequest) String() string { return proto.CompactTextString(m) } func (*ReadIndexRequest) ProtoMessage() {} func (*ReadIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{14} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{14} } func (m *ReadIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -883,7 +883,7 @@ func (m *ReadIndexResponse) Reset() { *m = ReadIndexResponse{} } func (m *ReadIndexResponse) String() string { return proto.CompactTextString(m) } func (*ReadIndexResponse) ProtoMessage() {} func (*ReadIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{15} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{15} } func (m *ReadIndexResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -938,7 +938,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_raft_cmdpb_152568bd20d21dd5, []int{16} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{16} } func (m *Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1049,7 +1049,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_raft_cmdpb_152568bd20d21dd5, []int{17} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{17} } func (m *Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1154,7 +1154,7 @@ func (m *ChangePeerRequest) Reset() { *m = ChangePeerRequest{} } func (m *ChangePeerRequest) String() string { return proto.CompactTextString(m) } func (*ChangePeerRequest) ProtoMessage() {} func (*ChangePeerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{18} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{18} } func (m *ChangePeerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1208,7 +1208,7 @@ func (m *ChangePeerResponse) Reset() { *m = ChangePeerResponse{} } func (m *ChangePeerResponse) String() string { return proto.CompactTextString(m) } func (*ChangePeerResponse) ProtoMessage() {} func (*ChangePeerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{19} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{19} } func (m *ChangePeerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1267,7 +1267,7 @@ func (m *SplitRequest) Reset() { *m = SplitRequest{} } func (m *SplitRequest) String() string { return proto.CompactTextString(m) } func (*SplitRequest) ProtoMessage() {} func (*SplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{20} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{20} } func (m *SplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1337,7 +1337,7 @@ func (m *SplitResponse) Reset() { *m = SplitResponse{} } func (m *SplitResponse) String() string { return proto.CompactTextString(m) } func (*SplitResponse) ProtoMessage() {} func (*SplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{21} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{21} } func (m *SplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1394,7 +1394,7 @@ func (m *BatchSplitRequest) Reset() { *m = BatchSplitRequest{} } func (m *BatchSplitRequest) String() string { return proto.CompactTextString(m) } func (*BatchSplitRequest) ProtoMessage() {} func (*BatchSplitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{22} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{22} } func (m *BatchSplitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1448,7 +1448,7 @@ func (m *BatchSplitResponse) Reset() { *m = BatchSplitResponse{} } func (m *BatchSplitResponse) String() string { return proto.CompactTextString(m) } func (*BatchSplitResponse) ProtoMessage() {} func (*BatchSplitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{23} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{23} } func (m *BatchSplitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1496,7 +1496,7 @@ func (m *CompactLogRequest) Reset() { *m = CompactLogRequest{} } func (m *CompactLogRequest) String() string { return proto.CompactTextString(m) } func (*CompactLogRequest) ProtoMessage() {} func (*CompactLogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{24} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{24} } func (m *CompactLogRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1549,7 +1549,7 @@ func (m *CompactLogResponse) Reset() { *m = CompactLogResponse{} } func (m *CompactLogResponse) String() string { return proto.CompactTextString(m) } func (*CompactLogResponse) ProtoMessage() {} func (*CompactLogResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{25} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{25} } func (m *CompactLogResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1589,7 +1589,7 @@ func (m *TransferLeaderRequest) Reset() { *m = TransferLeaderRequest{} } func (m *TransferLeaderRequest) String() string { return proto.CompactTextString(m) } func (*TransferLeaderRequest) ProtoMessage() {} func (*TransferLeaderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{26} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{26} } func (m *TransferLeaderRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1635,7 +1635,7 @@ func (m *TransferLeaderResponse) Reset() { *m = TransferLeaderResponse{} func (m *TransferLeaderResponse) String() string { return proto.CompactTextString(m) } func (*TransferLeaderResponse) ProtoMessage() {} func (*TransferLeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{27} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{27} } func (m *TransferLeaderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1676,7 +1676,7 @@ func (m *VerifyHashRequest) Reset() { *m = VerifyHashRequest{} } func (m *VerifyHashRequest) String() string { return proto.CompactTextString(m) } func (*VerifyHashRequest) ProtoMessage() {} func (*VerifyHashRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{28} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{28} } func (m *VerifyHashRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1729,7 +1729,7 @@ func (m *VerifyHashResponse) Reset() { *m = VerifyHashResponse{} } func (m *VerifyHashResponse) String() string { return proto.CompactTextString(m) } func (*VerifyHashResponse) ProtoMessage() {} func (*VerifyHashResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{29} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{29} } func (m *VerifyHashResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1770,7 +1770,7 @@ func (m *PrepareMergeRequest) Reset() { *m = PrepareMergeRequest{} } func (m *PrepareMergeRequest) String() string { return proto.CompactTextString(m) } func (*PrepareMergeRequest) ProtoMessage() {} func (*PrepareMergeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{30} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{30} } func (m *PrepareMergeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1823,7 +1823,7 @@ func (m *PrepareMergeResponse) Reset() { *m = PrepareMergeResponse{} } func (m *PrepareMergeResponse) String() string { return proto.CompactTextString(m) } func (*PrepareMergeResponse) ProtoMessage() {} func (*PrepareMergeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{31} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{31} } func (m *PrepareMergeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1865,7 +1865,7 @@ func (m *CommitMergeRequest) Reset() { *m = CommitMergeRequest{} } func (m *CommitMergeRequest) String() string { return proto.CompactTextString(m) } func (*CommitMergeRequest) ProtoMessage() {} func (*CommitMergeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{32} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{32} } func (m *CommitMergeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1925,7 +1925,7 @@ func (m *CommitMergeResponse) Reset() { *m = CommitMergeResponse{} } func (m *CommitMergeResponse) String() string { return proto.CompactTextString(m) } func (*CommitMergeResponse) ProtoMessage() {} func (*CommitMergeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{33} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{33} } func (m *CommitMergeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1965,7 +1965,7 @@ func (m *RollbackMergeRequest) Reset() { *m = RollbackMergeRequest{} } func (m *RollbackMergeRequest) String() string { return proto.CompactTextString(m) } func (*RollbackMergeRequest) ProtoMessage() {} func (*RollbackMergeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{34} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{34} } func (m *RollbackMergeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2011,7 +2011,7 @@ func (m *RollbackMergeResponse) Reset() { *m = RollbackMergeResponse{} } func (m *RollbackMergeResponse) String() string { return proto.CompactTextString(m) } func (*RollbackMergeResponse) ProtoMessage() {} func (*RollbackMergeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{35} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{35} } func (m *RollbackMergeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2060,7 +2060,7 @@ func (m *AdminRequest) Reset() { *m = AdminRequest{} } func (m *AdminRequest) String() string { return proto.CompactTextString(m) } func (*AdminRequest) ProtoMessage() {} func (*AdminRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{36} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{36} } func (m *AdminRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2180,7 +2180,7 @@ func (m *AdminResponse) Reset() { *m = AdminResponse{} } func (m *AdminResponse) String() string { return proto.CompactTextString(m) } func (*AdminResponse) ProtoMessage() {} func (*AdminResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{37} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{37} } func (m *AdminResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2291,7 +2291,7 @@ func (m *RegionLeaderRequest) Reset() { *m = RegionLeaderRequest{} } func (m *RegionLeaderRequest) String() string { return proto.CompactTextString(m) } func (*RegionLeaderRequest) ProtoMessage() {} func (*RegionLeaderRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{38} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{38} } func (m *RegionLeaderRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2331,7 +2331,7 @@ func (m *RegionLeaderResponse) Reset() { *m = RegionLeaderResponse{} } func (m *RegionLeaderResponse) String() string { return proto.CompactTextString(m) } func (*RegionLeaderResponse) ProtoMessage() {} func (*RegionLeaderResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{39} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{39} } func (m *RegionLeaderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2386,7 +2386,7 @@ func (m *RegionDetailRequest) Reset() { *m = RegionDetailRequest{} } func (m *RegionDetailRequest) String() string { return proto.CompactTextString(m) } func (*RegionDetailRequest) ProtoMessage() {} func (*RegionDetailRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{40} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{40} } func (m *RegionDetailRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2427,7 +2427,7 @@ func (m *RegionDetailResponse) Reset() { *m = RegionDetailResponse{} } func (m *RegionDetailResponse) String() string { return proto.CompactTextString(m) } func (*RegionDetailResponse) ProtoMessage() {} func (*RegionDetailResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{41} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{41} } func (m *RegionDetailResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2483,7 +2483,7 @@ func (m *StatusRequest) Reset() { *m = StatusRequest{} } func (m *StatusRequest) String() string { return proto.CompactTextString(m) } func (*StatusRequest) ProtoMessage() {} func (*StatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{42} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{42} } func (m *StatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2546,7 +2546,7 @@ func (m *StatusResponse) Reset() { *m = StatusResponse{} } func (m *StatusResponse) String() string { return proto.CompactTextString(m) } func (*StatusResponse) ProtoMessage() {} func (*StatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{43} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{43} } func (m *StatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2616,7 +2616,7 @@ func (m *RaftRequestHeader) Reset() { *m = RaftRequestHeader{} } func (m *RaftRequestHeader) String() string { return proto.CompactTextString(m) } func (*RaftRequestHeader) ProtoMessage() {} func (*RaftRequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{44} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{44} } func (m *RaftRequestHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2714,7 +2714,7 @@ func (m *RaftResponseHeader) Reset() { *m = RaftResponseHeader{} } func (m *RaftResponseHeader) String() string { return proto.CompactTextString(m) } func (*RaftResponseHeader) ProtoMessage() {} func (*RaftResponseHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{45} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{45} } func (m *RaftResponseHeader) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2780,7 +2780,7 @@ func (m *RaftCmdRequest) Reset() { *m = RaftCmdRequest{} } func (m *RaftCmdRequest) String() string { return proto.CompactTextString(m) } func (*RaftCmdRequest) ProtoMessage() {} func (*RaftCmdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{46} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{46} } func (m *RaftCmdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2851,7 +2851,7 @@ func (m *RaftCmdResponse) Reset() { *m = RaftCmdResponse{} } func (m *RaftCmdResponse) String() string { return proto.CompactTextString(m) } func (*RaftCmdResponse) ProtoMessage() {} func (*RaftCmdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_cmdpb_152568bd20d21dd5, []int{47} + return fileDescriptor_raft_cmdpb_2827b9218d7ca981, []int{47} } func (m *RaftCmdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -11494,9 +11494,9 @@ var ( ErrIntOverflowRaftCmdpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("raft_cmdpb.proto", fileDescriptor_raft_cmdpb_152568bd20d21dd5) } +func init() { proto.RegisterFile("raft_cmdpb.proto", fileDescriptor_raft_cmdpb_2827b9218d7ca981) } -var fileDescriptor_raft_cmdpb_152568bd20d21dd5 = []byte{ +var fileDescriptor_raft_cmdpb_2827b9218d7ca981 = []byte{ // 2108 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0x4f, 0x73, 0xdb, 0xc6, 0x15, 0x37, 0xf8, 0x9f, 0x8f, 0x04, 0x05, 0xad, 0x64, 0x8b, 0xb1, 0x63, 0x8a, 0x46, 0x5c, 0x57, diff --git a/pkg/raft_serverpb/raft_serverpb.pb.go b/pkg/raft_serverpb/raft_serverpb.pb.go index 20bee6b36..114c73e7a 100644 --- a/pkg/raft_serverpb/raft_serverpb.pb.go +++ b/pkg/raft_serverpb/raft_serverpb.pb.go @@ -52,7 +52,7 @@ func (x PeerState) String() string { return proto.EnumName(PeerState_name, int32(x)) } func (PeerState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{0} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{0} } type RaftMessage struct { @@ -77,7 +77,7 @@ func (m *RaftMessage) Reset() { *m = RaftMessage{} } func (m *RaftMessage) String() string { return proto.CompactTextString(m) } func (*RaftMessage) ProtoMessage() {} func (*RaftMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{0} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{0} } func (m *RaftMessage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -181,7 +181,7 @@ func (m *RaftTruncatedState) Reset() { *m = RaftTruncatedState{} } func (m *RaftTruncatedState) String() string { return proto.CompactTextString(m) } func (*RaftTruncatedState) ProtoMessage() {} func (*RaftTruncatedState) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{1} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{1} } func (m *RaftTruncatedState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -237,7 +237,7 @@ func (m *SnapshotCFFile) Reset() { *m = SnapshotCFFile{} } func (m *SnapshotCFFile) String() string { return proto.CompactTextString(m) } func (*SnapshotCFFile) ProtoMessage() {} func (*SnapshotCFFile) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{2} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{2} } func (m *SnapshotCFFile) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -298,7 +298,7 @@ func (m *SnapshotMeta) Reset() { *m = SnapshotMeta{} } func (m *SnapshotMeta) String() string { return proto.CompactTextString(m) } func (*SnapshotMeta) ProtoMessage() {} func (*SnapshotMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{3} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{3} } func (m *SnapshotMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -346,7 +346,7 @@ func (m *SnapshotChunk) Reset() { *m = SnapshotChunk{} } func (m *SnapshotChunk) String() string { return proto.CompactTextString(m) } func (*SnapshotChunk) ProtoMessage() {} func (*SnapshotChunk) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{4} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{4} } func (m *SnapshotChunk) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -399,7 +399,7 @@ func (m *Done) Reset() { *m = Done{} } func (m *Done) String() string { return proto.CompactTextString(m) } func (*Done) ProtoMessage() {} func (*Done) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{5} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{5} } func (m *Done) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -440,7 +440,7 @@ func (m *KeyValue) Reset() { *m = KeyValue{} } func (m *KeyValue) String() string { return proto.CompactTextString(m) } func (*KeyValue) ProtoMessage() {} func (*KeyValue) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{6} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{6} } func (m *KeyValue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -498,7 +498,7 @@ func (m *RaftSnapshotData) Reset() { *m = RaftSnapshotData{} } func (m *RaftSnapshotData) String() string { return proto.CompactTextString(m) } func (*RaftSnapshotData) ProtoMessage() {} func (*RaftSnapshotData) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{7} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{7} } func (m *RaftSnapshotData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -574,7 +574,7 @@ func (m *StoreIdent) Reset() { *m = StoreIdent{} } func (m *StoreIdent) String() string { return proto.CompactTextString(m) } func (*StoreIdent) ProtoMessage() {} func (*StoreIdent) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{8} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{8} } func (m *StoreIdent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -629,7 +629,7 @@ func (m *RaftLocalState) Reset() { *m = RaftLocalState{} } func (m *RaftLocalState) String() string { return proto.CompactTextString(m) } func (*RaftLocalState) ProtoMessage() {} func (*RaftLocalState) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{9} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{9} } func (m *RaftLocalState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -684,7 +684,7 @@ func (m *RaftApplyState) Reset() { *m = RaftApplyState{} } func (m *RaftApplyState) String() string { return proto.CompactTextString(m) } func (*RaftApplyState) ProtoMessage() {} func (*RaftApplyState) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{10} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{10} } func (m *RaftApplyState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -740,7 +740,7 @@ func (m *MergeState) Reset() { *m = MergeState{} } func (m *MergeState) String() string { return proto.CompactTextString(m) } func (*MergeState) ProtoMessage() {} func (*MergeState) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{11} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{11} } func (m *MergeState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -803,7 +803,7 @@ func (m *RegionLocalState) Reset() { *m = RegionLocalState{} } func (m *RegionLocalState) String() string { return proto.CompactTextString(m) } func (*RegionLocalState) ProtoMessage() {} func (*RegionLocalState) Descriptor() ([]byte, []int) { - return fileDescriptor_raft_serverpb_e70f8fadb12392d2, []int{12} + return fileDescriptor_raft_serverpb_60dbe20dcc8022d9, []int{12} } func (m *RegionLocalState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3413,9 +3413,9 @@ var ( ErrIntOverflowRaftServerpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("raft_serverpb.proto", fileDescriptor_raft_serverpb_e70f8fadb12392d2) } +func init() { proto.RegisterFile("raft_serverpb.proto", fileDescriptor_raft_serverpb_60dbe20dcc8022d9) } -var fileDescriptor_raft_serverpb_e70f8fadb12392d2 = []byte{ +var fileDescriptor_raft_serverpb_60dbe20dcc8022d9 = []byte{ // 873 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0xdd, 0x6e, 0xe3, 0x44, 0x14, 0x5e, 0x27, 0xae, 0x63, 0x9f, 0x38, 0xd9, 0x68, 0x16, 0xb1, 0xde, 0x56, 0x5b, 0x65, 0x8d, diff --git a/pkg/tikvpb/tikvpb.pb.go b/pkg/tikvpb/tikvpb.pb.go index b0a877d66..610ba2238 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_5d04453cc9fe5be6, []int{0} + return fileDescriptor_tikvpb_352285c788f1f4e2, []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_5d04453cc9fe5be6, []int{0, 0} + return fileDescriptor_tikvpb_352285c788f1f4e2, []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_5d04453cc9fe5be6, []int{1} + return fileDescriptor_tikvpb_352285c788f1f4e2, []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_5d04453cc9fe5be6, []int{1, 0} + return fileDescriptor_tikvpb_352285c788f1f4e2, []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_5d04453cc9fe5be6, []int{2} + return fileDescriptor_tikvpb_352285c788f1f4e2, []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_5d04453cc9fe5be6, []int{3} + return fileDescriptor_tikvpb_352285c788f1f4e2, []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_5d04453cc9fe5be6, []int{4} + return fileDescriptor_tikvpb_352285c788f1f4e2, []int{4} } func (m *BatchCommandsEmptyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7735,9 +7735,9 @@ var ( ErrIntOverflowTikvpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("tikvpb.proto", fileDescriptor_tikvpb_5d04453cc9fe5be6) } +func init() { proto.RegisterFile("tikvpb.proto", fileDescriptor_tikvpb_352285c788f1f4e2) } -var fileDescriptor_tikvpb_5d04453cc9fe5be6 = []byte{ +var fileDescriptor_tikvpb_352285c788f1f4e2 = []byte{ // 1745 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x99, 0xdb, 0x52, 0xdc, 0x46, 0x1a, 0xc7, 0x35, 0x30, 0x9c, 0x9a, 0x73, 0x03, 0x46, 0xf4, 0x72, 0xb2, 0xec, 0xf5, 0x52, 0xbb, diff --git a/proto/metapb.proto b/proto/metapb.proto index 4883f73b9..c774ff32a 100644 --- a/proto/metapb.proto +++ b/proto/metapb.proto @@ -41,6 +41,9 @@ message Store { // Address to handle peer requests (raft messages from other store). // Empty means same as address. string peer_address = 6; + // Status address provides the HTTP service for external components + string status_address = 7; + string git_hash = 8; } message RegionEpoch {