v.25.8Improvement

Add database_replicated

Add database_replicated settings defining the default values of DatabaseReplicatedSettings. If the setting is not present in the Replicated DB create query, the value from this setting is used. #85127 (Tuan Pham Anh).
Introduces database_replicated settings to define default values for DatabaseReplicatedSettings in replicated databases.

Why it matters

This feature addresses the need to manage default configuration values for replicated databases more conveniently. When a replicated database creation query does not explicitly specify certain DatabaseReplicatedSettings, the system now applies the defaults from the database_replicated settings, ensuring consistent and simplified replication setup.

How to use it

To use this feature, configure the database_replicated settings in the ClickHouse server configuration or session settings with the desired default values. When creating a replicated database with CREATE DATABASE and not specifying particular DatabaseReplicatedSettings, these defaults will automatically be applied.