Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforcing maximum online servers in a hostgroup #4517

Merged
merged 12 commits into from
May 17, 2024

Conversation

rahim-kanji
Copy link
Collaborator

@rahim-kanji rahim-kanji commented Apr 23, 2024

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

…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 connection pool until the number of online servers is reduced to meet or fall below the specified maximum.
@mirostauder
Copy link
Collaborator

retest this please

@rahim-kanji
Copy link
Collaborator Author

retest this please

@rahim-kanji rahim-kanji changed the title [DO NOT MERGE] Enforcing maximum online server in a hostgroup Enforcing maximum online server in a hostgroup Apr 24, 2024
@rahim-kanji rahim-kanji changed the title Enforcing maximum online server in a hostgroup Enforcing maximum online servers in a hostgroup Apr 24, 2024
@rahim-kanji rahim-kanji marked this pull request as ready for review April 24, 2024 18:54
lib/MyHGC.cpp Outdated Show resolved Hide resolved
@rahim-kanji rahim-kanji force-pushed the v2.x_hostgroup_online_servers branch from 090b76a to ca93da5 Compare May 8, 2024 06:58
@JavierJF
Copy link
Collaborator

Retest this please.

@renecannao renecannao merged commit 5514822 into v2.x May 17, 2024
44 of 45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question : when a node from reader hostgroup and lost his READ_ONLY
4 participants