Skip to content

Commit 918de6f

Browse files
authored
Merge pull request #177 from realyota/mbak_kb_changes
Changes to clickhouse-keeper.md: add embedded keeper section
2 parents 20bf5f7 + 02a1cf5 commit 918de6f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

content/en/altinity-kb-setup-and-maintenance/altinity-kb-zookeeper/clickhouse-keeper.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,14 @@ Increasing the number of nodes offers no significant advantages (unless you need
7272

7373
In clickhouse-keeper-client, paths are now parsed more strictly and must be passed as string literals. In practice, this means using single quotes around paths—for example, `ls '/'` instead of `ls /`, and `get '/clickhouse/path'` instead of `get /clickhouse/path`.
7474

75+
## Embedded Keeper
76+
77+
To use the embedded ClickHouse Keeper, add the `<keeper_server>` section to the ClickHouse server configuration. In this setup, a separate client-side `<keeper>` section is not required. If your ClickHouse servers use an external ClickHouse Keeper or ZooKeeper ensemble instead, see the section below.
78+
7579
## Example of a simple cluster
7680

7781
The Keeper ensemble size must be odd because it requires a majority (50% + 1 nodes) to form a quorum. A 2-node Keeper setup will lose quorum after a single node failure, so the recommended number of Keeper replicas is 3.
7882

79-
On `hostname1` and `hostname2` below, ClickHouse can use the embedded Keeper cluster from `<keeper_server>`, so a separate client-side `<keeper>` section is not required. If your ClickHouse servers connect to an external Keeper or ZooKeeper ensemble, see [ClickHouse config for Keeper].
80-
8183
### hostname1
8284

8385
```xml

0 commit comments

Comments
 (0)