Commit 1188ef4a authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-30132 Crash after recovery, with InnoDB: Tried to read ... bytes at offset

fil_space_t::prepare_acquired(): Do not attempt to extend (or shrink)
files that will be processed by recv_sys_t::recover_deferred().
parent d32b2e7e
...@@ -660,6 +660,7 @@ ATTRIBUTE_COLD bool fil_space_t::prepare_acquired() ...@@ -660,6 +660,7 @@ ATTRIBUTE_COLD bool fil_space_t::prepare_acquired()
if (!is_open) if (!is_open)
release(); release();
else if (node->deferred);
else if (auto desired_size= recv_size) else if (auto desired_size= recv_size)
{ {
bool success; bool success;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment