diff --git a/mvcc/kvstore.go b/mvcc/kvstore.go index d062f5ba744..9d972311ade 100644 --- a/mvcc/kvstore.go +++ b/mvcc/kvstore.go @@ -328,6 +328,7 @@ func (s *store) restore() error { } // index keys concurrently as they're loaded in from tx + keysGauge.Set(0) rkvc, revc := restoreIntoIndex(s.kvindex) for { keys, vals := tx.UnsafeRange(keyBucketName, min, max, int64(restoreChunkKeys))