MariaDB and MySQL DROP / TRUNCATE Lock / Stall Bug, Mitigations and Workarounds
When you DROP or TRUNCATE a table or partition in MySQL and you have a large buffer pool, you may noticed a complete server lock-up or stall of multiple seconds. Mitigation and Workarounds.