mariadb/storage/innobase
mariadb-DebarunBanerjee a8e35a1cc6 MDEV-36149 UBSAN in X is outside the range of representable values of type 'unsigned long' | page_cleaner_flush_pages_recommendation
Currently it is allowed to set innodb_io_capacity to very large value
up to unsigned 8 byte maximum value 18446744073709551615. While
calculating the number of pages to flush, we could sometime go beyond
innodb_io_capacity. Specifically, MDEV-24369 has introduced a logic
for aggressive flushing when dirty page percentage in buffer pool
exceeds innodb_max_dirty_pages_pct. So, when innodb_io_capacity is
set to very large value and dirty page percentage exceeds the
threshold, there is a multiplication overflow in Innodb page cleaner.

Fix: We should prevent setting io_capacity to unrealistic values and
define a practical limit to it. The patch introduces limits for
innodb_io_capacity_max and innodb_io_capacity to the maximum of 4 byte
unsigned integer i.e. 4294967295 (2^32-1). For 16k page size this limit
translates to 64 TiB/sec write IO speed which looks sufficient.

Reviewed by: Marko Mäkelä
2025-03-17 11:44:09 +05:30
..
btr Merge branch '10.6' into 10.11 2025-01-10 13:14:42 +01:00
buf MDEV-36149 UBSAN in X is outside the range of representable values of type 'unsigned long' | page_cleaner_flush_pages_recommendation 2025-03-17 11:44:09 +05:30
data Merge 10.7 into 10.8 2022-11-01 08:50:28 +02:00
dict MDEV-36227 Race condition between ALTER TABLE…EXCHANGE PARTITION and SELECT 2025-03-07 10:52:59 +02:00
eval MDEV-26938 Support descending indexes internally in InnoDB 2022-01-26 18:43:05 +01:00
fil Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
fsp MDEV-35000 preparation: Clean up dict_table_t::stat 2025-02-28 08:55:16 +02:00
fts MDEV-35000: dict_table_close() breaks STATS_AUTO_RECALC 2025-02-28 09:00:16 +02:00
fut MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
gis MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
ha MDEV-35472 Server crash in ha_storage_put_memlim upon reading from INNODB_LOCKS 2024-11-25 10:31:57 +02:00
handler MDEV-36149 UBSAN in X is outside the range of representable values of type 'unsigned long' | page_cleaner_flush_pages_recommendation 2025-03-17 11:44:09 +05:30
ibuf MDEV-35000 preparation: Clean up dict_table_t::stat 2025-02-28 08:55:16 +02:00
include MDEV-36149 UBSAN in X is outside the range of representable values of type 'unsigned long' | page_cleaner_flush_pages_recommendation 2025-03-17 11:44:09 +05:30
lock MDEV-35708 lock_rec_get_prev() returns only the first record lock 2025-01-20 12:03:50 +03:00
log MDEV-36155: MSAN use-of-uninitialized-value innodb.log_file_size_online 2025-02-27 08:19:07 +11:00
mem Cleanup: Remove duplicated code 2024-11-29 14:16:34 +02:00
mtr Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
mysql-test/storage_engine Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
os Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
page Merge 10.6 into 10.11 2024-11-29 13:43:17 +02:00
pars Merge 10.6 into 10.11 2025-02-25 10:23:24 +02:00
que 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
read MDEV-34515: Contention between purge and workload 2024-08-26 12:23:06 +03:00
rem Merge 10.6 into 10.11 2024-03-28 09:16:57 +02:00
row MDEV-35000: dict_table_close() breaks STATS_AUTO_RECALC 2025-02-28 09:00:16 +02:00
srv MDEV-35000 preparation: Clean up dict_table_t::stat 2025-02-28 08:55:16 +02:00
sync Merge 10.6 into 10.11 2024-10-03 10:55:08 +03:00
trx MDEV-35000: dict_table_close() breaks STATS_AUTO_RECALC 2025-02-28 09:00:16 +02:00
unittest MDEV-35587 unit.innodb_sync leaks memory on mac 2024-12-12 10:27:36 +11:00
ut Merge 10.6 into 10.11 2024-12-19 15:38:53 +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
CMakeLists.txt MDEV-35000: dict_table_close() breaks STATS_AUTO_RECALC 2025-02-28 09:00:16 +02:00
COPYING.Google
COPYING.Percona