Browse Source

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 09af00cbde.
It turns out that the call is necessary to work around a bug
that should be fixed in MDEV-19229.
pull/1276/head
Marko Mäkelä 7 years ago
parent
commit
e4c5551964
  1. 8
      storage/innobase/srv/srv0start.cc

8
storage/innobase/srv/srv0start.cc

@ -1837,6 +1837,14 @@ files_checked:
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 */

Loading…
Cancel
Save