You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#14771682 PERFORMANCE SCHEMA LEAKS MEMORY ON SHUTDOWN
Currently, memory allocated for the performance schema is never freed,
which causes valgrind warnings.
To resolve completely the issue, two changes are needed:
1)
Resolve bug#56666 Race condition between the server main thread and the
kill server thread,
which is the scope of WL#6407.
2)
Fix the function cleanup_performance_schema() itself to free all memory used
by the performance schema.
This fix implements the second part only.
Code is commented out using #ifdef HAVE_WL6407,
while waiting for part 1).
The function cleanup_performance_schema() has been tested (with #define
HAVE_WL6407), which exposed some leaks, which have been all fixed.
Executing unit tests under valgrind also exposed additional issues,
all fixed in the unit tests.
0 commit comments