When optimizing a large MySQL table (e.g., ~300GB), the database server might hang during the final step of swapping the old table with the optimized one. If this hang persists beyond 600 seconds, MySQL intentionally crashes to prevent prolonged instability.
Typical log entries indicating the issue:
---TRANSACTION 60682931334, ACTIVE 11095 sec dropping table