v.20.5Improvement
Allow Dropping and Renaming of Replicated Tables with ZooKeeper Metadata Issues
Allow to DROP replicated table if the metadata in ZooKeeper was already removed and does not exist (this is also the case when using TestKeeper for testing and the server was restarted). Allow to RENAME replicated table even if there is an error communicating with ZooKeeper. This fixes #10720. #11652 (alexey-milovidov).
Why it matters
This feature solves the problem of being unable to drop or rename replicated tables when ZooKeeper metadata has already been removed or when there are communication errors with ZooKeeper, such as during testing with TestKeeper or after server restarts. It improves usability and reliability of operations on replicated tables under these failure scenarios.How to use it
Users can now performDROP TABLE or RENAME TABLE commands on replicated tables without requiring ZooKeeper metadata to be present or accessible. No special settings need to be enabled; these commands will work by default even if ZooKeeper communication fails or metadata is missing.