diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-04-24 09:57:58 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-04-24 09:57:58 +0300 |
commit | 0976afec889d8914326f9e71b15ea215470dadba (patch) | |
tree | eed216078d116b0dfa01540cd2d92408dada53c7 /storage/connect | |
parent | 2c567b2fa37b60fd6db06ddc113d107fd9863208 (diff) | |
download | mariadb-git-0976afec889d8914326f9e71b15ea215470dadba.tar.gz |
MDEV-31114 Assertion !...is_waiting() failed in os_aio_wait_until_no_pending_writes()
os_aio_wait_until_no_pending_reads(), os_aio_wait_until_pending_writes():
Add a Boolean parameter to indicate whether the wait should be declared
in the thread pool.
buf_flush_wait(): The callers have already declared a wait, so let us
avoid doing that again, just call os_aio_wait_until_pending_writes(false).
buf_flush_wait_flushed(): Do not declare a wait in the rare case that
the buf_flush_page_cleaner thread has been shut down already.
buf_flush_page_cleaner(), buf_flush_buffer_pool(): In the code that runs
during shutdown, do not declare waits.
buf_flush_buffer_pool(): Remove a debug assertion that might fail.
What really matters here is buf_pool.flush_list.count==0.
buf_read_recv_pages(), srv_prepare_to_delete_redo_log_file():
Do not declare waits during InnoDB startup.
Diffstat (limited to 'storage/connect')
0 files changed, 0 insertions, 0 deletions