mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
healing: re-read metadata after lock (#12004)
Do no use potentially wrong metadata from before acquiring lock. Plus remove unused NoLock option.
This commit is contained in:
@@ -48,7 +48,6 @@ type HealOpts struct {
|
||||
DryRun bool `json:"dryRun"`
|
||||
Remove bool `json:"remove"`
|
||||
Recreate bool `json:"recreate"` // only used when bucket needs to be healed
|
||||
NoLock bool `json:"-"` // only used internally.
|
||||
ScanMode HealScanMode `json:"scanMode"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user