v.21.4Improvements
Supported replication_alter_partitions_sync in clickhouse-copier and decreased default timeouts
Supportedreplication_alter_partitions_sync=1setting inclickhouse-copierfor moving partitions from helping table to destination. Decreased default timeouts. Fixes #21911. #21912 (turbo jason).
Why it matters
This feature addresses issues related to asynchronous replication during partition moves byclickhouse-copier. It ensures that partition alterations are synchronized in replicated tables, improving data consistency and reliability during partition moves. Additionally, default timeouts have been decreased to enhance operation responsiveness and stability.How to use it
To enable synchronous replication during partition moves withclickhouse-copier, set the configuration option replication_alter_partitions_sync=1. This instructs the copier to wait for replication confirmation when moving partitions from the helping table to the destination.