v.23.1Improvement
Add user setting to ban arguments for ReplicatedMergeTree tables
Add a user-level settingdatabase_replicated_allow_replicated_engine_argumentswhich allows banning the creation ofReplicatedMergeTreetables with arguments inDatabaseReplicated. #44566 (alesapin).
Why it matters
This feature addresses the need to control and prevent the creation of replicated tables with engine arguments withinDatabaseReplicated, enhancing configuration safety and preventing potential misuse or misconfiguration at the user level.How to use it
Users can enable this restriction by setting the user-level settingdatabase_replicated_allow_replicated_engine_arguments to 0 (false). This disables creating ReplicatedMergeTree tables with arguments inside DatabaseReplicated. To allow creation again, set it to 1 (true).