From 745c487875ab58e1fa73ccc354fc862e6a373602 Mon Sep 17 00:00:00 2001 From: luancheng Date: Wed, 25 Mar 2020 15:17:34 +0800 Subject: [PATCH] fill size in SSTMeta --- pkg/restore/util.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/restore/util.go b/pkg/restore/util.go index 2652b1e7b..70678622e 100644 --- a/pkg/restore/util.go +++ b/pkg/restore/util.go @@ -115,6 +115,7 @@ func getSSTMetaFromFile( Start: rangeStart, End: rangeEnd, }, + Length: file.GetSize_(), RegionId: region.GetId(), RegionEpoch: region.GetRegionEpoch(), }