mariadb/storage
Marko Mäkelä 92772485b7 MDEV-30911 Multi-batch recovery of ROW_FORMAT=COMPRESSED table hangs
In commit d6aed21621 a condition at
the start of buf_read_ahead_random() was refactored. Only the caller
buf_read_recv_pages() was adjusted for this. We must in fact adjust
every caller and make sure that spare blocks will be allocated
while crash recovery is in progress. This is the simplest fix;
ideally recovery would operate on the compressed page frame.

The observed recovery hang occurred because pages 0 and 3 of a
tablespace were being read due to buf_page_get_gen() calls by
trx_resurrect_table_locks() before the log records for these pages
had been applied. In buf_page_t::read_complete() we would skip
the call to recv_recover_page() because no uncompressed page frame
had been allocated for the block.
2023-03-23 12:21:48 +02:00
..
archive Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
blackhole Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
columnstore MCOL-5437 columnstore fails to compile to due old cs->casedn_multiply use 2023-03-10 09:59:22 +01:00
connect Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
csv Add limits for how many IO operations a table access will do 2023-02-02 23:57:30 +03:00
example Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
federated Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
federatedx Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
heap Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
innobase MDEV-30911 Multi-batch recovery of ROW_FORMAT=COMPRESSED table hangs 2023-03-23 12:21:48 +02:00
maria Merge 10.11 into 11.0 2023-03-06 16:06:52 +02:00
mroonga Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
myisam Merge 10.6 into 10.8 2023-03-06 13:37:12 +02:00
myisammrg MDEV-30088 Assertion `cond_selectivity <= 1.0' failed in get_range_limit_read_cost 2023-02-10 12:58:50 +02:00
oqgraph Changing all cost calculation to be given in milliseconds 2023-02-02 23:54:45 +03:00
perfschema Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
rocksdb Merge 10.11 into 11.0 2023-03-17 15:03:17 +02:00
sequence Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
sphinx Add limits for how many IO operations a table access will do 2023-02-02 23:57:30 +03:00
spider Merge 10.11 into 11.0 2023-02-16 13:34:45 +02:00
test_sql_discovery Merge 10.5 into 10.6 2022-09-20 16:53:20 +03:00