Commit d9310c2
The section for retrieving the serverId here
https://neo4j.com/docs/operations-manual/current/clustering/databases/#cluster-designated-seeder
is not correct.
The docs use `SHOW SERVERS` which will return the name of the server, by
default it has the same name as the serverId, but in case servers were
renamed, using
```
RENAME SERVER `25a7efc7-d063-44b8-bdee-f23357f89f01` TO `primary1`
```
then it will not match anymore and trying to use `primary1` as serverId
while following the documentation will lead to the following exception
when seeding a cluster :
```
Could not create database with specified existingDataSeedInstance 'optimus-001'. Expected server uuid string.
```
This PR ensures that the correct serverId is returned when following the
documentation.
Co-authored-by: Christophe Willemsen <[email protected]>
1 parent 1f4d4c7 commit d9310c2
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments