directly mark objects in cold object reification

This commit is contained in:
vyzo 2022-02-05 20:00:15 +02:00
parent 9d92b6eb92
commit a32b7a32f3

View File

@ -165,10 +165,10 @@ func (s *SplitStore) doReify(c cid.Cid) {
if s.txnMarkSet != nil {
if len(toreify) > 0 {
s.markLiveRefs(toreify)
s.txnMarkSet.MarkMany(toreify)
}
if len(totrack) > 0 {
s.markLiveRefs(totrack)
s.txnMarkSet.MarkMany(totrack)
}
} else {
if len(toreify) > 0 {