Browse Source

MDEV-34175 mtr_t::log_close() warning should change the shutdown condition

- InnoDB should print the warning message saying
"Shutdown is in progress" only when shutdown state
is greater than SRV_SHUTDOWN_INITIATED.
pull/3258/head
Thirunarayanan Balathandayuthapani 2 years ago
parent
commit
ac2e02e961
  1. 2
      storage/innobase/mtr/mtr0mtr.cc

2
storage/innobase/mtr/mtr0mtr.cc

@ -925,7 +925,7 @@ static mtr_t::page_flush_ahead log_close(lsn_t lsn)
" last checkpoint LSN=" LSN_PF ", current LSN=" LSN_PF
"%s.",
lsn_t{log_sys.last_checkpoint_lsn}, lsn,
srv_shutdown_state != SRV_SHUTDOWN_INITIATED
srv_shutdown_state > SRV_SHUTDOWN_INITIATED
? ". Shutdown is in progress" : "");
}
}

Loading…
Cancel
Save