mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
disallow EC:0 if not set during server startup (#17141)
This commit is contained in:
@@ -748,7 +748,7 @@ func serverMain(ctx *cli.Context) {
|
||||
printStartupMessage(getAPIEndpoints(), err)
|
||||
|
||||
// Print a warning at the end of the startup banner so it is more noticeable
|
||||
if globalStorageClass.GetParityForSC("") == 0 {
|
||||
if newObject.BackendInfo().StandardSCParity == 0 {
|
||||
logger.Error("Warning: The standard parity is set to 0. This can lead to data loss.")
|
||||
}
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user