Commit 71376346 authored by unknown's avatar unknown

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


innobase/srv/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
parent c927d4ed
...@@ -2802,6 +2802,11 @@ srv_master_thread( ...@@ -2802,6 +2802,11 @@ srv_master_thread(
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 */
...@@ -2829,11 +2834,6 @@ srv_master_thread( ...@@ -2829,11 +2834,6 @@ srv_master_thread(
log_flush_up_to(ut_dulint_max, LOG_WAIT_ONE_GROUP); log_flush_up_to(ut_dulint_max, LOG_WAIT_ONE_GROUP);
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) {
......
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