Skip to content

PS-9452 [8.4] fix unprivileged user login when threadpool is full#5616

Merged
lukin-oleksiy merged 1 commit intopercona:8.4from
lukin-oleksiy:PS-9452-8.4-fix-login-when-threadpool-full
Sep 24, 2025
Merged

PS-9452 [8.4] fix unprivileged user login when threadpool is full#5616
lukin-oleksiy merged 1 commit intopercona:8.4from
lukin-oleksiy:PS-9452-8.4-fix-login-when-threadpool-full

Conversation

@lukin-oleksiy
Copy link
Contributor

@lukin-oleksiy lukin-oleksiy commented May 26, 2025

https://perconadev.atlassian.net/browse/PS-9452

The solution is to make connections to the admin port a high priority connection unconditionally.
So, when the thread pool is exhausted, a user with the SERVICE_CONNECTION_ADMIN privilege
can login through admin port and execute KILL commands

@lukin-oleksiy lukin-oleksiy force-pushed the PS-9452-8.4-fix-login-when-threadpool-full branch from 914c856 to dbd061a Compare May 30, 2025 11:34
@lukin-oleksiy lukin-oleksiy changed the title PS-9451 [8.4] fix unprivileged user login when threadpool is full PS-9452 [8.4] fix unprivileged user login when threadpool is full May 30, 2025
@lukin-oleksiy lukin-oleksiy force-pushed the PS-9452-8.4-fix-login-when-threadpool-full branch from dbd061a to 9194d48 Compare June 16, 2025 09:40
@lukin-oleksiy lukin-oleksiy force-pushed the PS-9452-8.4-fix-login-when-threadpool-full branch from 9194d48 to 1de68c9 Compare August 28, 2025 09:51
c.thd->mdl_context.has_locks() ||
c.thd->global_read_lock.is_acquired() ||
c.thd->backup_tables_lock.is_acquired() ||
c.thd->is_admin_connection() || // Admin connection is high prio
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part hasn't been updated as in 8.0

https://perconadev.atlassian.net/browse/PS-9452

The solution is to make connections to the admin port a high priority connection unconditionally.
So, when the thread pool is exhausted, a user with the SERVICE_CONNECTION_ADMIN privilege
can login through admin port and execute KILL commands
@lukin-oleksiy lukin-oleksiy force-pushed the PS-9452-8.4-fix-login-when-threadpool-full branch from 1de68c9 to 42aaea0 Compare September 24, 2025 08:18
Copy link
Collaborator

@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lukin-oleksiy lukin-oleksiy merged commit e51c42d into percona:8.4 Sep 24, 2025
20 of 22 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.

2 participants