From 18caefc4a12b321818baacc6bbfcd5584630e3cf Mon Sep 17 00:00:00 2001 From: vyzo Date: Sun, 25 Jul 2021 13:34:18 +0300 Subject: [PATCH] fix missing object condition; short-circuit walk --- blockstore/splitstore/splitstore_warmup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockstore/splitstore/splitstore_warmup.go b/blockstore/splitstore/splitstore_warmup.go index fd4e7f7b148..039cb1a467a 100644 --- a/blockstore/splitstore/splitstore_warmup.go +++ b/blockstore/splitstore/splitstore_warmup.go @@ -76,7 +76,7 @@ func (s *SplitStore) doWarmup(curTs *types.TipSet) error { if err != nil { if err == bstore.ErrNotFound { missing++ - return nil + return errStopWalk } return err }