Commit e4c55519 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-13564: Temporarily restore a call to work around a bug

srv_start(): Restore the call to buf_pool_invalidate() that
was removed in commit 09af00cb.
It turns out that the call is necessary to work around a bug
that should be fixed in MDEV-19229.
parent c2a2e721
......@@ -1837,6 +1837,14 @@ dberr_t srv_start(bool create_new_db)
return(srv_init_abort(err));
}
} else {
/* Work around the bug that we were performing a dirty read of
at least the TRX_SYS page into the buffer pool above, without
reading or applying any redo logs.
MDEV-19229 FIXME: Remove the dirty reads and this call.
Add an assertion that the buffer pool is empty. */
buf_pool_invalidate();
/* We always try to do a recovery, even if the database had
been shut down normally: this is the normal startup path */
......
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