diff --git a/pkg/import_sstpb/import_sstpb.pb.go b/pkg/import_sstpb/import_sstpb.pb.go index dd61e1df6..abf20ebfe 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_721dcf80f5bffa9f, []int{0} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{0} } type Pair_OP int32 @@ -79,7 +79,7 @@ func (x Pair_OP) String() string { return proto.EnumName(Pair_OP_name, int32(x)) } func (Pair_OP) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_import_sstpb_721dcf80f5bffa9f, []int{16, 0} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{16, 0} } type SwitchModeRequest struct { @@ -93,7 +93,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_721dcf80f5bffa9f, []int{0} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{0} } func (m *SwitchModeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -139,7 +139,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_721dcf80f5bffa9f, []int{1} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{1} } func (m *SwitchModeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -180,7 +180,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_721dcf80f5bffa9f, []int{2} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{2} } func (m *Range) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -224,24 +224,28 @@ func (m *Range) GetEnd() []byte { } type SSTMeta struct { - Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` - Range *Range `protobuf:"bytes,2,opt,name=range" json:"range,omitempty"` - Crc32 uint32 `protobuf:"varint,3,opt,name=crc32,proto3" json:"crc32,omitempty"` - Length uint64 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"` - 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:"-"` + Uuid []byte `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` + Range *Range `protobuf:"bytes,2,opt,name=range" json:"range,omitempty"` + Crc32 uint32 `protobuf:"varint,3,opt,name=crc32,proto3" json:"crc32,omitempty"` + Length uint64 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"` + 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"` + // total_kvs and total_bytes is equivalent to PD's approximate_keys and approximate_size + // set these value is can save time from tikv upload keys and size to PD through Heartbeat. + TotalKvs uint64 `protobuf:"varint,9,opt,name=total_kvs,json=totalKvs,proto3" json:"total_kvs,omitempty"` + TotalBytes uint64 `protobuf:"varint,10,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } 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_721dcf80f5bffa9f, []int{3} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{3} } func (m *SSTMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -326,6 +330,20 @@ func (m *SSTMeta) GetEndKeyExclusive() bool { return false } +func (m *SSTMeta) GetTotalKvs() uint64 { + if m != nil { + return m.TotalKvs + } + return 0 +} + +func (m *SSTMeta) GetTotalBytes() uint64 { + if m != nil { + return m.TotalBytes + } + return 0 +} + // A rewrite rule is applied on the *encoded* keys (the internal storage // representation). type RewriteRule struct { @@ -341,7 +359,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_721dcf80f5bffa9f, []int{4} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{4} } func (m *RewriteRule) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -405,7 +423,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_721dcf80f5bffa9f, []int{5} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{5} } func (m *UploadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -551,7 +569,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_721dcf80f5bffa9f, []int{6} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{6} } func (m *UploadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -592,7 +610,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_721dcf80f5bffa9f, []int{7} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{7} } func (m *IngestRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -646,7 +664,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_721dcf80f5bffa9f, []int{8} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{8} } func (m *IngestResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -697,7 +715,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_721dcf80f5bffa9f, []int{9} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{9} } func (m *CompactRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -750,7 +768,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_721dcf80f5bffa9f, []int{10} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{10} } func (m *CompactResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -812,7 +830,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_721dcf80f5bffa9f, []int{11} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{11} } func (m *DownloadRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -889,7 +907,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_721dcf80f5bffa9f, []int{12} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{12} } func (m *Error) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -948,7 +966,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_721dcf80f5bffa9f, []int{13} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{13} } func (m *DownloadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1024,7 +1042,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_721dcf80f5bffa9f, []int{14} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{14} } func (m *SetDownloadSpeedLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1070,7 +1088,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_721dcf80f5bffa9f, []int{15} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{15} } func (m *SetDownloadSpeedLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1112,7 +1130,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_721dcf80f5bffa9f, []int{16} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{16} } func (m *Pair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1174,7 +1192,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_721dcf80f5bffa9f, []int{17} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{17} } func (m *WriteBatch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1231,7 +1249,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_721dcf80f5bffa9f, []int{18} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{18} } func (m *WriteRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1383,7 +1401,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_721dcf80f5bffa9f, []int{19} + return fileDescriptor_import_sstpb_d073c1a2a9a22735, []int{19} } func (m *WriteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1956,6 +1974,16 @@ func (m *SSTMeta) MarshalTo(dAtA []byte) (int, error) { } i++ } + if m.TotalKvs != 0 { + dAtA[i] = 0x48 + i++ + i = encodeVarintImportSstpb(dAtA, i, uint64(m.TotalKvs)) + } + if m.TotalBytes != 0 { + dAtA[i] = 0x50 + i++ + i = encodeVarintImportSstpb(dAtA, i, uint64(m.TotalBytes)) + } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } @@ -2651,6 +2679,12 @@ func (m *SSTMeta) Size() (n int) { if m.EndKeyExclusive { n += 2 } + if m.TotalKvs != 0 { + n += 1 + sovImportSstpb(uint64(m.TotalKvs)) + } + if m.TotalBytes != 0 { + n += 1 + sovImportSstpb(uint64(m.TotalBytes)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -3419,6 +3453,44 @@ func (m *SSTMeta) Unmarshal(dAtA []byte) error { } } m.EndKeyExclusive = bool(v != 0) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalKvs", wireType) + } + m.TotalKvs = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowImportSstpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalKvs |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalBytes", wireType) + } + m.TotalBytes = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowImportSstpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalBytes |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipImportSstpb(dAtA[iNdEx:]) @@ -5226,81 +5298,83 @@ var ( ErrIntOverflowImportSstpb = fmt.Errorf("proto: integer overflow") ) -func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_721dcf80f5bffa9f) } - -var fileDescriptor_import_sstpb_721dcf80f5bffa9f = []byte{ - // 1166 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4b, 0x73, 0x1b, 0x45, - 0x10, 0xd6, 0x4a, 0xbb, 0x7a, 0xb4, 0x1e, 0x56, 0x06, 0x27, 0x6c, 0x94, 0xc4, 0x56, 0x96, 0x00, - 0x8a, 0x03, 0x0a, 0xe5, 0x54, 0xe5, 0x9a, 0xc2, 0x89, 0x8b, 0x84, 0xbc, 0xcc, 0xc8, 0x14, 0x07, - 0xaa, 0xd8, 0x5a, 0xef, 0x4e, 0xe4, 0x2d, 0xed, 0x8b, 0x99, 0x59, 0x29, 0xbe, 0x50, 0xfc, 0x04, - 0x8e, 0xfc, 0x04, 0xfe, 0x01, 0x47, 0xae, 0x39, 0x72, 0xe4, 0x44, 0x51, 0xe1, 0x8f, 0x50, 0xf3, - 0x58, 0xbd, 0x90, 0x63, 0x8a, 0x93, 0xa6, 0xbb, 0xbf, 0xe9, 0xee, 0xe9, 0xf9, 0xe6, 0x5b, 0x01, - 0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8, 0x46, 0x24, 0x19, 0xf3, 0x53, 0xdb, 0xec, 0x1b, 0x03, 0x13, - 0x6b, 0x0b, 0xbd, 0x0f, 0x35, 0xff, 0x95, 0x9b, 0x78, 0x31, 0xb1, 0xad, 0xbe, 0x31, 0x68, 0xe0, - 0xaa, 0xff, 0xea, 0x85, 0x17, 0x13, 0x74, 0x0d, 0x1a, 0x94, 0x8c, 0xc3, 0x34, 0x71, 0xc3, 0xc0, - 0xae, 0xca, 0x3d, 0x75, 0xe5, 0x78, 0x12, 0xa0, 0xfb, 0xd0, 0xd2, 0x41, 0x92, 0xa5, 0xfe, 0xa9, - 0x5d, 0xd3, 0x5d, 0xe9, 0x0b, 0xc3, 0x32, 0x76, 0x28, 0x42, 0xb8, 0x49, 0x17, 0x06, 0xda, 0x83, - 0x4b, 0x24, 0x09, 0xdc, 0x09, 0x39, 0x73, 0xc9, 0x6b, 0x3f, 0xca, 0x59, 0x38, 0x25, 0x76, 0xbd, - 0x6f, 0x0c, 0xea, 0x78, 0x8b, 0x24, 0xc1, 0x53, 0x72, 0x76, 0x58, 0xb8, 0x9d, 0x1f, 0xa0, 0x89, - 0xc9, 0x8c, 0x86, 0x9c, 0xe0, 0x3c, 0x22, 0xe8, 0x16, 0x74, 0xd2, 0x48, 0x6d, 0xcd, 0x28, 0x79, - 0x15, 0xbe, 0xd6, 0xf3, 0x69, 0xa5, 0x91, 0xd8, 0x77, 0x24, 0x7d, 0x02, 0x95, 0x90, 0xd9, 0x32, - 0x4a, 0x0d, 0xb9, 0x95, 0x90, 0xd9, 0x02, 0xf5, 0x01, 0xb4, 0x05, 0x8a, 0x87, 0x31, 0x61, 0xdc, - 0x8b, 0x33, 0x39, 0x2a, 0x53, 0x82, 0x8e, 0x0b, 0x9f, 0xf3, 0x2d, 0xb4, 0xbf, 0xce, 0xa2, 0xd4, - 0x0b, 0x0a, 0x62, 0xdc, 0x01, 0x53, 0x9c, 0x4f, 0xd6, 0x6d, 0xee, 0x5f, 0x5e, 0x23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0x01, 0x9a, - 0x2c, 0x25, 0xf4, 0x05, 0x54, 0x95, 0x26, 0xa3, 0x6b, 0xab, 0xe8, 0x95, 0xcf, 0x40, 0xef, 0xfa, - 0xe6, 0x60, 0x91, 0x66, 0x60, 0xa0, 0x43, 0xa8, 0x2a, 0x91, 0x5d, 0x4f, 0xb4, 0x22, 0xf0, 0xeb, - 0x89, 0x56, 0x75, 0xd9, 0x29, 0xa1, 0xc7, 0x50, 0xd3, 0x9a, 0x88, 0xd6, 0xa0, 0xab, 0x52, 0xdc, - 0xbb, 0x71, 0x4e, 0x74, 0x9e, 0x89, 0xc2, 0xe5, 0x8d, 0x2f, 0x05, 0xed, 0xad, 0x8d, 0xe5, 0x1d, - 0xef, 0xb1, 0x77, 0xe7, 0x3f, 0x61, 0xe7, 0x35, 0x9f, 0x42, 0xbd, 0x88, 0xa3, 0xb5, 0x06, 0xd7, - 0x54, 0xbd, 0xb7, 0x73, 0x5e, 0x78, 0x9e, 0xec, 0x11, 0x58, 0x92, 0x8a, 0xa8, 0xb7, 0x81, 0xbf, - 0x45, 0x9a, 0x6b, 0x1b, 0x63, 0x8b, 0x7b, 0x39, 0xf8, 0xe8, 0x8f, 0x5f, 0xea, 0xc6, 0x9b, 0xb7, - 0x3b, 0xc6, 0xef, 0x6f, 0x77, 0x8c, 0xbf, 0xde, 0xee, 0x18, 0x3f, 0xff, 0xbd, 0x53, 0x82, 0x6e, - 0x4a, 0xc7, 0x43, 0x1e, 0x4e, 0xa6, 0xc3, 0xc9, 0x54, 0xfe, 0x2d, 0x3c, 0xa9, 0xca, 0x9f, 0x7b, - 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x7f, 0x41, 0x87, 0x70, 0xa2, 0x0a, 0x00, 0x00, +func init() { proto.RegisterFile("import_sstpb.proto", fileDescriptor_import_sstpb_d073c1a2a9a22735) } + +var fileDescriptor_import_sstpb_d073c1a2a9a22735 = []byte{ + // 1198 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4b, 0x93, 0xdb, 0x44, + 0x10, 0xb6, 0x6c, 0xc9, 0x8f, 0xf6, 0x63, 0x9d, 0x61, 0x13, 0x14, 0x27, 0xd9, 0x75, 0x44, 0x00, + 0x67, 0x03, 0x0e, 0xb5, 0xa9, 0xca, 0x35, 0x85, 0x93, 0x2d, 0x12, 0x36, 0x8f, 0x65, 0xbc, 0x14, + 0x07, 0xaa, 0x50, 0x69, 0xe5, 0x89, 0x57, 0x65, 0x49, 0x23, 0x34, 0x23, 0x3b, 0x7b, 0xa1, 0xf8, + 0x19, 0xfc, 0x04, 0xfe, 0x01, 0x47, 0xae, 0x39, 0x51, 0x1c, 0x39, 0x51, 0x54, 0xf8, 0x23, 0xd4, + 0x3c, 0xe4, 0x17, 0x76, 0x42, 0x71, 0xf2, 0xf4, 0x63, 0xba, 0x7b, 0xba, 0xbf, 0xfe, 0x64, 0x40, + 0x41, 0x94, 0xd0, 0x94, 0xbb, 0x8c, 0xf1, 0xe4, 0xac, 0x9f, 0xa4, 0x94, 0x53, 0xd4, 0x58, 0xd6, + 0x75, 0x1a, 0x11, 0xe1, 0x5e, 0x6e, 0xeb, 0x34, 0x49, 0x9a, 0xd2, 0x74, 0x21, 0x4e, 0xa6, 0x69, + 0xe2, 0xcf, 0xc5, 0xdd, 0x31, 0x1d, 0x53, 0x79, 0xbc, 0x2b, 0x4e, 0x5a, 0xbb, 0x93, 0x66, 0x8c, + 0xcb, 0xa3, 0x56, 0x34, 0xce, 0x3c, 0x7f, 0x92, 0x25, 0x4a, 0x72, 0x3e, 0x87, 0x4b, 0xc3, 0x59, + 0xc0, 0xfd, 0xf3, 0x67, 0x74, 0x44, 0x30, 0xf9, 0x3e, 0x23, 0x8c, 0xa3, 0x4f, 0xc0, 0x8c, 0xe8, + 0x88, 0xd8, 0x46, 0xd7, 0xe8, 0xb5, 0x0e, 0xed, 0xfe, 0x4a, 0x99,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0xad, 0x2d, 0x6f, + 0xd9, 0xc7, 0xce, 0x9d, 0xff, 0xe4, 0x3b, 0xcf, 0x79, 0x0c, 0xd5, 0xdc, 0x8e, 0xd6, 0x0a, 0x5c, + 0x63, 0xf5, 0xce, 0xde, 0x36, 0xf3, 0x3c, 0xd8, 0x23, 0xb0, 0x24, 0x14, 0x51, 0x67, 0x03, 0x7e, + 0xf3, 0x30, 0xd7, 0x36, 0xda, 0x16, 0x73, 0x19, 0x7c, 0xf4, 0xc7, 0xcf, 0x55, 0xe3, 0xf5, 0x9b, + 0x3d, 0xe3, 0xf7, 0x37, 0x7b, 0xc6, 0x5f, 0x6f, 0xf6, 0x8c, 0x9f, 0xfe, 0xde, 0x2b, 0x40, 0x9b, + 0xa6, 0xe3, 0x3e, 0x0f, 0x26, 0xd3, 0xfe, 0x64, 0x2a, 0xff, 0x54, 0x9e, 0x95, 0xe5, 0xcf, 0xbd, + 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x13, 0x69, 0xdb, 0x59, 0xe0, 0x0a, 0x00, 0x00, } diff --git a/proto/import_sstpb.proto b/proto/import_sstpb.proto index 782452878..c3a9d4a24 100644 --- a/proto/import_sstpb.proto +++ b/proto/import_sstpb.proto @@ -76,6 +76,11 @@ message SSTMeta { uint64 region_id = 6; metapb.RegionEpoch region_epoch = 7; bool end_key_exclusive = 8; + + // total_kvs and total_bytes is equivalent to PD's approximate_keys and approximate_size + // set these values can save time from tikv upload keys and size to PD through Heartbeat. + uint64 total_kvs = 9; + uint64 total_bytes = 10; } // A rewrite rule is applied on the *encoded* keys (the internal storage