• Marko Mäkelä's avatar
    MDEV-12711 mariabackup --backup is refused for multi-file system tablespace · 065ba53c
    Marko Mäkelä authored
    Before MDEV-12113 (MariaDB Server 10.1.25), on shutdown InnoDB would write
    the current LSN to the first page of each file of the system tablespace.
    This is incompatible with MariaDB's InnoDB table encryption, because
    encryption repurposed the field for an encryption key ID and checksum.
    
    buf_page_is_corrupted(): For the InnoDB system tablespace, skip
    FIL_PAGE_FILE_FLUSH_LSN when checking if a page is all zero,
    because the first page of each file in the system tablespace can
    contain nonzero bytes in the field.
    065ba53c
buf0buf.cc 176 KB