mirror of
https://github.com/minio/minio.git
synced 2026-11-06 08:33:14 +00: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:
1 parent
64d4da5a37
commit
0df31f63ab
3 files changed
+266
-51
No files matched your search
@@ -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