• Marko Mäkelä's avatar
    MDEV-14499 Mariabackup 10.2 fails to back up a multi-file InnoDB system tablespace · 6979d204
    Marko Mäkelä authored
    When Mariabackup is invoked on an instance that uses a multi-file
    InnoDB system tablespace, it may fail to other files of the system
    tablespace than the first one.
    This was revealed by the MDEV-14447 test case.
    The offending code is assuming that the first page of each data file
    is page 0. But, in multi-file system tablespaces that is not the case.
    
    xb_fil_cur_open(): Instead of re-reading the first page of the file,
    rely on the fil_space_t metadata that already exists in memory.
    
    xb_get_space_flags(): Remove.
    6979d204
xtrabackup.h 5.66 KB