sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
6.06k stars 983 forks source link

Enforcing maximum online servers in a hostgroup #4517

Closed rahim-kanji closed 6 months ago

rahim-kanji commented 7 months ago

A host group can now be configured to have a maximum number of online servers simultaneously. Once this limit is reached, any new connections attempting to access the connection pool will be denied, and existing connections will gradually be reassigned to the available/free connection pool until the number of online servers is reduced to meet or fall below the specified maximum.

Closes #4515

mirostauder commented 7 months ago

retest this please

rahim-kanji commented 7 months ago

retest this please

JavierJF commented 6 months ago

Retest this please.