Skip to content

Fix leak of SSL caches for auxiliary threads - Port of #4801#4808

Merged
renecannao merged 1 commit intov3.0from
v3.0-fix_aux_threads_ssl_leaks
Feb 3, 2025
Merged

Fix leak of SSL caches for auxiliary threads - Port of #4801#4808
renecannao merged 1 commit intov3.0from
v3.0-fix_aux_threads_ssl_leaks

Conversation

@JavierJF
Copy link
Collaborator

This PR is a port of #4801.

Whenever a thread creates MySQL connections using SSL params the
thread-local caches are populated. These thread-local resources need to
be free on thread exit via 'mysql_thread_end', otherwise these objects
will be leak. This is not relevant for the fixed size thread-pools, but
it's for workloads making use of temporary/auxiliary threads.
@renecannao renecannao merged commit d807247 into v3.0 Feb 3, 2025
64 of 149 checks passed
@renecannao renecannao deleted the v3.0-fix_aux_threads_ssl_leaks branch March 7, 2026 20:42
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