mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00: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:
1 parent
d2ac2f758e
commit
d267d152ba
2 files changed
+10
-10
No files matched your search
@@ -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