From 139df44843abc416e7b66840b20cdcbb2135fddc Mon Sep 17 00:00:00 2001 From: ti-srebot <66930949+ti-srebot@users.noreply.github.com> Date: Tue, 19 Jan 2021 10:36:19 +0800 Subject: [PATCH] cherry pick #233 to release-4.0 (#702) Signed-off-by: ti-srebot Co-authored-by: 3pointer --- pkg/restore/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/restore/util.go b/pkg/restore/util.go index 17f695104..8b1be3a40 100644 --- a/pkg/restore/util.go +++ b/pkg/restore/util.go @@ -143,6 +143,7 @@ func GetSSTMetaFromFile( Start: rangeStart, End: rangeEnd, }, + Length: file.GetSize_(), RegionId: region.GetId(), RegionEpoch: region.GetRegionEpoch(), }