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
The new setting SET GLOBAL innodb_log_archive=ON will enable log
archiving as soon as the current ib_logfile0 is about to wrap around
an odd number of times.
The new status variable innodb_lsn_archived will return 0 when log
archiving is not enabled, or a LSN since when a complete InnoDB log
archive is available.
When innodb_log_archive=ON, the setting SET GLOBAL innodb_log_file_size
will affect subsequently created log files when the file that is being
currently written is running out.
log_t::archive_new_mmap(): Create and memory-map a new log file,
and update file_size to resize_target.
log_t::archive_set_size(): Ensure that resize_target is set for
new archived log files.
mtr_t::finish_writer(): Specialize for innodb_log_archive=ON
TODO: Specialize log_t::resizing_and_latch (non-PMEM code path).
TODO: Rename log files and set innodb_lsn_archived on checkpoint.
TODO: Implement recovery from archived log.
0 commit comments