Allow proper setCount SLAs across zones (#8752)

Fixes scenario where zones are appropriately
handled, along with supporting overriding set
count. The new fix also ensures that we handle
the various setup types properly.

Update documentation to properly indicate the
behavior.

Fixes #8750

Co-authored-by: Nitish Tiwari <nitish@minio.io>
This commit is contained in:
Harshavardhana
2020-01-07 09:13:44 -08:00
committed by GitHub
parent b123be5612
commit 60813bef29
10 changed files with 93 additions and 73 deletions

View File

@@ -20,8 +20,11 @@ package cmd
type SetupType int
const (
// UnknownSetupType - starts with unknown setup type.
UnknownSetupType SetupType = iota
// FSSetupType - FS setup type enum.
FSSetupType SetupType = iota + 1
FSSetupType
// XLSetupType - XL setup type enum.
XLSetupType
@@ -45,5 +48,5 @@ func (setupType SetupType) String() string {
return globalMinioModeGatewayPrefix
}
return ""
return "unknown"
}