From 5cfc894f41479fe34b3a735a06067013db97c70f Mon Sep 17 00:00:00 2001 From: Anis Eleuch Date: Wed, 21 Aug 2024 21:40:59 +0100 Subject: [PATCH] heal: Add RetryAttempts field to healing info drive This will help mc to show accurate information, since a retry can confuse the ETA --- heal-commands.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heal-commands.go b/heal-commands.go index ca7ae9c..f2aeb7d 100644 --- a/heal-commands.go +++ b/heal-commands.go @@ -361,6 +361,8 @@ type HealingDisk struct { Started time.Time `json:"started"` LastUpdate time.Time `json:"last_update"` + RetryAttempts uint64 `json:"retry_attempts"` + ObjectsTotalCount uint64 `json:"objects_total_count"` ObjectsTotalSize uint64 `json:"objects_total_size"`