heal: Reset healing params when a retry is decided (#20285)

Currently, retry healing of a new drive healing does not reset
HealedBuckets means that the next healing retry will skip those
buckets. The commit will fix this behavior.

Also, the skipped objects counter will include objects uploaded
that are uploaded after the healing is started.
This commit is contained in:
Anis Eleuch
2024-08-22 13:35:43 +01:00
committed by GitHub
parent 2d44c161c7
commit a8f143298f
4 changed files with 46 additions and 16 deletions

2
go.mod
View File

@@ -51,7 +51,7 @@ require (
github.com/minio/highwayhash v1.0.3
github.com/minio/kms-go/kes v0.3.0
github.com/minio/kms-go/kms v0.4.0
github.com/minio/madmin-go/v3 v3.0.63
github.com/minio/madmin-go/v3 v3.0.64-0.20240822003756-fe52a32e526d
github.com/minio/minio-go/v7 v7.0.75
github.com/minio/mux v1.9.0
github.com/minio/pkg/v3 v3.0.11