Skip to content

Commit ec3801a

Browse files
committed
CrateDB 3.x: Tune down content, as we are three versions ahead
1 parent d5c0957 commit ec3801a

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

docs/admin/clustering/multi-node-setup.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,6 @@ You must configure every node with a list of seed nodes. Each node
188188
discovers the rest of the cluster via the seed nodes.
189189
:::
190190

191-
:::{TIP}
192-
If you are using CrateDB 3.x or below, you can use the
193-
[discovery.zen.ping.unicast.hosts] setting instead of
194-
{ref}`crate-reference:discovery.seed_hosts`.
195-
:::
196191

197192
(unicast-discovery)=
198193

@@ -294,11 +289,6 @@ CrateDB requires a [quorum] of nodes before a master can be elected. A quorum
294289
ensures that the cluster does not elect multiple masters in the event of a
295290
network partition (also known as a [split-brain] scenario).
296291

297-
CrateDB (versions 4.x and above) will automatically determine the ideal [quorum
298-
size][quorum size], but if you are using CrateDB versions 3.x and below, you must manually set
299-
the quorum size using the [discovery.zen.minimum_master_nodes] setting. For
300-
a three-node cluster, you must declare all nodes to be master-eligible.
301-
302292
(metadata-gateway)=
303293

304294
#### Metadata gateway
@@ -432,6 +422,17 @@ transport.publish_port: 4321
432422
{ref}`More information about port settings <crate-reference:conf_ports>`
433423
:::
434424

425+
## CrateDB 3.x
426+
427+
CrateDB (versions 4.x and above) will automatically determine the ideal [quorum
428+
size][quorum size], but if you are using CrateDB versions 3.x and below, you
429+
must manually set the quorum size using the [discovery.zen.minimum_master_nodes]
430+
setting. For a three-node cluster, you must declare all nodes to be master-eligible.
431+
432+
If you are using CrateDB 3.x or below, to configure every node with a list of
433+
seed nodes, you can use the [discovery.zen.ping.unicast.hosts] setting instead
434+
of {ref}`crate-reference:discovery.seed_hosts`.
435+
435436

436437
[127.0.0.1:4200]: http://127.0.0.1:4200/
437438
[127.0.0.1:4201]: http://127.0.0.1:4201/

docs/admin/clustering/scale/kubernetes.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ versions 4.x and above. Please refer to the current documentation section
126126
about {ref}`crate-reference:conf_discovery`.
127127
:::
128128

129+
::::{dropdown} Details about `discovery.zen.minimum_master_nodes` on CrateDB 3.x
129130
The [discovery.zen.minimum_master_nodes] setting affects {ref}`metadata
130131
master <crate-reference:concept-clusters>` election with previous versions
131132
of CrateDB.
@@ -142,8 +143,8 @@ reconfiguration by altering the `discovery.zen.minimum_master_nodes` command
142143
option.
143144

144145
Changes to the Kubernetes controller configuration can then be deployed using
145-
`kubectl replace` as shown in the previous subsection, [Using Version
146-
Control][using version control].
146+
`kubectl replace` as shown in the previous subsection, {ref}`using version
147+
control <scaling-kube-vc>`.
147148

148149
:::{CAUTION}
149150
If [discovery.zen.minimum_master_nodes] is set to more than the current
@@ -154,6 +155,8 @@ Accordingly, it is important to adjust this number carefully when
154155
scaling CrateDB.
155156
:::
156157

158+
::::
159+
157160
(scaling-kube-recovery)=
158161

159162
### Recovery behavior
@@ -175,8 +178,8 @@ reconfiguration by altering the `EXPECTED_NODES` environment variable and the
175178
`recover_after_data_nodes` command option.
176179

177180
Changes to the Kubernetes controller configuration can then be deployed using
178-
`kubectl replace` as shown in the previous subsection, [Using Version
179-
Control][using version control].
181+
`kubectl replace` as shown in the previous subsection, {ref}`using version
182+
control <scaling-kube-vc>`.
180183

181184
:::{NOTE}
182185
You can scale a CrateDB cluster without updating these values, but the

0 commit comments

Comments
 (0)