Skip to content

Commit 1188ef4

Browse files
committed
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().
1 parent d32b2e7 commit 1188ef4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/fil/fil0fil.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,7 @@ ATTRIBUTE_COLD bool fil_space_t::prepare_acquired()
660660

661661
if (!is_open)
662662
release();
663+
else if (node->deferred);
663664
else if (auto desired_size= recv_size)
664665
{
665666
bool success;

0 commit comments

Comments
 (0)