mariadb/storage/innobase/handler
Thirunarayanan Balathandayuthapani 6ec57588bd MDEV-30363 InnoDB: Failing assertion: trx->error_state == DB_SUCCESS in que_run_threads
Problem:
=========
- During truncation of a fulltext table, InnoDB does create the
table and does insert the default config fts values in fulltext
common config table using create table transaction.

- Before committing the create table transaction, InnoDB does update
the dictionary by loading the stopword into fts cache
and write the stopword configuration into fulltext common
config table by creating a separate transaction. This leads to
lock wait timeout error and rollbacks the transaction.

- But truncate table holds dict_sys.lock and rollback also
tries to acquire dict_sys.lock. This leads to assertion during
rollback.

Solution:
=========
ha_innobase::truncate(): Commit the create table transaction
before updating the dictionary after create table.
2025-06-16 11:48:06 +02:00
..
ha_innodb.cc MDEV-30363 InnoDB: Failing assertion: trx->error_state == DB_SUCCESS in que_run_threads 2025-06-16 11:48:06 +02:00
ha_innodb.h MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
handler0alter.cc MDEV-36236 Instant alter aborts when InnoDB fails to rollback instant operation 2025-04-03 13:09:08 +05:30
i_s.cc Get debug version to compile with gcc 7.5.0 2025-06-02 14:02:53 +03:00
i_s.h Merge 10.5 into 10.6 2021-08-23 11:21:33 +03:00