Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[BACKPORT] Forbid shutting down member via console on Management Center #12328
Shutting down members individually or the cluster entirely is possible
(cherry picked from commit 4aab7db)
Shutting down members individually or the cluster entirely is possible via Management Center screens. These screens ask for the cluster name and the password. However, the console tab on Management Center doesn't ask for any additional credentials for stopping a member, so we don't allow these operations via console. A bug in our implementation allowed upper case, mixed case and composite commands to pass through. Executing "shutdown" was allowed as well. This commit makes sure that a console command coming from Management Center will not be able to shut down a member. (cherry picked from commit 4aab7db) Backport "Prevent division by zero for fast repeat operations"