From b1752027307908b159df8953a6697af7eba34767 Mon Sep 17 00:00:00 2001 From: MyonKeminta <9948422+MyonKeminta@users.noreply.github.com> Date: Sat, 9 May 2020 14:51:37 +0800 Subject: [PATCH] Add end_key_exclude field to SstMeta and distinguish restoring of RawKv (#581) * Add end_key_exclusive field to SSTMeta * Add is_raw_kv field to download request * Revert changes of unrelated go files Signed-off-by: MyonKeminta * build Co-authored-by: MyonKeminta --- pkg/import_sstpb/import_sstpb.pb.go | 271 ++++++++++++++++++---------- proto/import_sstpb.proto | 3 + 2 files changed, 181 insertions(+), 93 deletions(-) diff --git a/pkg/import_sstpb/import_sstpb.pb.go b/pkg/import_sstpb/import_sstpb.pb.go index 23b375ae3..f62671732 100644 --- a/pkg/import_sstpb/import_sstpb.pb.go +++ b/pkg/import_sstpb/import_sstpb.pb.go @@ -56,7 +56,7 @@ func (x SwitchMode) String() string { return proto.EnumName(SwitchMode_name, int32(x)) } func (SwitchMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{0} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{0} } type SwitchModeRequest struct { @@ -70,7 +70,7 @@ func (m *SwitchModeRequest) Reset() { *m = SwitchModeRequest{} } func (m *SwitchModeRequest) String() string { return proto.CompactTextString(m) } func (*SwitchModeRequest) ProtoMessage() {} func (*SwitchModeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{0} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{0} } func (m *SwitchModeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -116,7 +116,7 @@ func (m *SwitchModeResponse) Reset() { *m = SwitchModeResponse{} } func (m *SwitchModeResponse) String() string { return proto.CompactTextString(m) } func (*SwitchModeResponse) ProtoMessage() {} func (*SwitchModeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{1} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{1} } func (m *SwitchModeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *Range) Reset() { *m = Range{} } func (m *Range) String() string { return proto.CompactTextString(m) } func (*Range) ProtoMessage() {} func (*Range) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{2} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{2} } func (m *Range) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -208,6 +208,7 @@ type SSTMeta struct { CfName string `protobuf:"bytes,5,opt,name=cf_name,json=cfName,proto3" json:"cf_name,omitempty"` RegionId uint64 `protobuf:"varint,6,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,7,opt,name=region_epoch,json=regionEpoch" json:"region_epoch,omitempty"` + EndKeyExclusive bool `protobuf:"varint,8,opt,name=end_key_exclusive,json=endKeyExclusive,proto3" json:"end_key_exclusive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -217,7 +218,7 @@ func (m *SSTMeta) Reset() { *m = SSTMeta{} } func (m *SSTMeta) String() string { return proto.CompactTextString(m) } func (*SSTMeta) ProtoMessage() {} func (*SSTMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{3} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{3} } func (m *SSTMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -295,6 +296,13 @@ func (m *SSTMeta) GetRegionEpoch() *metapb.RegionEpoch { return nil } +func (m *SSTMeta) GetEndKeyExclusive() bool { + if m != nil { + return m.EndKeyExclusive + } + return false +} + // A rewrite rule is applied on the *encoded* keys (the internal storage // representation). type RewriteRule struct { @@ -310,7 +318,7 @@ func (m *RewriteRule) Reset() { *m = RewriteRule{} } func (m *RewriteRule) String() string { return proto.CompactTextString(m) } func (*RewriteRule) ProtoMessage() {} func (*RewriteRule) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{4} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{4} } func (m *RewriteRule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -374,7 +382,7 @@ func (m *UploadRequest) Reset() { *m = UploadRequest{} } func (m *UploadRequest) String() string { return proto.CompactTextString(m) } func (*UploadRequest) ProtoMessage() {} func (*UploadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{5} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{5} } func (m *UploadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -520,7 +528,7 @@ func (m *UploadResponse) Reset() { *m = UploadResponse{} } func (m *UploadResponse) String() string { return proto.CompactTextString(m) } func (*UploadResponse) ProtoMessage() {} func (*UploadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{6} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{6} } func (m *UploadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -561,7 +569,7 @@ func (m *IngestRequest) Reset() { *m = IngestRequest{} } func (m *IngestRequest) String() string { return proto.CompactTextString(m) } func (*IngestRequest) ProtoMessage() {} func (*IngestRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{7} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{7} } func (m *IngestRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -615,7 +623,7 @@ func (m *IngestResponse) Reset() { *m = IngestResponse{} } func (m *IngestResponse) String() string { return proto.CompactTextString(m) } func (*IngestResponse) ProtoMessage() {} func (*IngestResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{8} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{8} } func (m *IngestResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -666,7 +674,7 @@ func (m *CompactRequest) Reset() { *m = CompactRequest{} } func (m *CompactRequest) String() string { return proto.CompactTextString(m) } func (*CompactRequest) ProtoMessage() {} func (*CompactRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{9} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{9} } func (m *CompactRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -719,7 +727,7 @@ func (m *CompactResponse) Reset() { *m = CompactResponse{} } func (m *CompactResponse) String() string { return proto.CompactTextString(m) } func (*CompactResponse) ProtoMessage() {} func (*CompactResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{10} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{10} } func (m *CompactResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -771,6 +779,7 @@ type DownloadRequest struct { // same order, otherwise the RPC request will fail. RewriteRule RewriteRule `protobuf:"bytes,13,opt,name=rewrite_rule,json=rewriteRule" json:"rewrite_rule"` StorageBackend *backup.StorageBackend `protobuf:"bytes,14,opt,name=storage_backend,json=storageBackend" json:"storage_backend,omitempty"` + IsRawKv bool `protobuf:"varint,15,opt,name=is_raw_kv,json=isRawKv,proto3" json:"is_raw_kv,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -780,7 +789,7 @@ func (m *DownloadRequest) Reset() { *m = DownloadRequest{} } func (m *DownloadRequest) String() string { return proto.CompactTextString(m) } func (*DownloadRequest) ProtoMessage() {} func (*DownloadRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{11} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{11} } func (m *DownloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -837,6 +846,13 @@ func (m *DownloadRequest) GetStorageBackend() *backup.StorageBackend { return nil } +func (m *DownloadRequest) GetIsRawKv() bool { + if m != nil { + return m.IsRawKv + } + return false +} + // For now it is just used for distinguishing the error of the request with the error // of gRPC, add more concrete types if it is necessary later. type Error struct { @@ -850,7 +866,7 @@ func (m *Error) Reset() { *m = Error{} } func (m *Error) String() string { return proto.CompactTextString(m) } func (*Error) ProtoMessage() {} func (*Error) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{12} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{12} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -909,7 +925,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_c225dc8ee79dfb81, []int{13} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{13} } func (m *DownloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -985,7 +1001,7 @@ func (m *SetDownloadSpeedLimitRequest) Reset() { *m = SetDownloadSpeedLi func (m *SetDownloadSpeedLimitRequest) String() string { return proto.CompactTextString(m) } func (*SetDownloadSpeedLimitRequest) ProtoMessage() {} func (*SetDownloadSpeedLimitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{14} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{14} } func (m *SetDownloadSpeedLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1031,7 +1047,7 @@ func (m *SetDownloadSpeedLimitResponse) Reset() { *m = SetDownloadSpeedL func (m *SetDownloadSpeedLimitResponse) String() string { return proto.CompactTextString(m) } func (*SetDownloadSpeedLimitResponse) ProtoMessage() {} func (*SetDownloadSpeedLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{15} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{15} } func (m *SetDownloadSpeedLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1072,7 +1088,7 @@ func (m *Pair) Reset() { *m = Pair{} } func (m *Pair) String() string { return proto.CompactTextString(m) } func (*Pair) ProtoMessage() {} func (*Pair) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{16} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{16} } func (m *Pair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1127,7 +1143,7 @@ func (m *WriteBatch) Reset() { *m = WriteBatch{} } func (m *WriteBatch) String() string { return proto.CompactTextString(m) } func (*WriteBatch) ProtoMessage() {} func (*WriteBatch) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{17} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{17} } func (m *WriteBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1184,7 +1200,7 @@ func (m *WriteRequest) Reset() { *m = WriteRequest{} } func (m *WriteRequest) String() string { return proto.CompactTextString(m) } func (*WriteRequest) ProtoMessage() {} func (*WriteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{18} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{18} } func (m *WriteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1336,7 +1352,7 @@ func (m *WriteResponse) Reset() { *m = WriteResponse{} } func (m *WriteResponse) String() string { return proto.CompactTextString(m) } func (*WriteResponse) ProtoMessage() {} func (*WriteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_c225dc8ee79dfb81, []int{19} + return fileDescriptor_import_sstpb_ce1e1573fdb02dbe, []int{19} } func (m *WriteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1898,6 +1914,16 @@ func (m *SSTMeta) MarshalTo(dAtA []byte) (int, error) { } i += n2 } + if m.EndKeyExclusive { + dAtA[i] = 0x40 + i++ + if m.EndKeyExclusive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -2191,6 +2217,16 @@ func (m *DownloadRequest) MarshalTo(dAtA []byte) (int, error) { } i += n11 } + if m.IsRawKv { + dAtA[i] = 0x78 + i++ + if m.IsRawKv { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i++ + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -2575,6 +2611,9 @@ func (m *SSTMeta) Size() (n int) { l = m.RegionEpoch.Size() n += 1 + l + sovImportSstpb(uint64(l)) } + if m.EndKeyExclusive { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -2710,6 +2749,9 @@ func (m *DownloadRequest) Size() (n int) { l = m.StorageBackend.Size() n += 1 + l + sovImportSstpb(uint64(l)) } + if m.IsRawKv { + n += 2 + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -3317,6 +3359,26 @@ func (m *SSTMeta) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndKeyExclusive", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowImportSstpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.EndKeyExclusive = bool(v != 0) default: iNdEx = preIndex skippy, err := skipImportSstpb(dAtA[iNdEx:]) @@ -4141,6 +4203,26 @@ func (m *DownloadRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsRawKv", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowImportSstpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.IsRawKv = bool(v != 0) default: iNdEx = preIndex skippy, err := skipImportSstpb(dAtA[iNdEx:]) @@ -5085,76 +5167,79 @@ var ( ErrIntOverflowImportSstpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_c225dc8ee79dfb81) } - -var fileDescriptor_import_sstpb_c225dc8ee79dfb81 = []byte{ - // 1085 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x5b, 0x6f, 0x1b, 0x45, - 0x14, 0xf6, 0xd6, 0xbb, 0xbe, 0x1c, 0x5f, 0xe2, 0x0e, 0x69, 0x71, 0xdd, 0x36, 0x71, 0x97, 0x0a, - 0xdc, 0x04, 0x1c, 0xe4, 0x4a, 0x7d, 0xad, 0x70, 0x1b, 0x91, 0xd0, 0x8b, 0xca, 0x38, 0x88, 0x07, - 0x24, 0xac, 0xcd, 0xee, 0xc4, 0x59, 0x79, 0x6f, 0xcc, 0xcc, 0x3a, 0xcd, 0x0b, 0xbf, 0x83, 0x9f, - 0xc0, 0x3f, 0xe0, 0x91, 0xd7, 0x3e, 0xf2, 0xc8, 0x13, 0x42, 0xa1, 0x3f, 0x04, 0xcd, 0x65, 0x6d, - 0xaf, 0x65, 0x37, 0x88, 0x27, 0xcf, 0x39, 0xe7, 0x9b, 0x73, 0xce, 0xcc, 0xf9, 0xe6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 0x56, 0x1a, 0x5c, 0xd1, - 0xdd, 0xce, 0xce, 0xa6, 0xf0, 0x3c, 0xd9, 0x73, 0xb0, 0x24, 0x15, 0x51, 0x67, 0x0d, 0x7f, 0xb3, - 0x34, 0x77, 0xd7, 0xc6, 0x16, 0x73, 0x19, 0x7e, 0xfa, 0xe7, 0xaf, 0x15, 0xe3, 0xdd, 0xd5, 0x8e, - 0xf1, 0xc7, 0xd5, 0x8e, 0xf1, 0xf7, 0xd5, 0x8e, 0xf1, 0xcb, 0x3f, 0x3b, 0x05, 0x68, 0xc5, 0x74, - 0xd2, 0xe7, 0xfe, 0x74, 0xd6, 0x9f, 0xce, 0xe4, 0x9f, 0xb1, 0xd3, 0x92, 0xfc, 0x79, 0xfc, 0x6f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xee, 0x0e, 0xfd, 0xdc, 0x18, 0x0a, 0x00, 0x00, +func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_ce1e1573fdb02dbe) } + +var fileDescriptor_import_sstpb_ce1e1573fdb02dbe = []byte{ + // 1129 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4b, 0x8f, 0x1b, 0x45, + 0x10, 0xf6, 0xec, 0xce, 0xf8, 0x51, 0x7e, 0xa6, 0xd9, 0x84, 0x89, 0x93, 0xec, 0x3a, 0x43, 0x04, + 0xce, 0x06, 0x1c, 0xe4, 0x48, 0xb9, 0x46, 0x38, 0x59, 0x91, 0x90, 0x87, 0x42, 0x7b, 0x11, 0x07, + 0x24, 0x46, 0xb3, 0x33, 0x1d, 0xef, 0xc8, 0xf3, 0xa2, 0xbb, 0xc7, 0xce, 0x5e, 0x10, 0x3f, 0x81, + 0x23, 0x3f, 0x81, 0x7f, 0xc0, 0x91, 0x6b, 0x8e, 0x1c, 0x39, 0x21, 0x14, 0xfe, 0x08, 0xea, 0xc7, + 0xf8, 0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65, 0x25, 0x91, 0x9b, 0x89, 0xd6, 0xe4, 0x79, 0x33, 0xd1, 0xba, 0xaa, 0x3a, + 0x25, 0xf4, 0x18, 0x2a, 0x5a, 0xd1, 0xd0, 0x06, 0x74, 0x5d, 0x48, 0xbb, 0x37, 0x76, 0x44, 0x17, + 0x99, 0x28, 0x5c, 0xde, 0xca, 0x73, 0x74, 0xbc, 0x71, 0x2d, 0xef, 0x78, 0x4d, 0xdd, 0x3b, 0xff, + 0x09, 0xbb, 0xa8, 0xf9, 0x14, 0xaa, 0x45, 0x1c, 0x6d, 0x34, 0xb8, 0xa1, 0xc9, 0xdd, 0xc3, 0x5d, + 0xe1, 0x45, 0xb2, 0x47, 0x60, 0x49, 0x2a, 0xa2, 0xee, 0x16, 0xfe, 0x16, 0x69, 0xae, 0x6d, 0x8d, + 0x2d, 0xe7, 0x32, 0xfa, 0xf8, 0xcf, 0x5f, 0xab, 0xc6, 0x9b, 0xb7, 0x87, 0xc6, 0x1f, 0x6f, 0x0f, + 0x8d, 0xbf, 0xdf, 0x1e, 0x1a, 0xbf, 0xfc, 0x73, 0x58, 0x82, 0x4e, 0x4a, 0x27, 0x03, 0x1e, 0x4e, + 0x67, 0x83, 0xe9, 0x4c, 0xfe, 0xa9, 0x3b, 0x2b, 0xcb, 0x9f, 0x7b, 0xff, 0x06, 0x00, 0x00, 0xff, + 0xff, 0xfc, 0x52, 0x8f, 0xe9, 0x60, 0x0a, 0x00, 0x00, } diff --git a/proto/import_sstpb.proto b/proto/import_sstpb.proto index 7e278af76..35cd52038 100644 --- a/proto/import_sstpb.proto +++ b/proto/import_sstpb.proto @@ -75,6 +75,7 @@ message SSTMeta { string cf_name = 5; uint64 region_id = 6; metapb.RegionEpoch region_epoch = 7; + bool end_key_exclusive = 8; } // A rewrite rule is applied on the *encoded* keys (the internal storage @@ -144,6 +145,8 @@ message DownloadRequest { RewriteRule rewrite_rule = 13 [(gogoproto.nullable) = false]; backup.StorageBackend storage_backend = 14; + + bool is_raw_kv = 15; } // For now it is just used for distinguishing the error of the request with the error