MDEV-25852: Orphan #sql*.ibd files are left behind
The implementation of MDEV-24626 was not entirely correct. We could occasionally fail to remove some *.ibd files on recovery. deferred_spaces: Keep track of FILE_DELETE records. deferred_spaces.add(): Do not allow duplicate file names. recv_rename_files(): Preserve some of renamed_spaces entries for deferred_spaces.reinit_all(). Thanks to Thirunarayanan Balathandayuthapani for noticing that deferred_spaces.add() must filter out duplicate file names, as well as some debugging help.
Showing
Please register or sign in to comment