v.22.3Experimental Feature
Add database_replicated_allow_only_replicated_engine setting for Replicated databases
Adddatabase_replicated_allow_only_replicated_enginesetting. When enabled, it only allowed to only createReplicatedtables or tables with stateless engines inReplicateddatabases. #35214 (Nikolai Kochetov). Note thatReplicateddatabase is still an experimental feature.
Why it matters
This setting ensures consistency and proper usage ofReplicated databases by preventing users from creating non-replicated tables, which could lead to replication issues or misconfigurations. It enforces best practices for managing replicated data and improves data reliability within these experimental database types.How to use it
Enable thedatabase_replicated_allow_only_replicated_engine setting in your ClickHouse server configuration or session to restrict table creation inside Replicated databases. Once enabled, attempting to create non-replicated tables in such databases will be disallowed.