mariadb/storage/innobase/os
Thirunarayanan Balathandayuthapani 3662f8ca89 MDEV-34543 Shutdown hangs while freeing the asynchronous i/o slots
Problem:
========
- During shutdown, InnoDB tries to free the asynchronous
I/O slots and hangs. The reason is that InnoDB disables
asynchronous I/O before waiting for pending
asynchronous I/O to finish.

buf_load(): InnoDB aborts the buffer pool load due to
user requested shutdown and doesn't wait for the asynchronous
read to get completed. This could lead to debug assertion
in buf_flush_buffer_pool() during shutdown

Fix:
===
os_aio_free(): Should wait all read_slots and write_slots
to finish before disabling the aio.

buf_load(): Should wait for pending read request to complete
even though it was aborted.
2024-07-12 17:42:14 +05:30
..
os0event.cc MDEV-21907: InnoDB: Enable -Wconversion on clang and GCC 2020-03-12 19:46:41 +02:00
os0file.cc MDEV-34543 Shutdown hangs while freeing the asynchronous i/o slots 2024-07-12 17:42:14 +05:30
os0thread.cc MDEV-30936 clang 15.0.7 -fsanitize=memory fails massively 2023-03-28 11:44:24 +03:00