【发布时间】:2018-11-23 14:28:21
【问题描述】:
我想了解有关 ClickHouse 数据库中副本(即system.replicas.is_leader)领导的更多详细信息。
文档说明如下:
is_leader: Whether the replica is the leader.
Only one replica can be the leader at a time. The leader is responsible for selecting background merges to perform.
Note that writes can be performed to any replica that is available and has a session in ZK, regardless of whether it is a leader.
这对我来说似乎很模糊。 有人有关于领导者副本的更多详细信息吗?
领导副本有什么需要注意的吗?
我可以像标准副本一样读取/写入领导副本吗?
leader 选举是如何工作的?
领导层何时更换?
【问题讨论】:
标签: clickhouse