do not print object not found errors in MRF healing (#15646)

This commit is contained in:
Harshavardhana
2022-09-02 14:22:40 -07:00
committed by GitHub
parent 5ea629beb2
commit 37e3f5de10
3 changed files with 7 additions and 5 deletions

View File

@@ -229,8 +229,10 @@ func (m *mrfState) healRoutine() {
delete(m.pendingOps, u)
m.mu.Unlock()
// Log healing error if any
logger.LogIf(m.ctx, err)
if !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
// Log healing error if any
logger.LogIf(m.ctx, err)
}
}
waitForLowHTTPReq()