mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
b76c277a8f
Problem: MYSQL_BIN_LOG::reset_logs acquires mutexes in wrong order. The correct order is first LOCK_thread_count and then LOCK_log. This function does it the other way around. This leads to deadlock when run in parallel with a thread that takes the two locks in correct order. For example, a thread that disconnects will take the locks in the correct order. Fix: change order of the locks in MYSQL_BIN_LOG::reset_logs: first LOCK_thread_count and then LOCK_log. |
||
---|---|---|
.. | ||
binlog | ||
engines | ||
federated | ||
funcs_1 | ||
funcs_2 | ||
im | ||
innodb | ||
innodb_plugin | ||
jp | ||
large_tests | ||
manual | ||
ndb | ||
ndb_team | ||
parts | ||
rpl | ||
rpl_ndb | ||
stress | ||
sys_vars |