Skip to content

Commit 612a879

Browse files
committed
docs: fix imprecise wording about endpoint ordering
Endpoints are shuffled during discovery, not tried sequentially.
1 parent 4996e3a commit 612a879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ KurrentDB uses connection strings to configure the client connection. The connec
3838
- **`kurrentdb://`** - for connecting to a single node, or to a multi-node cluster using multiple gossip seed endpoints
3939
- **`kurrentdb+discover://`** - for connecting using DNS discovery with a single DNS endpoint
4040

41-
When using `kurrentdb://` with multiple endpoints separated by commas, the client will query each node's Gossip API to get cluster information, then picks a node based on the URI's node preference. If one of the nodes is down, the client will try the next endpoint.
41+
When using `kurrentdb://` with multiple endpoints separated by commas, the client will query each node's Gossip API to get cluster information, then picks a node based on the URI's node preference. If one of the nodes is down, the client will try another endpoint.
4242

4343
With `kurrentdb+discover://`, the client resolves a single DNS endpoint to discover the cluster topology. This is useful when you have a DNS `A` record pointing to your cluster nodes.
4444

@@ -57,7 +57,7 @@ For multi-node clusters where you know the individual node addresses, use multip
5757
kurrentdb://admin:changeit@node1.dns.name:2113,node2.dns.name:2113,node3.dns.name:2113
5858
```
5959

60-
The client will try each endpoint in turn and use the Gossip API to discover the cluster topology and select the best node based on the configured node preference.
60+
The client will use the Gossip API to discover the cluster topology and select the best node based on the configured node preference.
6161

6262
For cluster connections using DNS discovery, use a single DNS endpoint:
6363

0 commit comments

Comments
 (0)