v.19.5Improvement

Add Ability to Start Replicated Table Without Metadata in Zookeeper in Readonly Mode

Add ability to start replicated table without metadata in zookeeper in readonly mode. #4691 (alesapin)
Added the ability to start a replicated table in ClickHouse without existing metadata in ZooKeeper by enabling a readonly mode.

Why it matters

This feature addresses the issue of starting replicated tables when metadata is missing from ZooKeeper. It allows tables to be started in a read-only state, preventing failures and enabling safer recovery or inspection scenarios without requiring full metadata availability.

How to use it

To use this feature, start the replicated table with the readonly mode enabled. This can typically be done by configuring the replicated table setup to use the new readonly option, which allows the table to operate without pre-existing metadata in ZooKeeper.