v.23.12Improvement

Do not allow creating replicated tables with inconsistent merge parameters

Do not allow creating a replicated table with inconsistent merge parameters. #56833 (Duc Canh Le).
Prevents creation of replicated tables in ClickHouse if their merge parameters are inconsistent.

Why it matters

This feature ensures data consistency and stability in replicated tables by disallowing the creation of tables whose merge tree parameters do not match across replicas. It helps avoid subtle replication issues and data divergence caused by parameter mismatches.

How to use it

Users do not need to enable this feature explicitly. When attempting to create a replicated table, ClickHouse will automatically check merge tree parameters for consistency and reject the creation if discrepancies are found.