Skip to content

Commit dd737d0

Browse files
MDEV-29291 Assertion `!table->fts' failed in dict_table_can_be_evicted on SHUTDOWN
- InnoDB fts table initially added to LRU table cache while creating the table. Later, table was marked as non-evicted when we add the table to fts optimizer list. Before marking the table as non-evicted, master thread can try to evict the fts table.
1 parent 0b80573 commit dd737d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/dict/dict0crea.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ dict_create_table_step(
12711271
if (node->state == TABLE_ADD_TO_CACHE) {
12721272
DBUG_EXECUTE_IF("ib_ddl_crash_during_create", DBUG_SUICIDE(););
12731273

1274-
node->table->can_be_evicted = true;
1274+
node->table->can_be_evicted = !node->table->fts;
12751275
node->table->add_to_cache();
12761276

12771277
err = DB_SUCCESS;

0 commit comments

Comments
 (0)