Skip to content

Commit f1d0abf

Browse files
3pointerti-srebot
authored andcommitted
cherry pick pingcap#233 to release-4.0
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
1 parent 00bf666 commit f1d0abf

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)