mariadb/mysql-test/suite
mariadb-DebarunBanerjee b12c14e3b4 MDEV-34265 Possible hang during IO burst with innodb_flush_sync enabled
When checkpoint age goes beyond the sync flush threshold and
buf_flush_sync_lsn is set, page cleaner enters into "furious flush"
stage to aggressively flush dirty pages from flush list and pull
checkpoint LSN above safe margin. In this stage, page cleaner skips
doing LRU flush and eviction.

In 10.6, all other threads entirely rely on page cleaner to generate
free pages. If free pages get over while page cleaner is busy in
"furious flush" stage, a session thread could wait for free page in the
middle of a min-transaction(mtr) while holding latches on other pages.

It, in turn, can prevent page cleaner to flush such pages preventing
checkpoint LSN to move forward creating a deadlock situation. Even
otherwise, it could create a stall and hang like situation for large BP
with plenty of dirty pages to flush before the stage could finish.

Fix: During furious flush, check and evict LRU pages after each flush
iteration.
2024-06-05 18:11:29 +05:30
..
archive Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
atomic
binlog Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
binlog_encryption Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
client
compat Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
csv Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
encryption Merge 10.5 into 10.6 2024-04-18 07:14:56 +03:00
engines Fixed some mtr results found in Jenins after MDEV-333582 push 2024-03-06 15:16:03 +02:00
federated Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
funcs_1
funcs_2
galera Merge 10.5 into 10.6 2024-05-30 14:27:07 +03:00
galera_3nodes Merge branch '10.5' into 10.6 2024-04-29 10:08:58 +02:00
galera_3nodes_sr Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
galera_sr Merge branch '10.5' into 10.6 2024-04-29 10:08:58 +02:00
gcol Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
handler
heap
innodb MDEV-34265 Possible hang during IO burst with innodb_flush_sync enabled 2024-06-05 18:11:29 +05:30
innodb_fts Merge 10.5 into 10.6 2024-04-18 07:14:56 +03:00
innodb_gis Merge 10.5 into 10.6 2024-04-18 07:14:56 +03:00
innodb_i_s
innodb_zip Merge 10.5 into 10.6 2024-04-18 07:14:56 +03:00
jp
json Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
large_tests fix failing large_tests.maria_recover_encrypted 2024-04-22 17:22:11 +02:00
maria Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
mariabackup Merge 10.5 into 10.6 2024-05-30 14:27:07 +03:00
mtr/t
mtr2
multi_source Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
optimizer_unfixed_bugs
parts Merge 10.5 into 10.6 2024-05-30 14:27:07 +03:00
perfschema Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
perfschema_stress
period Merge 10.5 into 10.6 2024-02-07 13:51:03 +02:00
plugins
roles Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
rpl Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
s3 Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
sql_sequence Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
storage_engine
stress
sys_vars Merge branch '10.5' into 10.6 2024-04-11 13:58:22 +02:00
sysschema Merge 10.5 into 10.6 2024-03-12 09:19:57 +02:00
unit
vcol Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
versioning Merge 10.5 into 10.6 2024-02-13 20:42:59 +02:00
wsrep