downgrade a couple of logs to warnings

This commit is contained in:
vyzo 2021-07-02 14:31:31 +03:00
parent 4071488ef2
commit da00fc66ee

View File

@ -610,7 +610,7 @@ func (s *SplitStore) flushPendingWrites(locked bool) {
}) })
if err != nil { if err != nil {
log.Errorf("error tracking dependent writes for cid %s: %s", c, err) log.Warnf("error tracking dependent writes for cid %s: %s", c, err)
} }
} }
s.pendingWrites = make(map[cid.Cid]struct{}) s.pendingWrites = make(map[cid.Cid]struct{})
@ -651,7 +651,7 @@ func (s *SplitStore) trackTxnRef(c cid.Cid) {
} }
if err != nil { if err != nil {
log.Errorf("error protecting object (cid: %s) from compaction transaction: %s", c, err) log.Warnf("error protecting object (cid: %s) from compaction transaction: %s", c, err)
return return
} }
} }