From 859d100d70a9dba222b229bbc0d5a01194e8ed5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lindstr=C3=B6m?= Date: Thu, 25 Jan 2018 11:28:38 +0200 Subject: MDEV-15063: InnoDB assertion failure !is_owned() at dict0defrag_bg.cc:327 Probem was that dict_sys mutex was owned when calling function dict_stats_save_defrag_stats() that assumes we do not own dict_sys mutex. --- storage/innobase/dict/dict0defrag_bg.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/innobase/dict/dict0defrag_bg.cc b/storage/innobase/dict/dict0defrag_bg.cc index 976e2ac3877..7b9a0373c48 100644 --- a/storage/innobase/dict/dict0defrag_bg.cc +++ b/storage/innobase/dict/dict0defrag_bg.cc @@ -240,6 +240,7 @@ dict_stats_process_entry_from_defrag_pool() return; } + mutex_exit(&dict_sys->mutex); dict_stats_save_defrag_stats(index); dict_table_close(table, FALSE, FALSE); } -- cgit v1.2.1