Commit 8938031b authored by Sergei Golubchik's avatar Sergei Golubchik

InnoDB: don't stop purge threads if there's work to do

in slow shutdown mode don't stop purge threads until they've
purged everything there is
parent 8d770859
......@@ -2668,7 +2668,7 @@ srv_purge_should_exit(
ulint n_purged) /*!< in: pages purged in last batch */
{
if (thd_kill_level(thd)) {
return(true);
return(srv_fast_shutdown != 0 || n_purged == 0);
}
switch (srv_shutdown_state) {
......
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