mariadb/storage/innobase
Marko Mäkelä f21a875600 MDEV-28415 ALTER TABLE on a large table hangs InnoDB
buf_flush_page(): Never wait for a page latch, even in checkpoint
flushing (flush_type == BUF_FLUSH_LIST), to prevent a hang of the
page cleaner threads when a large number of pages is latched.

In mysql/mysql-server@9542f3015b
it was claimed that such a hang only affects CREATE FULLTEXT INDEX.
Their fix was to retain buffer-fix but release exclusive latch
on non-leaf pages, and subsequently write to those pages while
they are not associated with the mini-transaction, which would
trip a debug assertion in the MariaDB version of
mtr_t::memo_modify_page() and cause potential corruption
when using the default MariaDB setting innodb_log_optimize_ddl=OFF.

This change essentially backports a small part of
commit 7cffb5f6e8 (MDEV-23399)
from MariaDB Server 10.5.7.
2022-04-27 07:57:04 +03:00
..
btr MDEV-27993 Assertion failed in btr_page_reorganize_low() 2022-03-03 11:51:25 +02:00
buf MDEV-28415 ALTER TABLE on a large table hangs InnoDB 2022-04-27 07:57:04 +03:00
data MDEV-20377: Fix -Wunused-but-set-variable 2020-07-01 20:34:06 +03:00
dict MDEV-26383 fixup: Consistently protect freed_indexes with autoinc_mutex 2021-08-23 10:06:21 +03:00
eval MDEV-21254 Remove unused keywords from the InnoDB SQL parser 2019-12-09 12:32:04 +02:00
fil MDEV-27343 Useless warning "InnoDB: Allocated tablespace ID <id> for <tablename>, old maximum was 0" during backup stage 2022-03-30 19:42:35 +03:00
fsp MDEV-23267 Assertion on --bootstrap --innodb-force-recovery 2021-10-25 15:14:43 +03:00
fts Fix gcc-12 -O2 -Warray-bounds 2022-03-17 10:20:07 +02:00
fut Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
gis MDEV-27417 InnoDB spatial index updates change buffer bitmap page 2022-01-20 12:50:47 +02:00
ha Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
handler Remove deprecated (in C++11) std::binary_function 2022-02-25 12:34:06 +02:00
ibuf MDEV-13103 fixup: Actually fix a crash during IMPORT TABLESPACE 2021-03-31 09:06:44 +03:00
include MDEV-28317 Assertion failures in row_undo_mod on recovery 2022-04-19 12:40:05 +03:00
lock MDEV-23328 Server hang due to Galera lock conflict resolution 2021-10-29 07:57:18 +03:00
log MDEV-26811: Assertion "log_sys->n_pending_flushes == 1" fails 2021-10-13 10:38:41 +03:00
mach Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mem MDEV-20377: Make WITH_MSAN more usable 2020-07-01 17:23:00 +03:00
mtr MDEV-26450: Corruption due to innodb_undo_log_truncate 2021-09-22 14:15:00 +03:00
mysql-test/storage_engine Fix for MDEV-17449, typo in error message (#1146) 2019-03-24 21:24:28 +04:00
os MDEV-27901 Windows : expensive system calls used to calculate file system block size 2022-02-20 22:00:42 +01:00
page MDEV-25361 fixup: Fix integer type mismatch 2021-07-22 17:53:43 +03:00
pars Remove a warning for clang 11 or earlier 2021-11-09 08:23:25 +02:00
que Cleanup: Remove unused symbol QUE_THR_PROCEDURE_WAIT 2021-01-08 16:14:26 +02:00
read MDEV-25594: Improve debug checks 2021-07-27 08:52:01 +03:00
rem MDEV-23851 MDEV-24229 BF-BF conflict issues 2020-12-28 09:06:16 +02:00
row MDEV-27746 Wrong comparision of BLOB's empty preffix with non-preffixed BLOB causes rows count mismatch for clustered and secondary indexes during non-locking read 2022-02-11 12:26:27 +03:00
srv MDEV-27467: innodb to enforce the minimum innodb_buffer_pool_size in SET GLOBAL 2022-01-19 11:10:45 +11:00
sync Remove deprecated (in C++11) std::binary_function 2022-02-25 12:34:06 +02:00
trx MDEV-26864 Race condition between transaction commit and undo log truncation 2021-10-21 12:56:59 +03:00
unittest MDEV-19522 fixup: Use correct printf format 2021-10-21 15:53:35 +03:00
ut MDEV-26865 fts_optimize_thread cannot keep up with workload 2021-10-21 12:56:59 +03:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
bzip2.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
CMakeLists.txt MDEV-19522 InnoDB commit fails when FTS_DOC_ID value is greater than 4294967295 2021-10-21 12:56:59 +03:00
compile-innodb Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
COPYING.Google move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Percona move to storage/innobase 2015-05-04 19:17:21 +02:00
innodb.cmake MDEV-26443 HAVE_C99_INITIALIZERS is not applicable to C++ 2021-08-20 11:14:36 +03:00
lz4.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzma.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzo.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
plugin_exports Solaris compilation failure: xtradb is linked in statically, ha_innodb.so needs 2014-05-01 14:05:52 +02:00
snappy.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00