You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug #21951764 IMPOSSIBLE TO UPGRADE DATABASE FROM 5.7 TO 5.8,
EVEN WHEN STOPPING GRACEFULLY
Problem:
=======
In function logs_empty_and_mark_files_at_shutdown(), checkpoint is done
repeatedly until log_sys->lsn == log_sys->last_checkpoint_lsn. So after
writing MLOG_CHECKPOINT record, log_sys->lsn will be greater than
last_checkpoint_lsn. In the next iteration of log_make_checkpoint_at(),
updation is done only the checkpoint lsn in the log file header
with the log_sys->lsn. In trunk, there will no MLOG_CHECKPOINT record
after checkpoint_lsn and it leads to upgrade failure.
Solution:
========
To verify if the shutdown is normal before upgrade, make sure that there
are no redo log records after checkpoint lsn.
Reviewed-by: Marko Makela<marko.makela@oracle.com>
RB:11603
0 commit comments