v.18.14Improvement
Truncate Table Query Execution on Replicas
A TRUNCATE TABLE query can be executed on any replica (the query is passed to the leader replica). Kirill ShvakovWhy it matters
This feature simplifies the management of replicated tables by allowing users to performTRUNCATE TABLE operations from any replica instead of only from the leader. It enhances usability and flexibility when clearing data from replicated tables.How to use it
Simply run theTRUNCATE TABLE query on any replica of a replicated table. The query will be internally forwarded to the leader replica to perform the truncation.