v.23.6Experimental Feature
Do not replicate ALTER PARTITION queries in single-shard ReplicatedMergeTree
Do not replicateALTER PARTITIONqueries and mutations throughReplicateddatabase if it has only one shard and the underlying table isReplicatedMergeTree. #51049 (Alexander Tokmakov).
Why it matters
This feature optimizes the behavior ofReplicated databases by avoiding unnecessary replication of ALTER PARTITION commands and mutations when there is only one shard. It reduces overhead and improves efficiency by eliminating redundant replication operations that do not provide any benefit in a single-shard setup.How to use it
No specific user action is required. The change automatically applies toReplicated databases with only one shard and underlying tables of type ReplicatedMergeTree, preventing replication of relevant ALTER PARTITION queries and mutations.