Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 139df44

Browse files
ti-srebot3pointer
andauthored
cherry pick #233 to release-4.0 (#702)
Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Co-authored-by: 3pointer <luancheng@pingcap.com>
1 parent 00bf666 commit 139df44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/restore/util.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ func GetSSTMetaFromFile(
143143
Start: rangeStart,
144144
End: rangeEnd,
145145
},
146+
Length: file.GetSize_(),
146147
RegionId: region.GetId(),
147148
RegionEpoch: region.GetRegionEpoch(),
148149
}

0 commit comments

Comments
 (0)