fix: simplify diskMap usage to keep certain checks predictable (#12519)

Bonus: also make sure that we Sanitize() the drives only during
startup of the server, but not during disk reconnects.
This commit is contained in:
Harshavardhana
2021-06-16 14:26:26 -07:00
committed by GitHub
parent a6cbfc3600
commit 4669d19f2a
4 changed files with 27 additions and 22 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
package cmd
const (
storageRESTVersion = "v36" // Changes to FileInfo for tier-journal
storageRESTVersion = "v37" // cleanup behavior change at storage layer.
storageRESTVersionPrefix = SlashSeparator + storageRESTVersion
storageRESTPrefix = minioReservedBucketPath + "/storage"
)