fix: remove active healing on .minio.sys/ during startup (#17072)

This commit is contained in:
Harshavardhana
2023-04-29 02:05:28 -07:00
committed by GitHub
parent 7ae69accc0
commit 02d8f3cdc8
4 changed files with 15 additions and 0 deletions

View File

@@ -784,6 +784,11 @@ func (h *healSequence) healDiskMeta(objAPI ObjectLayer) error {
}
func (h *healSequence) healItems(objAPI ObjectLayer, bucketsOnly bool) error {
if h.clientToken == bgHealingUUID {
// For background heal do nothing.
return nil
}
if err := h.healDiskMeta(objAPI); err != nil {
return err
}