-
Under my understanding, in ReplicatedMergeTree, insert operation will write log in ZK "/log", other replica pull log, execute task and sync date. My question is if one replica is unavailable(machine is down or clickhouse instance is down), this replica cannot pull log and sync data. How long the operation log will keep in ZK? Is there valid period? I want to know what clickhouse will do if one replica is down for a very long time. Appreciate for any answer or discussion, thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's controlled by the following settings:
Active replicas will mark staled replica as lost. When lost replica becomes available it clones state (parts set, replication queue, replication log pointer, columns metadata) of some alive replica. |
Beta Was this translation helpful? Give feedback.
It's controlled by the following settings: