ClickHouse Coordinates a Cluster-Wide Backup with ZooKeeper
A cluster-wide backup is a ZooKeeper-coordinated election: one owner per data file, a stage barrier between phases, and a consensus loop over metadata.
A cluster-wide backup is a ZooKeeper-coordinated election: one owner per data file, a stage barrier between phases, and a consensus loop over metadata.
Keeper puts a digest of its node tree inside every Raft log entry; a follower whose recomputed digest disagrees with the leader’s kills itself.
Distributed DDL is a ZooKeeper queue of sequential entries plus a per-host finished directory that the initiator lists to collect results.
Replication is a ZooKeeper log plus a content-hash deduplication check that rides along with the block-number allocation.