Merge pull request #10502 from filecoin-project/fix/splitstore-handles-dangling-event-ptr

fix:splitstore:Don't enforce walking receipt tree during compaction
This commit is contained in:
Aayush Rajasekaran 2023-03-17 13:29:48 -04:00 committed by GitHub
commit 2a3dcf6cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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