• Thirunarayanan Balathandayuthapani's avatar
    MDEV-29282 atomic.rename_trigger fails occasionally · 4feb9df1
    Thirunarayanan Balathandayuthapani authored
    This reverts part of commit 212994f7
    (MDEV-28974) and implements a better fix that works in that special case
    while avoiding other failures.
    
    fil_name_process(): Do not rename the tablespace in deferred_spaces;
    it already contains the latest name for the space id.
    
    deferred_spaces::create(): In mariadb-backup --prepare,
    replace absolute data directory file path with short name
    relative to the backup directory and store it as filename while
    deferring tablespace file creation.
    4feb9df1
log0recv.cc 132 KB