mariadb/storage
Thirunarayanan Balathandayuthapani 2fdacdcd69 MDEV-30802 Assertion `index->is_btree() || index->is_ibuf()' failed in btr_search_guess_on_hash
Problem:
=======
 - There is a race condition between purge and rollback of alter
operation. Alter rollback marks the index as corrupted.
At the same time, purge is working on the same index and leads
to assert failure. This is caused by
commit 7c0b9c6020 (MDEV-15250).

Solution:
=======
 - After MDEV-15250, InnoDB logs the operation only at the
end of transaction commit and applies the log in
ha_innobase::commit_inplace_alter_table() and
also via dml thread. So there is no need for purge to work
on uncommitted index.

The assertion would fail in the test innodb.innodb-index-online
when the following call is added to the start of the function
row_purge_remove_sec_if_poss_leaf():
if (!index->is_committed()) sleep(5);
2023-09-19 19:04:53 +05:30
..
archive Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
blackhole Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
columnstore Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
connect Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
csv Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
example Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
federated Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
federatedx Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
heap Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
innobase MDEV-30802 Assertion `index->is_btree() || index->is_ibuf()' failed in btr_search_guess_on_hash 2023-09-19 19:04:53 +05:30
maria MDEV-29693 ANALYZE TABLE still flushes table definition cache when engine-independent statistics is used 2023-08-18 13:28:39 +03:00
mroonga Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
myisam MDEV-29693 ANALYZE TABLE still flushes table definition cache when engine-independent statistics is used 2023-08-18 13:28:39 +03:00
myisammrg Merge 10.5 into 10.6 2023-05-23 12:25:39 +03:00
oqgraph Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
perfschema Merge branch '10.5' into 10.6 2023-05-03 09:51:25 +02:00
rocksdb Roksdb test postmerge fix 2023-08-04 10:30:30 +02:00
sequence Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sphinx Merge branch '10.5' into 10.6 2022-11-02 14:33:20 +01:00
spider Merge branch '10.5' into 10.6 2023-09-15 15:23:37 +10:00
test_sql_discovery Merge 10.5 into 10.6 2022-09-20 16:53:20 +03:00