diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-09-09 17:14:48 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2020-09-10 14:10:26 +0530 |
commit | 75e82f71f16c3248387e00bc6e4fe4da02555325 (patch) | |
tree | 2cc7e1046cff8de7e93386bc9a3c95138c7fd047 /sql/wsrep_thd.cc | |
parent | 5c07ce406b4ce28064832e72afc79845aac7a46a (diff) | |
download | mariadb-git-75e82f71f16c3248387e00bc6e4fe4da02555325.tar.gz |
MDEV-18867 Long Time to Stop and Start
fts_drop_orphaned_tables() takes long time to remove the orphaned
FTS tables. In order to reduce the time, do the following:
- Traverse fil_system.space_list and construct a set of
table_id,index_id of all FTS_*.ibd tablespaces.
- Traverse the sys_indexes table and ignore the entry
from the above collection if it exist.
- Existing elements in the collection can be considered as
orphaned fts tables. construct the table name from
(table_id,index_id) and invoke fts_drop_tables().
- Removed DICT_TF2_FTS_AUX_HEX_NAME flag usage from upgrade.
- is_aux_table() in dict_table_t to check whether the given name
is fts auxiliary table
fts_space_set_t is a structure to store set of parent table id
and index id
- Remove unused FTS function in fts0fts.cc
- Remove the fulltext index in row_format_redundant test case.
Because it deals with the condition that SYS_TABLES does have
corrupted entry and valid entry exist in SYS_INDEXES.
Diffstat (limited to 'sql/wsrep_thd.cc')
0 files changed, 0 insertions, 0 deletions