We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d642c5b commit 374f94cCopy full SHA for 374f94c
storage/innobase/srv/srv0start.cc
@@ -2066,8 +2066,14 @@ void innodb_preshutdown()
2066
if (srv_read_only_mode)
2067
return;
2068
if (!srv_fast_shutdown && srv_operation == SRV_OPERATION_NORMAL)
2069
+ {
2070
+ /* Because a slow shutdown must empty the change buffer, we had
2071
+ better prevent any further changes from being buffered. */
2072
+ innodb_change_buffering= 0;
2073
+
2074
while (trx_sys.any_active_transactions())
2075
os_thread_sleep(1000);
2076
+ }
2077
srv_shutdown_bg_undo_sources();
2078
srv_purge_shutdown();
2079
}
0 commit comments