v.19.14Improvement
Changed Semantic of Multiple Tables RENAME to Avoid Possible Deadlocks
Changed semantic of multiple tables RENAME to avoid possible deadlocks. #6757. #6756 (alexey-milovidov)Why it matters
This feature addresses issues with deadlocks that could occur when usingRENAME on multiple tables simultaneously. By modifying the semantics of these operations, it ensures safer schema changes and improves the reliability of database migrations and maintenance tasks.How to use it
Users will benefit from this change automatically when executingRENAME statements involving multiple tables, as the new implementation handles locking internally to avoid deadlocks. No additional configuration is required.