Complain if we detect sub-optimal ordering in distributed setup (#7576)

Fixes #6156
This commit is contained in:
Harshavardhana
2019-04-28 21:40:50 -07:00
committed by Nitish Tiwari
parent af6c6a2b35
commit 091b9b661f
3 changed files with 63 additions and 0 deletions

View File

@@ -167,6 +167,8 @@ func serverHandleCmdArgs(ctx *cli.Context) {
}
logger.FatalIf(err, "Invalid command line arguments")
logger.LogIf(context.Background(), checkEndpointsSubOptimal(ctx, setupType, globalEndpoints))
globalMinioHost, globalMinioPort = mustSplitHostPort(globalMinioAddr)
// On macOS, if a process already listens on LOCALIPADDR:PORT, net.Listen() falls back