Skip to content

Commit ac2e02e

Browse files
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.
1 parent 28073a9 commit ac2e02e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/mtr/mtr0mtr.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ static mtr_t::page_flush_ahead log_close(lsn_t lsn)
925925
" last checkpoint LSN=" LSN_PF ", current LSN=" LSN_PF
926926
"%s.",
927927
lsn_t{log_sys.last_checkpoint_lsn}, lsn,
928-
srv_shutdown_state != SRV_SHUTDOWN_INITIATED
928+
srv_shutdown_state > SRV_SHUTDOWN_INITIATED
929929
? ". Shutdown is in progress" : "");
930930
}
931931
}

0 commit comments

Comments
 (0)