mariadb/storage
Vladislav Vaintroub 7c7f9bef28 Fix shutdown hang in dict_stats , caused by MDEV-16264
dict_stats_shutdown() can hang, waiting for timer callback to finish.
This happens because locks the same mutex, which can also used inside
timer callback, within dict_stats_schedule() function.

Fix is to make dict_stats_schedule() use mutex.try_lock() instead of
mutex.lock().

In the unlikely case of simultaneous dict_stats_schedule() setting
different timer delays, now the first one would win, which is fine.
Important is that shutdown won't hang.
2019-11-25 15:02:08 +01:00
..
archive
blackhole
cassandra
connect Merge 10.4 into 10.5 2019-11-07 08:52:30 +01:00
csv MDEV-20806 Federated does not work with INET6, returns NULL with warning ER_TRUNCATED_WRONG_VALUE 2019-10-12 07:25:53 +04:00
example
federated MDEV-20806 Federated does not work with INET6, returns NULL with warning ER_TRUNCATED_WRONG_VALUE 2019-10-12 07:25:53 +04:00
federatedx MDEV-20806 Federated does not work with INET6, returns NULL with warning ER_TRUNCATED_WRONG_VALUE 2019-10-12 07:25:53 +04:00
heap Merge 10.4 into 10.5 2019-11-07 10:34:33 +02:00
innobase Fix shutdown hang in dict_stats , caused by MDEV-16264 2019-11-25 15:02:08 +01:00
maria Merge 10.4 into 10.5 2019-11-19 10:45:28 +08:00
mroonga Merge 10.4 into 10.5 2019-10-11 08:41:36 +03:00
myisam Merge 10.4 into 10.5 2019-11-19 10:45:28 +08:00
myisammrg
oqgraph
perfschema Merge 10.4 into 10.5 2019-09-06 14:25:20 +03:00
rocksdb Merge 10.4 into 10.5 2019-11-07 08:52:30 +01:00
sequence MDEV-16327: Server doesn't account for engines that supports OFFSET on their own. 2019-10-13 09:40:41 +02:00
sphinx Merge remote-tracking branch 'origin/10.4' into 10.5 2019-10-01 11:44:27 +04:00
spider Merge 10.4 into 10.5 2019-11-13 20:38:14 +02:00
test_sql_discovery
tokudb Merge 10.4 into 10.5 2019-11-07 08:52:30 +01:00