mariadb/storage/innobase
mariadb-DebarunBanerjee 2d5cba22a9 MDEV-34167 We fail to terminate transaction early with ER_LOCK_TABLE_FULL when lock memory is growing
This regression is introduced in 10.6 by following commit.
commit b6a2472489
MDEV-27891: SIGSEGV in InnoDB buffer pool resize

During DML, we check if buffer pool is running out of data pages in
buf_pool_t::running_out. Here is 75% of the buffer pool is occupied by
non-data pages we rollback the current transaction and exit with
ER_LOCK_TABLE_FULL.

The integer division (n_chunks_new / 4) becomes zero whenever the total
number of chunks are < 4 making the check completely ineffective for
such cases. Also the check is inaccurate for larger chunks.

Fix-1: Correct the check in buf_pool_t::running_out.

Fix-2: While waiting for free page, check for
buf_LRU_check_size_of_non_data_objects.
2024-05-21 08:33:44 +05:30
..
btr Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
buf MDEV-34167 We fail to terminate transaction early with ER_LOCK_TABLE_FULL when lock memory is growing 2024-05-21 08:33:44 +05:30
data Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
dict Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
eval MDEV-27336 Crash on DROP DATABASE due to out-of-bounds result from InnoDB SUBSTR() 2021-12-21 17:33:26 +02:00
fil Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
fsp MDEV-34118 fsp_alloc_free_extent() fails to flag DB_OUT_OF_FILE_SPACE 2024-05-10 12:49:16 +03:00
fts Fix heap-use-after-free in fts_free() 2024-03-21 16:01:29 +02:00
fut MDEV-33325 Crash in flst_read_addr on corrupted data 2024-04-11 09:58:53 +03:00
gis Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
ha
handler MDEV-31161 Assertion failures upon adding a too long key to table with COMPRESSED row 2024-04-30 20:40:29 +05:30
ibuf Merge 10.5 into 10.6 2024-04-19 16:01:26 +03:00
include MDEV-34167 We fail to terminate transaction early with ER_LOCK_TABLE_FULL when lock memory is growing 2024-05-21 08:33:44 +05:30
lock MDEV-28800 SIGABRT due to running out of memory for InnoDB locks 2024-05-20 21:19:13 +05:30
log MDEV-32791 MariaDB cannot be installed on Red Hat ubi9 2024-04-19 11:04:51 +03:00
mem MDEV-27058: Reduce the size of buf_block_t and buf_page_t 2021-11-18 17:47:19 +02:00
mtr Merge branch '10.5' into 10.6 2024-04-29 10:08:58 +02:00
mysql-test/storage_engine
os MDEV-33980 mariadb-backup --backup is missing retry logic for undo tablespaces 2024-05-06 19:50:20 +05:30
page MDEV-27924 fixup: cmake -DWITH_INNODB_EXTRA_DEBUG=ON 2024-04-23 12:57:39 +03:00
pars Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
que Fix g++-14 -Wmaybe-uninitialized 2024-03-19 08:08:18 +02:00
read MDEV-29612 ReadViewBase::snapshot() misses an optimization 2022-10-06 13:14:16 +03:00
rem Merge branch '10.5' into 10.6 2024-03-13 21:02:34 +01:00
row MDEV-33979 Disallow bulk insert operation during partition update statement 2024-04-25 10:50:34 +05:30
srv Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
sync MDEV-33431 Latching order violation reported fil_system.sys_space.latch and ibuf_pessimistic_insert_mutex 2024-04-17 15:16:50 +05:30
trx MDEV-33325 Crash in flst_read_addr on corrupted data 2024-04-11 09:58:53 +03:00
unittest Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
ut MDEV-26642/MDEV-26643/MDEV-32898 Implement innodb_snapshot_isolation 2024-03-20 09:48:03 +02: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 Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
COPYING.Google
COPYING.Percona
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
snappy.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00