mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
srv0srv.c:
Make sure we do not do insert buffer merge in fast shutdown even if there is some buglet which increments srv_activity_counter during a shutdown
This commit is contained in:
@@ -2802,6 +2802,11 @@ loop:
|
|||||||
goto suspend_thread;
|
goto suspend_thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (srv_fast_shutdown && srv_shutdown_state > 0) {
|
||||||
|
|
||||||
|
goto background_loop;
|
||||||
|
}
|
||||||
|
|
||||||
/* We flush the log once in a second even if no commit
|
/* We flush the log once in a second even if no commit
|
||||||
is issued or the we have specified in my.cnf no flush
|
is issued or the we have specified in my.cnf no flush
|
||||||
at transaction commit */
|
at transaction commit */
|
||||||
@@ -2830,11 +2835,6 @@ loop:
|
|||||||
log_flush_to_disk();
|
log_flush_to_disk();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (srv_fast_shutdown && srv_shutdown_state > 0) {
|
|
||||||
|
|
||||||
goto background_loop;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (srv_activity_count == old_activity_count) {
|
if (srv_activity_count == old_activity_count) {
|
||||||
|
|
||||||
if (srv_print_thread_releases) {
|
if (srv_print_thread_releases) {
|
||||||
|
Reference in New Issue
Block a user