From a0e3fbb1eeee6b8e04e2bec6d1ca65dcd9172662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E5=B2=9A?= <36239017+YuJuncen@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:06:01 +0800 Subject: [PATCH] Added a new `PrepareBackup` RPC for snapshot backup (#1204) (#1219) * added basic proto * finish * update new version of advanced prepare * added some comments and a new request type * added more comments * make go * address comments --------- Signed-off-by: hillium --- pkg/brpb/brpb.pb.go | 1244 ++++++++++++++++++++++++++++++++++--------- proto/brpb.proto | 49 ++ 2 files changed, 1045 insertions(+), 248 deletions(-) diff --git a/pkg/brpb/brpb.pb.go b/pkg/brpb/brpb.pb.go index 9111b49e3..c64a8d5b6 100644 --- a/pkg/brpb/brpb.pb.go +++ b/pkg/brpb/brpb.pb.go @@ -32,6 +32,69 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type PrepareSnapshotBackupRequestType int32 + +const ( + // Update the lease of suspending some commands (Which may impact the + // disk snapshot backup) to be proposed. + // As long as the lease is kept, those commands may not be proposed. + // If the client has gone, the lease will be destroyed after its TTL. + PrepareSnapshotBackupRequestType_UpdateLease PrepareSnapshotBackupRequestType = 0 + // Wait a region apply to the last index. + PrepareSnapshotBackupRequestType_WaitApply PrepareSnapshotBackupRequestType = 1 + // Hint before closing the stream. Server will go back to normal after this. + // This should also return a final "UpdateLeaseResult" to the client, which + // indices whether the last lease is valid. + PrepareSnapshotBackupRequestType_Finish PrepareSnapshotBackupRequestType = 2 +) + +var PrepareSnapshotBackupRequestType_name = map[int32]string{ + 0: "UpdateLease", + 1: "WaitApply", + 2: "Finish", +} + +var PrepareSnapshotBackupRequestType_value = map[string]int32{ + "UpdateLease": 0, + "WaitApply": 1, + "Finish": 2, +} + +func (x PrepareSnapshotBackupRequestType) String() string { + return proto.EnumName(PrepareSnapshotBackupRequestType_name, int32(x)) +} + +func (PrepareSnapshotBackupRequestType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_483d1f48d58a4885, []int{0} +} + +type PrepareSnapshotBackupEventType int32 + +const ( + // A region has finished wait apply. + PrepareSnapshotBackupEventType_WaitApplyDone PrepareSnapshotBackupEventType = 0 + // A lease has been updated. + PrepareSnapshotBackupEventType_UpdateLeaseResult PrepareSnapshotBackupEventType = 1 +) + +var PrepareSnapshotBackupEventType_name = map[int32]string{ + 0: "WaitApplyDone", + 1: "UpdateLeaseResult", +} + +var PrepareSnapshotBackupEventType_value = map[string]int32{ + "WaitApplyDone": 0, + "UpdateLeaseResult": 1, +} + +func (x PrepareSnapshotBackupEventType) String() string { + return proto.EnumName(PrepareSnapshotBackupEventType_name, int32(x)) +} + +func (PrepareSnapshotBackupEventType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_483d1f48d58a4885, []int{1} +} + // sst files or log files compression algorithm // for log files, unknown means not use compression algorithm type CompressionType int32 @@ -62,7 +125,7 @@ func (x CompressionType) String() string { } func (CompressionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{0} + return fileDescriptor_483d1f48d58a4885, []int{2} } type MetaVersion int32 @@ -87,7 +150,7 @@ func (x MetaVersion) String() string { } func (MetaVersion) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{1} + return fileDescriptor_483d1f48d58a4885, []int{3} } type FileType int32 @@ -112,7 +175,151 @@ func (x FileType) String() string { } func (FileType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{2} + return fileDescriptor_483d1f48d58a4885, []int{4} +} + +type PrepareSnapshotBackupRequest struct { + // The type of the request. + Ty PrepareSnapshotBackupRequestType `protobuf:"varint,1,opt,name=ty,proto3,enum=backup.PrepareSnapshotBackupRequestType" json:"ty,omitempty"` + // The regions related to the request. + // If the request is "UpdateLease" or "Finish", it should be empty. + Regions []*metapb.Region `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"` + // The lease duration for "UpdateLease" request. + LeaseInSeconds uint64 `protobuf:"varint,3,opt,name=lease_in_seconds,json=leaseInSeconds,proto3" json:"lease_in_seconds,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrepareSnapshotBackupRequest) Reset() { *m = PrepareSnapshotBackupRequest{} } +func (m *PrepareSnapshotBackupRequest) String() string { return proto.CompactTextString(m) } +func (*PrepareSnapshotBackupRequest) ProtoMessage() {} +func (*PrepareSnapshotBackupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_483d1f48d58a4885, []int{0} +} +func (m *PrepareSnapshotBackupRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PrepareSnapshotBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PrepareSnapshotBackupRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PrepareSnapshotBackupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrepareSnapshotBackupRequest.Merge(m, src) +} +func (m *PrepareSnapshotBackupRequest) XXX_Size() int { + return m.Size() +} +func (m *PrepareSnapshotBackupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PrepareSnapshotBackupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PrepareSnapshotBackupRequest proto.InternalMessageInfo + +func (m *PrepareSnapshotBackupRequest) GetTy() PrepareSnapshotBackupRequestType { + if m != nil { + return m.Ty + } + return PrepareSnapshotBackupRequestType_UpdateLease +} + +func (m *PrepareSnapshotBackupRequest) GetRegions() []*metapb.Region { + if m != nil { + return m.Regions + } + return nil +} + +func (m *PrepareSnapshotBackupRequest) GetLeaseInSeconds() uint64 { + if m != nil { + return m.LeaseInSeconds + } + return 0 +} + +type PrepareSnapshotBackupResponse struct { + // The type of the event. + Ty PrepareSnapshotBackupEventType `protobuf:"varint,1,opt,name=ty,proto3,enum=backup.PrepareSnapshotBackupEventType" json:"ty,omitempty"` + // The region bind to the type. + // For "WaitApplyDone". + Region *metapb.Region `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` + // The error of the execution. + Error *errorpb.Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` + // Whether the last lease is valid. + // For "UpdateLease" and "Finish". + LastLeaseIsValid bool `protobuf:"varint,4,opt,name=last_lease_is_valid,json=lastLeaseIsValid,proto3" json:"last_lease_is_valid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PrepareSnapshotBackupResponse) Reset() { *m = PrepareSnapshotBackupResponse{} } +func (m *PrepareSnapshotBackupResponse) String() string { return proto.CompactTextString(m) } +func (*PrepareSnapshotBackupResponse) ProtoMessage() {} +func (*PrepareSnapshotBackupResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_483d1f48d58a4885, []int{1} +} +func (m *PrepareSnapshotBackupResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PrepareSnapshotBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PrepareSnapshotBackupResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PrepareSnapshotBackupResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PrepareSnapshotBackupResponse.Merge(m, src) +} +func (m *PrepareSnapshotBackupResponse) XXX_Size() int { + return m.Size() +} +func (m *PrepareSnapshotBackupResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PrepareSnapshotBackupResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PrepareSnapshotBackupResponse proto.InternalMessageInfo + +func (m *PrepareSnapshotBackupResponse) GetTy() PrepareSnapshotBackupEventType { + if m != nil { + return m.Ty + } + return PrepareSnapshotBackupEventType_WaitApplyDone +} + +func (m *PrepareSnapshotBackupResponse) GetRegion() *metapb.Region { + if m != nil { + return m.Region + } + return nil +} + +func (m *PrepareSnapshotBackupResponse) GetError() *errorpb.Error { + if m != nil { + return m.Error + } + return nil +} + +func (m *PrepareSnapshotBackupResponse) GetLastLeaseIsValid() bool { + if m != nil { + return m.LastLeaseIsValid + } + return false } // The message save the metadata of a backup. @@ -175,7 +382,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_483d1f48d58a4885, []int{0} + return fileDescriptor_483d1f48d58a4885, []int{2} } func (m *BackupMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -360,7 +567,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_483d1f48d58a4885, []int{1} + return fileDescriptor_483d1f48d58a4885, []int{3} } func (m *File) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -495,7 +702,7 @@ func (m *MetaFile) Reset() { *m = MetaFile{} } func (m *MetaFile) String() string { return proto.CompactTextString(m) } func (*MetaFile) ProtoMessage() {} func (*MetaFile) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{2} + return fileDescriptor_483d1f48d58a4885, []int{4} } func (m *MetaFile) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -570,7 +777,7 @@ func (m *PlacementPolicy) Reset() { *m = PlacementPolicy{} } func (m *PlacementPolicy) String() string { return proto.CompactTextString(m) } func (*PlacementPolicy) ProtoMessage() {} func (*PlacementPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{3} + return fileDescriptor_483d1f48d58a4885, []int{5} } func (m *PlacementPolicy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -625,7 +832,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_483d1f48d58a4885, []int{4} + return fileDescriptor_483d1f48d58a4885, []int{6} } func (m *Schema) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -716,7 +923,7 @@ func (m *RawRange) Reset() { *m = RawRange{} } func (m *RawRange) String() string { return proto.CompactTextString(m) } func (*RawRange) ProtoMessage() {} func (*RawRange) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{5} + return fileDescriptor_483d1f48d58a4885, []int{7} } func (m *RawRange) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -778,7 +985,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_483d1f48d58a4885, []int{6} + return fileDescriptor_483d1f48d58a4885, []int{8} } func (m *ClusterIDError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -837,7 +1044,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_483d1f48d58a4885, []int{7} + return fileDescriptor_483d1f48d58a4885, []int{9} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -942,7 +1149,7 @@ func (m *CipherInfo) Reset() { *m = CipherInfo{} } func (m *CipherInfo) String() string { return proto.CompactTextString(m) } func (*CipherInfo) ProtoMessage() {} func (*CipherInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{8} + return fileDescriptor_483d1f48d58a4885, []int{10} } func (m *CipherInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1025,7 +1232,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_483d1f48d58a4885, []int{9} + return fileDescriptor_483d1f48d58a4885, []int{11} } func (m *BackupRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1182,7 +1389,7 @@ func (m *StreamBackupTaskInfo) Reset() { *m = StreamBackupTaskInfo{} } func (m *StreamBackupTaskInfo) String() string { return proto.CompactTextString(m) } func (*StreamBackupTaskInfo) ProtoMessage() {} func (*StreamBackupTaskInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{10} + return fileDescriptor_483d1f48d58a4885, []int{12} } func (m *StreamBackupTaskInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1272,7 +1479,7 @@ func (m *StorageBackend) Reset() { *m = StorageBackend{} } func (m *StorageBackend) String() string { return proto.CompactTextString(m) } func (*StorageBackend) ProtoMessage() {} func (*StorageBackend) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{11} + return fileDescriptor_483d1f48d58a4885, []int{13} } func (m *StorageBackend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1417,7 +1624,7 @@ func (m *Noop) Reset() { *m = Noop{} } func (m *Noop) String() string { return proto.CompactTextString(m) } func (*Noop) ProtoMessage() {} func (*Noop) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{12} + return fileDescriptor_483d1f48d58a4885, []int{14} } func (m *Noop) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1458,7 +1665,7 @@ func (m *Local) Reset() { *m = Local{} } func (m *Local) String() string { return proto.CompactTextString(m) } func (*Local) ProtoMessage() {} func (*Local) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{13} + return fileDescriptor_483d1f48d58a4885, []int{15} } func (m *Local) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1522,7 +1729,7 @@ func (m *S3) Reset() { *m = S3{} } func (m *S3) String() string { return proto.CompactTextString(m) } func (*S3) ProtoMessage() {} func (*S3) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{14} + return fileDescriptor_483d1f48d58a4885, []int{16} } func (m *S3) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1679,7 +1886,7 @@ func (m *GCS) Reset() { *m = GCS{} } func (m *GCS) String() string { return proto.CompactTextString(m) } func (*GCS) ProtoMessage() {} func (*GCS) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{15} + return fileDescriptor_483d1f48d58a4885, []int{17} } func (m *GCS) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1779,7 +1986,7 @@ func (m *AzureBlobStorage) Reset() { *m = AzureBlobStorage{} } func (m *AzureBlobStorage) String() string { return proto.CompactTextString(m) } func (*AzureBlobStorage) ProtoMessage() {} func (*AzureBlobStorage) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{16} + return fileDescriptor_483d1f48d58a4885, []int{18} } func (m *AzureBlobStorage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1865,7 +2072,7 @@ func (m *Bucket) Reset() { *m = Bucket{} } func (m *Bucket) String() string { return proto.CompactTextString(m) } func (*Bucket) ProtoMessage() {} func (*Bucket) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{17} + return fileDescriptor_483d1f48d58a4885, []int{19} } func (m *Bucket) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1943,7 +2150,7 @@ func (m *CloudDynamic) Reset() { *m = CloudDynamic{} } func (m *CloudDynamic) String() string { return proto.CompactTextString(m) } func (*CloudDynamic) ProtoMessage() {} func (*CloudDynamic) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{18} + return fileDescriptor_483d1f48d58a4885, []int{20} } func (m *CloudDynamic) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2006,7 +2213,7 @@ func (m *HDFS) Reset() { *m = HDFS{} } func (m *HDFS) String() string { return proto.CompactTextString(m) } func (*HDFS) ProtoMessage() {} func (*HDFS) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{19} + return fileDescriptor_483d1f48d58a4885, []int{21} } func (m *HDFS) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2058,7 +2265,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_483d1f48d58a4885, []int{20} + return fileDescriptor_483d1f48d58a4885, []int{22} } func (m *BackupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2132,7 +2339,7 @@ func (m *CheckAdminRequest) Reset() { *m = CheckAdminRequest{} } func (m *CheckAdminRequest) String() string { return proto.CompactTextString(m) } func (*CheckAdminRequest) ProtoMessage() {} func (*CheckAdminRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{21} + return fileDescriptor_483d1f48d58a4885, []int{23} } func (m *CheckAdminRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2174,7 +2381,7 @@ func (m *CheckAdminResponse) Reset() { *m = CheckAdminResponse{} } func (m *CheckAdminResponse) String() string { return proto.CompactTextString(m) } func (*CheckAdminResponse) ProtoMessage() {} func (*CheckAdminResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{22} + return fileDescriptor_483d1f48d58a4885, []int{24} } func (m *CheckAdminResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2238,7 +2445,7 @@ func (m *ExternalStorageRestoreRequest) Reset() { *m = ExternalStorageRe func (m *ExternalStorageRestoreRequest) String() string { return proto.CompactTextString(m) } func (*ExternalStorageRestoreRequest) ProtoMessage() {} func (*ExternalStorageRestoreRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{23} + return fileDescriptor_483d1f48d58a4885, []int{25} } func (m *ExternalStorageRestoreRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2305,7 +2512,7 @@ func (m *ExternalStorageRestoreResponse) Reset() { *m = ExternalStorageR func (m *ExternalStorageRestoreResponse) String() string { return proto.CompactTextString(m) } func (*ExternalStorageRestoreResponse) ProtoMessage() {} func (*ExternalStorageRestoreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{24} + return fileDescriptor_483d1f48d58a4885, []int{26} } func (m *ExternalStorageRestoreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2347,7 +2554,7 @@ func (m *ExternalStorageSaveRequest) Reset() { *m = ExternalStorageSaveR func (m *ExternalStorageSaveRequest) String() string { return proto.CompactTextString(m) } func (*ExternalStorageSaveRequest) ProtoMessage() {} func (*ExternalStorageSaveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{25} + return fileDescriptor_483d1f48d58a4885, []int{27} } func (m *ExternalStorageSaveRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2407,7 +2614,7 @@ func (m *ExternalStorageSaveResponse) Reset() { *m = ExternalStorageSave func (m *ExternalStorageSaveResponse) String() string { return proto.CompactTextString(m) } func (*ExternalStorageSaveResponse) ProtoMessage() {} func (*ExternalStorageSaveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{26} + return fileDescriptor_483d1f48d58a4885, []int{28} } func (m *ExternalStorageSaveResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2454,7 +2661,7 @@ func (m *Metadata) Reset() { *m = Metadata{} } func (m *Metadata) String() string { return proto.CompactTextString(m) } func (*Metadata) ProtoMessage() {} func (*Metadata) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{27} + return fileDescriptor_483d1f48d58a4885, []int{29} } func (m *Metadata) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2556,7 +2763,7 @@ func (m *DataFileGroup) Reset() { *m = DataFileGroup{} } func (m *DataFileGroup) String() string { return proto.CompactTextString(m) } func (*DataFileGroup) ProtoMessage() {} func (*DataFileGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{28} + return fileDescriptor_483d1f48d58a4885, []int{30} } func (m *DataFileGroup) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2673,7 +2880,7 @@ func (m *DataFileInfo) Reset() { *m = DataFileInfo{} } func (m *DataFileInfo) String() string { return proto.CompactTextString(m) } func (*DataFileInfo) ProtoMessage() {} func (*DataFileInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{29} + return fileDescriptor_483d1f48d58a4885, []int{31} } func (m *DataFileInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2846,7 +3053,7 @@ func (m *StreamBackupError) Reset() { *m = StreamBackupError{} } func (m *StreamBackupError) String() string { return proto.CompactTextString(m) } func (*StreamBackupError) ProtoMessage() {} func (*StreamBackupError) Descriptor() ([]byte, []int) { - return fileDescriptor_483d1f48d58a4885, []int{30} + return fileDescriptor_483d1f48d58a4885, []int{32} } func (m *StreamBackupError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2904,9 +3111,13 @@ func (m *StreamBackupError) GetStoreId() uint64 { } func init() { + proto.RegisterEnum("backup.PrepareSnapshotBackupRequestType", PrepareSnapshotBackupRequestType_name, PrepareSnapshotBackupRequestType_value) + proto.RegisterEnum("backup.PrepareSnapshotBackupEventType", PrepareSnapshotBackupEventType_name, PrepareSnapshotBackupEventType_value) proto.RegisterEnum("backup.CompressionType", CompressionType_name, CompressionType_value) proto.RegisterEnum("backup.MetaVersion", MetaVersion_name, MetaVersion_value) proto.RegisterEnum("backup.FileType", FileType_name, FileType_value) + proto.RegisterType((*PrepareSnapshotBackupRequest)(nil), "backup.PrepareSnapshotBackupRequest") + proto.RegisterType((*PrepareSnapshotBackupResponse)(nil), "backup.PrepareSnapshotBackupResponse") proto.RegisterType((*BackupMeta)(nil), "backup.BackupMeta") proto.RegisterType((*File)(nil), "backup.File") proto.RegisterType((*MetaFile)(nil), "backup.MetaFile") @@ -2944,184 +3155,197 @@ func init() { func init() { proto.RegisterFile("brpb.proto", fileDescriptor_483d1f48d58a4885) } var fileDescriptor_483d1f48d58a4885 = []byte{ - // 2822 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5d, 0x6f, 0x1b, 0xc7, - 0xd5, 0xd6, 0x92, 0xcb, 0xaf, 0xc3, 0x4f, 0x8d, 0x1d, 0x87, 0x91, 0x5f, 0xdb, 0x0a, 0xfd, 0xda, - 0xaf, 0x5e, 0x05, 0x50, 0x12, 0xc9, 0x09, 0xd2, 0xa6, 0x45, 0xa0, 0xaf, 0x44, 0x8a, 0x1c, 0x59, - 0x1d, 0xa9, 0x29, 0x9a, 0x9b, 0xc5, 0x72, 0x77, 0x28, 0x6e, 0xb9, 0xdc, 0xdd, 0xee, 0x0c, 0x69, - 0x2b, 0xff, 0xa1, 0x68, 0x7b, 0x51, 0xb4, 0x7f, 0xa0, 0x68, 0x7f, 0x46, 0x6f, 0x0a, 0x24, 0x68, - 0x81, 0x06, 0xc8, 0x4d, 0x2f, 0x8b, 0xf4, 0x57, 0xf4, 0xae, 0x98, 0x33, 0x33, 0xcb, 0xa5, 0x2c, - 0xca, 0x71, 0x51, 0xe4, 0x8a, 0x33, 0xcf, 0x39, 0x33, 0x3b, 0xe7, 0xfb, 0xcc, 0x10, 0xa0, 0x9f, -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x47, 0x22, 0xa4, 0x05, 0x05, 0x6f, 0x80, 0x1e, 0x52, 0xa3, 0x05, - 0x6f, 0x20, 0x35, 0xc2, 0x83, 0xcf, 0x19, 0xc6, 0xb9, 0x4d, 0x71, 0x2c, 0xbf, 0xe0, 0x05, 0xc9, - 0x50, 0x26, 0x92, 0x29, 0x06, 0x79, 0x83, 0x56, 0x15, 0x70, 0x38, 0xed, 0x7d, 0x6d, 0x41, 0xd5, - 0xb8, 0x0d, 0x79, 0x03, 0x40, 0x66, 0x33, 0x47, 0xc5, 0xbd, 0x75, 0x45, 0xdc, 0xd7, 0xc6, 0x9a, - 0x97, 0x4b, 0x66, 0xdf, 0xcd, 0x98, 0x0b, 0x57, 0x31, 0x4b, 0xba, 0x62, 0xce, 0x45, 0x6c, 0xf1, - 0xfa, 0x88, 0x9d, 0x0f, 0x30, 0xfb, 0xc5, 0x01, 0x66, 0xc2, 0xa4, 0xb4, 0x5a, 0x34, 0x61, 0xd2, - 0x7b, 0x00, 0xed, 0x4b, 0x0e, 0x28, 0xd9, 0x82, 0x68, 0x10, 0xa3, 0xaf, 0x34, 0x28, 0x8e, 0x7b, - 0x5f, 0x5a, 0x50, 0x56, 0xdf, 0x97, 0x8a, 0xf4, 0xfb, 0x9a, 0x58, 0xf0, 0xfb, 0xe4, 0x26, 0x94, - 0x84, 0xf4, 0x3c, 0xed, 0x45, 0x6a, 0x32, 0x67, 0xc8, 0xe2, 0x75, 0x86, 0xb4, 0xaf, 0x37, 0x64, - 0xe9, 0x39, 0x43, 0xfe, 0x3f, 0x74, 0x44, 0x30, 0x08, 0x5d, 0x3e, 0x74, 0x52, 0x96, 0x84, 0x81, - 0xe7, 0x72, 0x74, 0xa4, 0x26, 0x6d, 0x6b, 0x9c, 0x6a, 0x58, 0x1e, 0x8d, 0x0b, 0x57, 0x70, 0x74, - 0xa5, 0x06, 0x55, 0x93, 0xde, 0x09, 0x54, 0x8d, 0x76, 0xe6, 0x7d, 0xdd, 0x5a, 0xec, 0x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 0x4f, 0x26, 0xa2, 0x63, 0x6d, 0xfe, - 0x56, 0xb6, 0x7c, 0xa8, 0x0a, 0xf2, 0x3e, 0xe8, 0xff, 0xbd, 0x48, 0x96, 0x12, 0xe7, 0x5e, 0xa0, - 0x56, 0x6e, 0x5d, 0x86, 0x75, 0x3e, 0x5e, 0x7a, 0xcb, 0x22, 0x27, 0x70, 0x03, 0x2b, 0x7b, 0xbe, - 0xbe, 0x3e, 0x49, 0xc8, 0x6b, 0x99, 0x75, 0x2e, 0x37, 0x03, 0x2b, 0x2b, 0x57, 0x91, 0x66, 0x3b, - 0x6e, 0xfe, 0xc9, 0x82, 0xf6, 0xa5, 0x2a, 0x40, 0x3e, 0x83, 0x8a, 0x2e, 0x8c, 0xe4, 0x41, 0xd6, - 0x25, 0x5c, 0x57, 0xc0, 0x57, 0x1e, 0xbe, 0x88, 0xcd, 0x7c, 0x91, 0xfc, 0x08, 0x6c, 0xee, 0x4e, - 0x19, 0xe9, 0x2d, 0x58, 0x91, 0xab, 0x94, 0x2b, 0xf7, 0xaf, 0xe5, 0x31, 0x5b, 0xee, 0x3c, 0xfc, - 0xfb, 0x1f, 0xab, 0xd6, 0x17, 0xdf, 0xdc, 0xb5, 0xbe, 0xfa, 0xe6, 0xae, 0xf5, 0x8f, 0x6f, 0xee, - 0x5a, 0xbf, 0xfb, 0xe7, 0xdd, 0x25, 0xe8, 0xc4, 0xe9, 0xf9, 0x86, 0x08, 0x46, 0xd3, 0x8d, 0xd1, - 0x14, 0xff, 0x00, 0xec, 0x97, 0xf1, 0x67, 0xeb, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xbd, - 0xc0, 0x3a, 0x84, 0x1c, 0x00, 0x00, + // 3035 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5b, 0x6f, 0x1c, 0xc7, + 0x95, 0x66, 0xcf, 0xf4, 0xdc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 0x50, 0x2d, 0x98, 0x87, + 0x5e, 0x1c, 0xf9, 0xa6, 0x09, 0xd5, 0x68, 0xb6, 0x56, 0xb3, 0x5f, 0xee, 0xfc, 0x56, 0xcb, 0xce, + 0x6b, 0x57, 0xa1, 0xdc, 0x1f, 0xbb, 0x27, 0x5c, 0x9a, 0xee, 0x66, 0x56, 0x0a, 0x8f, 0x13, 0x3e, + 0xf0, 0x9f, 0x9b, 0x38, 0x33, 0x2b, 0x5d, 0x0f, 0x75, 0x21, 0x72, 0x03, 0x26, 0x74, 0xbf, 0xae, + 0xa9, 0x7a, 0x88, 0xe0, 0xb6, 0xc2, 0x54, 0x3b, 0x13, 0x42, 0x87, 0x57, 0x8d, 0xaa, 0x47, 0x85, + 0x30, 0x37, 0x40, 0x63, 0xd4, 0xa8, 0x7a, 0x54, 0x25, 0x91, 0xb9, 0x2e, 0x17, 0x02, 0x8b, 0x6e, + 0x55, 0x1f, 0xbe, 0x34, 0xa2, 0xea, 0xee, 0x1a, 0x2c, 0x0a, 0xee, 0x26, 0x5c, 0x3a, 0x39, 0xae, + 0x1a, 0x72, 0xb5, 0x35, 0x61, 0x33, 0xe3, 0x5d, 0x85, 0xce, 0x20, 0x4a, 0x5c, 0xee, 0x28, 0x63, + 0x38, 0x42, 0x4e, 0x03, 0x6e, 0x4a, 0x5c, 0x0b, 0xf1, 0x43, 0x26, 0x87, 0x47, 0x0a, 0x25, 0x37, + 0xa1, 0x25, 0x04, 0x77, 0x4e, 0x46, 0xb8, 0x9f, 0x6a, 0x13, 0xba, 0xea, 0xd5, 0x85, 0xe0, 0x8f, + 0x46, 0x6a, 0xb3, 0x7d, 0x4f, 0xa5, 0x64, 0x12, 0x05, 0xdc, 0x61, 0x89, 0x3e, 0xf8, 0xd5, 0x68, + 0x45, 0xad, 0x37, 0x13, 0x5d, 0xe8, 0x9f, 0x4b, 0x9e, 0x84, 0x2c, 0x50, 0x2f, 0x37, 0x91, 0x0a, + 0x29, 0xb4, 0xef, 0x91, 0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 0x59, 0xd0, 0x3e, 0xd3, 0x0b, 0xc9, 0x97, + 0x50, 0x31, 0xe3, 0x01, 0xc9, 0x76, 0xba, 0x70, 0x8c, 0x59, 0xba, 0xfd, 0x32, 0xb6, 0x54, 0x37, + 0xf2, 0xbf, 0x60, 0x0b, 0x36, 0xe1, 0xa4, 0x77, 0xce, 0x1b, 0xb9, 0x79, 0x61, 0xe9, 0xe6, 0x85, + 0x3c, 0xe9, 0x96, 0x5b, 0xb7, 0xff, 0xf2, 0x9b, 0xaa, 0xf5, 0xf5, 0xf7, 0xcb, 0xd6, 0xb7, 0xdf, + 0x2f, 0x5b, 0x7f, 0xfd, 0x7e, 0xd9, 0xfa, 0xe5, 0xdf, 0x96, 0x17, 0xa0, 0x13, 0x25, 0xc7, 0xeb, + 0xd2, 0x3f, 0x99, 0xac, 0x9f, 0x4c, 0xf0, 0xcf, 0xe8, 0x7e, 0x19, 0x7f, 0x36, 0xfe, 0x11, 0x00, + 0x00, 0xff, 0xff, 0xe4, 0xcc, 0xa9, 0xf2, 0x10, 0x1f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3141,6 +3365,9 @@ type BackupClient interface { // we need stop all schedule first and make sure all in-flight schedule has finished. // this rpc check all pending conf change for leader. CheckPendingAdminOp(ctx context.Context, in *CheckAdminRequest, opts ...grpc.CallOption) (Backup_CheckPendingAdminOpClient, error) + // PrepareSnapshotBackup is an advanced version of preparing snapshot backup. + // Check the defination of `PrepareSnapshotBackupRequest` for more. + PrepareSnapshotBackup(ctx context.Context, opts ...grpc.CallOption) (Backup_PrepareSnapshotBackupClient, error) } type backupClient struct { @@ -3215,6 +3442,37 @@ func (x *backupCheckPendingAdminOpClient) Recv() (*CheckAdminResponse, error) { return m, nil } +func (c *backupClient) PrepareSnapshotBackup(ctx context.Context, opts ...grpc.CallOption) (Backup_PrepareSnapshotBackupClient, error) { + stream, err := c.cc.NewStream(ctx, &_Backup_serviceDesc.Streams[2], "/backup.Backup/PrepareSnapshotBackup", opts...) + if err != nil { + return nil, err + } + x := &backupPrepareSnapshotBackupClient{stream} + return x, nil +} + +type Backup_PrepareSnapshotBackupClient interface { + Send(*PrepareSnapshotBackupRequest) error + Recv() (*PrepareSnapshotBackupResponse, error) + grpc.ClientStream +} + +type backupPrepareSnapshotBackupClient struct { + grpc.ClientStream +} + +func (x *backupPrepareSnapshotBackupClient) Send(m *PrepareSnapshotBackupRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *backupPrepareSnapshotBackupClient) Recv() (*PrepareSnapshotBackupResponse, error) { + m := new(PrepareSnapshotBackupResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // BackupServer is the server API for Backup service. type BackupServer interface { Backup(*BackupRequest, Backup_BackupServer) error @@ -3222,6 +3480,9 @@ type BackupServer interface { // we need stop all schedule first and make sure all in-flight schedule has finished. // this rpc check all pending conf change for leader. CheckPendingAdminOp(*CheckAdminRequest, Backup_CheckPendingAdminOpServer) error + // PrepareSnapshotBackup is an advanced version of preparing snapshot backup. + // Check the defination of `PrepareSnapshotBackupRequest` for more. + PrepareSnapshotBackup(Backup_PrepareSnapshotBackupServer) error } // UnimplementedBackupServer can be embedded to have forward compatible implementations. @@ -3234,6 +3495,9 @@ func (*UnimplementedBackupServer) Backup(req *BackupRequest, srv Backup_BackupSe func (*UnimplementedBackupServer) CheckPendingAdminOp(req *CheckAdminRequest, srv Backup_CheckPendingAdminOpServer) error { return status.Errorf(codes.Unimplemented, "method CheckPendingAdminOp not implemented") } +func (*UnimplementedBackupServer) PrepareSnapshotBackup(srv Backup_PrepareSnapshotBackupServer) error { + return status.Errorf(codes.Unimplemented, "method PrepareSnapshotBackup not implemented") +} func RegisterBackupServer(s *grpc.Server, srv BackupServer) { s.RegisterService(&_Backup_serviceDesc, srv) @@ -3281,6 +3545,32 @@ func (x *backupCheckPendingAdminOpServer) Send(m *CheckAdminResponse) error { return x.ServerStream.SendMsg(m) } +func _Backup_PrepareSnapshotBackup_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(BackupServer).PrepareSnapshotBackup(&backupPrepareSnapshotBackupServer{stream}) +} + +type Backup_PrepareSnapshotBackupServer interface { + Send(*PrepareSnapshotBackupResponse) error + Recv() (*PrepareSnapshotBackupRequest, error) + grpc.ServerStream +} + +type backupPrepareSnapshotBackupServer struct { + grpc.ServerStream +} + +func (x *backupPrepareSnapshotBackupServer) Send(m *PrepareSnapshotBackupResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *backupPrepareSnapshotBackupServer) Recv() (*PrepareSnapshotBackupRequest, error) { + m := new(PrepareSnapshotBackupRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + var _Backup_serviceDesc = grpc.ServiceDesc{ ServiceName: "backup.Backup", HandlerType: (*BackupServer)(nil), @@ -3296,6 +3586,12 @@ var _Backup_serviceDesc = grpc.ServiceDesc{ Handler: _Backup_CheckPendingAdminOp_Handler, ServerStreams: true, }, + { + StreamName: "PrepareSnapshotBackup", + Handler: _Backup_PrepareSnapshotBackup_Handler, + ServerStreams: true, + ClientStreams: true, + }, }, Metadata: "brpb.proto", } @@ -3412,7 +3708,7 @@ var _ExternalStorage_serviceDesc = grpc.ServiceDesc{ Metadata: "brpb.proto", } -func (m *BackupMeta) Marshal() (dAtA []byte, err error) { +func (m *PrepareSnapshotBackupRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3422,12 +3718,12 @@ func (m *BackupMeta) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BackupMeta) MarshalTo(dAtA []byte) (int, error) { +func (m *PrepareSnapshotBackupRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BackupMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PrepareSnapshotBackupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -3436,19 +3732,15 @@ func (m *BackupMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } - if len(m.NewCollationsEnabled) > 0 { - i -= len(m.NewCollationsEnabled) - copy(dAtA[i:], m.NewCollationsEnabled) - i = encodeVarintBrpb(dAtA, i, uint64(len(m.NewCollationsEnabled))) + if m.LeaseInSeconds != 0 { + i = encodeVarintBrpb(dAtA, i, uint64(m.LeaseInSeconds)) i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 + dAtA[i] = 0x18 } - if len(m.Policies) > 0 { - for iNdEx := len(m.Policies) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Regions) > 0 { + for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Policies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3456,33 +3748,154 @@ func (m *BackupMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintBrpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a + dAtA[i] = 0x12 } } - if m.ApiVersion != 0 { - i = encodeVarintBrpb(dAtA, i, uint64(m.ApiVersion)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if len(m.BackupResult) > 0 { - i -= len(m.BackupResult) - copy(dAtA[i:], m.BackupResult) - i = encodeVarintBrpb(dAtA, i, uint64(len(m.BackupResult))) - i-- - dAtA[i] = 0x1 + if m.Ty != 0 { + i = encodeVarintBrpb(dAtA, i, uint64(m.Ty)) i-- - dAtA[i] = 0x8a + dAtA[i] = 0x8 } - if m.DdlIndexes != nil { - { - size, err := m.DdlIndexes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } + return len(dAtA) - i, nil +} + +func (m *PrepareSnapshotBackupResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PrepareSnapshotBackupResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PrepareSnapshotBackupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.LastLeaseIsValid { + i-- + if m.LastLeaseIsValid { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.Error != nil { + { + size, err := m.Error.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintBrpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Region != nil { + { + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintBrpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Ty != 0 { + i = encodeVarintBrpb(dAtA, i, uint64(m.Ty)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *BackupMeta) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BackupMeta) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BackupMeta) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NewCollationsEnabled) > 0 { + i -= len(m.NewCollationsEnabled) + copy(dAtA[i:], m.NewCollationsEnabled) + i = encodeVarintBrpb(dAtA, i, uint64(len(m.NewCollationsEnabled))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if len(m.Policies) > 0 { + for iNdEx := len(m.Policies) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Policies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintBrpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + } + if m.ApiVersion != 0 { + i = encodeVarintBrpb(dAtA, i, uint64(m.ApiVersion)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if len(m.BackupResult) > 0 { + i -= len(m.BackupResult) + copy(dAtA[i:], m.BackupResult) + i = encodeVarintBrpb(dAtA, i, uint64(len(m.BackupResult))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.DdlIndexes != nil { + { + size, err := m.DdlIndexes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } i -= size i = encodeVarintBrpb(dAtA, i, uint64(size)) } @@ -5708,6 +6121,56 @@ func encodeVarintBrpb(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *PrepareSnapshotBackupRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Ty != 0 { + n += 1 + sovBrpb(uint64(m.Ty)) + } + if len(m.Regions) > 0 { + for _, e := range m.Regions { + l = e.Size() + n += 1 + l + sovBrpb(uint64(l)) + } + } + if m.LeaseInSeconds != 0 { + n += 1 + sovBrpb(uint64(m.LeaseInSeconds)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PrepareSnapshotBackupResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Ty != 0 { + n += 1 + sovBrpb(uint64(m.Ty)) + } + if m.Region != nil { + l = m.Region.Size() + n += 1 + l + sovBrpb(uint64(l)) + } + if m.Error != nil { + l = m.Error.Size() + n += 1 + l + sovBrpb(uint64(l)) + } + if m.LastLeaseIsValid { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + func (m *BackupMeta) Size() (n int) { if m == nil { return 0 @@ -6825,6 +7288,291 @@ func sovBrpb(x uint64) (n int) { func sozBrpb(x uint64) (n int) { return sovBrpb(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } +func (m *PrepareSnapshotBackupRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrepareSnapshotBackupRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrepareSnapshotBackupRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Ty", wireType) + } + m.Ty = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Ty |= PrepareSnapshotBackupRequestType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthBrpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthBrpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Regions = append(m.Regions, &metapb.Region{}) + if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LeaseInSeconds", wireType) + } + m.LeaseInSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LeaseInSeconds |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipBrpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthBrpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrepareSnapshotBackupResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PrepareSnapshotBackupResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrepareSnapshotBackupResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Ty", wireType) + } + m.Ty = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Ty |= PrepareSnapshotBackupEventType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthBrpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthBrpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Region == nil { + m.Region = &metapb.Region{} + } + if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthBrpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthBrpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Error == nil { + m.Error = &errorpb.Error{} + } + if err := m.Error.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LastLeaseIsValid", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowBrpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LastLeaseIsValid = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipBrpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthBrpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *BackupMeta) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/proto/brpb.proto b/proto/brpb.proto index 67411bdbc..498cddd8a 100644 --- a/proto/brpb.proto +++ b/proto/brpb.proto @@ -15,6 +15,50 @@ option (rustproto.lite_runtime_all) = true; option java_package = "org.tikv.kvproto"; +enum PrepareSnapshotBackupRequestType { + // Update the lease of suspending some commands (Which may impact the + // disk snapshot backup) to be proposed. + // As long as the lease is kept, those commands may not be proposed. + // If the client has gone, the lease will be destroyed after its TTL. + UpdateLease = 0; + // Wait a region apply to the last index. + WaitApply = 1; + // Hint before closing the stream. Server will go back to normal after this. + // This should also return a final "UpdateLeaseResult" to the client, which + // indices whether the last lease is valid. + Finish = 2; +} + +message PrepareSnapshotBackupRequest { + // The type of the request. + PrepareSnapshotBackupRequestType ty = 1; + // The regions related to the request. + // If the request is "UpdateLease" or "Finish", it should be empty. + repeated metapb.Region regions = 2; + // The lease duration for "UpdateLease" request. + uint64 lease_in_seconds = 3; +} + +enum PrepareSnapshotBackupEventType { + // A region has finished wait apply. + WaitApplyDone = 0; + // A lease has been updated. + UpdateLeaseResult = 1; +} + +message PrepareSnapshotBackupResponse { + // The type of the event. + PrepareSnapshotBackupEventType ty = 1; + // The region bind to the type. + // For "WaitApplyDone". + metapb.Region region = 2; + // The error of the execution. + errorpb.Error error = 3; + // Whether the last lease is valid. + // For "UpdateLease" and "Finish". + bool last_lease_is_valid = 4; +} + // The message save the metadata of a backup. message BackupMeta { // ID and version of backuped cluster. @@ -368,10 +412,15 @@ message CheckAdminResponse { service Backup { rpc backup(BackupRequest) returns (stream BackupResponse) {} + // CheckPendingAdminOp used for snapshot backup. before we start snapshot for a TiKV. // we need stop all schedule first and make sure all in-flight schedule has finished. // this rpc check all pending conf change for leader. rpc CheckPendingAdminOp(CheckAdminRequest) returns (stream CheckAdminResponse) {} + + // PrepareSnapshotBackup is an advanced version of preparing snapshot backup. + // Check the defination of `PrepareSnapshotBackupRequest` for more. + rpc PrepareSnapshotBackup(stream PrepareSnapshotBackupRequest) returns (stream PrepareSnapshotBackupResponse); } // ExternalStorage is a service for using a cloud backend from StorageBackend to store files.