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)
Changed the semantic behavior of RENAME operations involving multiple tables to prevent potential deadlocks.

Why it matters

This feature addresses issues with deadlocks that could occur when using RENAME 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 executing RENAME statements involving multiple tables, as the new implementation handles locking internally to avoid deadlocks. No additional configuration is required.