• Thirunarayanan Balathandayuthapani's avatar
    MDEV-18194 Incremental prepare tries to access page which is out of tablespace bounds · 7c7161a1
    Thirunarayanan Balathandayuthapani authored
    Problem:
    =======
    Mariabackup incremental prepare creates new tablespace when it encounter
    new tablespace. It sets the intial size as FIL_IBD_FILE_INITIAL_SIZE (4).
    But while applying redo log, it tries to access 5th page and then
    it leads to out of tablespace error.
    
    Fix:
    ===
    While parsing the redo log record, track FSP_SIZE in recv_spaces for the
    respective space id. Assign the recv_size for the tablespace when it
    is loaded. Extend the tablespace depends on recv_size while applying
    the redo log record.
    7c7161a1
incremental_ddl_before_backup.result 1019 Bytes