• Konstantin Osipov's avatar
    A fix for Bug#41158 "DROP TABLE holds LOCK_open during unlink()". · f8bfa328
    Konstantin Osipov authored
    Remove acquisition of LOCK_open around file system operations,
    since such operations are now protected by metadata locks.
    Rework table discovery algorithm to not require LOCK_open.
    
    No new tests added since all MDL locking operations are covered
    in lock.test and mdl_sync.test, and as long as these tests
    pass despite the increased concurrency, consistency must be
    unaffected.
    f8bfa328
handler.cc 144 KB