update continous heal metrics appropriately for scanned items (#10352)

bonus make sure to ignore objectNotFound, and versionNotFound
errors properly at all layers, since HealObjects() returns
objectNotFound error if the bucket or prefix is empty.
This commit is contained in:
Harshavardhana
2020-08-26 08:53:33 -07:00
committed by GitHub
parent ea1803417f
commit 7778fef6bb
3 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ func getLocalBackgroundHealStatus() (madmin.BgHealState, bool) {
ScannedItemsCount: bgSeq.getScannedItemsCount(),
LastHealActivity: bgSeq.lastHealActivity,
HealDisks: healDisks,
NextHealRound: UTCNow().Add(dataCrawlStartDelay),
NextHealRound: UTCNow(),
}, true
}