diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-07 17:57:03 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-07 17:57:03 +0300 |
commit | 4a5be2e94e749c26121395d2a4509dc60a856c44 (patch) | |
tree | dd85c7ee842d98ee07c75d33c42102b75001b6be /cmake | |
parent | 18a62eb76df0cc0bece66ba29c354c613f58e944 (diff) | |
download | mariadb-git-4a5be2e94e749c26121395d2a4509dc60a856c44.tar.gz |
MDEV-22495 Assertion ...status != buf_page_t::FREED in ibuf_read_merge_pages()
ibuf_read_merge_pages(): Request a possibly freed page.
The change buffer is discarded lazily for freed pages either
by this function or when buf_page_create() reuses a page.
buf_page_get_low(): Relax a debug assertion.
Do not attempt change buffer merge on freed pages.
ibuf_merge_or_delete_for_page(): Assert that the page state is NORMAL.
INIT_ON_FLUSH is not possible, because in that case buf_page_create()
should have removed any buffered changes for the page.
buf_page_get_gen(): Apply buffered changes also in the case when
we can avoid reading the page based on buffered redo log records.
This addresses a hard-to-reproduce scenario that was broken in
commit 6697135c6d03935118c3dfa1c97faea7fa76afa6.
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions