Merge pull request #10505 from filecoin-project/asr/backport-splitstore

Don't enforce walking receipt tree during compaction
This commit is contained in:
Aayush Rajasekaran 2023-03-17 14:00:04 -04:00 committed by GitHub
commit 7bcfb6d1f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -960,7 +960,7 @@ func (s *SplitStore) walkChain(ts *types.TipSet, inclState, inclMsgs abi.ChainEp
return xerrors.Errorf("error walking messages (cid: %s): %w", hdr.Messages, err)
}
if err := s.walkObject(hdr.ParentMessageReceipts, visitor, fHot); err != nil {
if err := s.walkObjectIncomplete(hdr.ParentMessageReceipts, visitor, fHot, stopWalk); err != nil {
return xerrors.Errorf("error walking message receipts (cid: %s): %w", hdr.ParentMessageReceipts, err)
}
}