Skip to content

Commit a132d3c

Browse files
Clarify in settings description that NodePriority isn't a guarantee of the election outcome (#5245) (#5288)
1 parent 354bb72 commit a132d3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/server/configuration/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ The replica node needs to have the cluster gossip DNS or seed configured. For th
216216

217217
### Node priority
218218

219-
You can control which clones the cluster promotes with the `NodePriority` setting. The default value is `0`, and the cluster is more likely to promote nodes with higher values.
219+
You can influence which clones the cluster promotes with the `NodePriority` setting. The default value is `0`, and the cluster is more likely to promote nodes with higher values.
220220

221221
| Format | Syntax |
222222
|:---------------------|:--------------------------|

src/EventStore.Core/Configuration/ClusterVNodeOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public record ClusterOptions {
286286
[Description("The number of nodes in the cluster.")]
287287
public int ClusterSize { get; init; } = 1;
288288

289-
[Description("The node priority used during leader election.")]
289+
[Description("The node priority used during leader election. This is a hint to the election algorithm but does not guarantee the outcome of the election.")]
290290
public int NodePriority { get; init; } = 0;
291291

292292
[Description("Whether to use DNS lookup to discover other cluster nodes.")]

0 commit comments

Comments
 (0)