Skip to content

Commit

Permalink
add comment about bigness of reification batch
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Feb 14, 2022
1 parent 4524fbe commit 6bcade5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blockstore/splitstore/splitstore_reify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6bcade5

Please sign in to comment.