From 6bcade5e6decb3dfd1671cc0247fba308834cce3 Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 14 Feb 2022 16:13:54 +0200 Subject: [PATCH] add comment about bigness of reification batch --- blockstore/splitstore/splitstore_reify.go | 1 + 1 file changed, 1 insertion(+) diff --git a/blockstore/splitstore/splitstore_reify.go b/blockstore/splitstore/splitstore_reify.go index cb86c9789..14648a652 100644 --- a/blockstore/splitstore/splitstore_reify.go +++ b/blockstore/splitstore/splitstore_reify.go @@ -146,6 +146,7 @@ func (s *SplitStore) doReify(c cid.Cid) { log.Debugf("reifying %d objects rooted at %s", len(toreify), c) + // this should not get too big, maybe some 100s of objects. batch := make([]blocks.Block, 0, len(toreify)) for _, c := range toreify { blk, err := s.cold.Get(s.ctx, c)