• Vlad Lesin's avatar
    MDEV-14192: mariabackup.incremental_backup failed in buildbot with Failing... · bff9b802
    Vlad Lesin authored
    MDEV-14192: mariabackup.incremental_backup failed in buildbot with Failing assertion: byte_offset % OS_FILE_LOG_BLOCK_SIZE == 0
    
    In some cases it's possible that InnoDB redo log file header is re-written so,
    that checkpoint lsn and checkpoint lsn offset are updated, but checkpoint
    number stays the same. The fix is to re-read redo log header if at least one
    of those three parametes is changed at backup start.
    
    Repeat the logic of log_group_checkpoint() on choosing InnoDB checkpoint info
    field on backup start. This does not influence backup correctness, but
    simplifies bugs analysis.
    bff9b802
xtrabackup.cc 178 KB