MDEV-12994 innodb_fast_shutdown=0 skips change buffer merge; fast shutdown does it
srv_master_thread(): Pass the correct parameter to srv_shutdown(). This bug was introduced in MDEV-12052, and it affects the MariaDB 10.1.24 release.
This commit is contained in:
parent
ab62b7538f
commit
151daaf480
@ -2403,7 +2403,7 @@ suspend_thread:
|
|||||||
case SRV_SHUTDOWN_CLEANUP:
|
case SRV_SHUTDOWN_CLEANUP:
|
||||||
if (srv_shutdown_state == SRV_SHUTDOWN_CLEANUP
|
if (srv_shutdown_state == SRV_SHUTDOWN_CLEANUP
|
||||||
&& srv_fast_shutdown < 2) {
|
&& srv_fast_shutdown < 2) {
|
||||||
srv_shutdown(srv_fast_shutdown == 1);
|
srv_shutdown(srv_fast_shutdown == 0);
|
||||||
}
|
}
|
||||||
srv_suspend_thread(slot);
|
srv_suspend_thread(slot);
|
||||||
my_thread_end();
|
my_thread_end();
|
||||||
|
@ -3076,7 +3076,7 @@ suspend_thread:
|
|||||||
case SRV_SHUTDOWN_CLEANUP:
|
case SRV_SHUTDOWN_CLEANUP:
|
||||||
if (srv_shutdown_state == SRV_SHUTDOWN_CLEANUP
|
if (srv_shutdown_state == SRV_SHUTDOWN_CLEANUP
|
||||||
&& srv_fast_shutdown < 2) {
|
&& srv_fast_shutdown < 2) {
|
||||||
srv_shutdown(srv_fast_shutdown == 1);
|
srv_shutdown(srv_fast_shutdown == 0);
|
||||||
}
|
}
|
||||||
srv_suspend_thread(slot);
|
srv_suspend_thread(slot);
|
||||||
my_thread_end();
|
my_thread_end();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user