Fixed hang in concurrent DROP TABLE and BACKUP LOCK BLOCK_DDL
The problem was that tdc_remove_referenced_share() did not take into account that someone could push things into share->free_tables() even if there is a MDL_EXCLUSIVE lock on the table. This can happen if flush_tables() uses the table cache to flush a a non transactional table to disk.
Showing
Please register or sign in to comment