From 31db6783b0251b7f6d4d3a85cb8bb48baa7b1238 Mon Sep 17 00:00:00 2001 From: hillium Date: Mon, 23 Sep 2024 13:27:36 +0800 Subject: [PATCH] reshape comments Signed-off-by: hillium --- pkg/brpb/brpb.pb.go | 4 ++-- proto/brpb.proto | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/brpb/brpb.pb.go b/pkg/brpb/brpb.pb.go index c7b80dbee..c6bb8ac8c 100644 --- a/pkg/brpb/brpb.pb.go +++ b/pkg/brpb/brpb.pb.go @@ -3963,8 +3963,8 @@ type DataFileInfo struct { // If a region get split or merged during observing, the file may contain multi epoches. // This may not be complete: file may contain records from other versions. // - // For now(v8.5), there will only be exactly one epoch due to the restriction of log backup code. - // `region_start_key` and `region_end_key` will match this epoch. + // If there is exactly one epoch, + // `region_start_key` and `region_end_key` must match this epoch. RegionEpoch []*metapb.RegionEpoch `protobuf:"bytes,22,rep,name=region_epoch,json=regionEpoch,proto3" json:"region_epoch,omitempty"` // Encryption information of this data file, not set if plaintext. FileEncryptionInfo *encryptionpb.FileEncryptionInfo `protobuf:"bytes,23,opt,name=file_encryption_info,json=fileEncryptionInfo,proto3" json:"file_encryption_info,omitempty"` diff --git a/proto/brpb.proto b/proto/brpb.proto index 0ca030e14..fc3e04ce4 100644 --- a/proto/brpb.proto +++ b/proto/brpb.proto @@ -742,8 +742,8 @@ message DataFileInfo { // If a region get split or merged during observing, the file may contain multi epoches. // This may not be complete: file may contain records from other versions. // - // For now(v8.5), there will only be exactly one epoch due to the restriction of log backup code. - // `region_start_key` and `region_end_key` will match this epoch. + // If there is exactly one epoch, + // `region_start_key` and `region_end_key` must match this epoch. repeated metapb.RegionEpoch region_epoch = 22; // Encryption information of this data file, not set if plaintext.