mirror of
https://github.com/pgsty/minio.git
synced 2026-03-15 17:17:01 +01:00
reject changing pools when there are pending decommissions in-progress (#14102)
do not allow mutation to pool command line when there are unfinished decommissions in place, disallow such scenarios to avoid user mistakes. also add testcases to cover all relevant scenarios.
This commit is contained in:
@@ -2157,6 +2157,7 @@ func mustGetPoolEndpoints(args ...string) EndpointServerPools {
|
||||
SetCount: setCount,
|
||||
DrivesPerSet: drivesPerSet,
|
||||
Endpoints: endpoints,
|
||||
CmdLine: strings.Join(args, " "),
|
||||
}}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user