v.22.9Improvement
ReplicatedMergeTree Tables Read-Only Until ZooKeeper Connection Established
During startup and ATTACH call, ReplicatedMergeTree tables will be readonly until the ZooKeeper connection is made and the setup is finished. #40148 (Antonio Andelic).Why it matters
This feature ensures thatReplicatedMergeTree tables do not accept writes before the ZooKeeper connection is ready and the replication setup is finished, preventing potential inconsistency or data corruption during the initialization phase.How to use it
No explicit user action is needed. During the startup process or when using theATTACH command for ReplicatedMergeTree tables, the tables will be automatically readonly until the required ZooKeeper connection is established and setup is complete.