Skip to content

Conversation

AlexicaWright
Copy link
Contributor

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.

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.
@neo-technology-commit-status-publisher
Copy link
Collaborator

Looks like you've updated the documentation!

Check out your changes at https://neo4j-docs-operations-910.surge.sh

@AlexicaWright AlexicaWright merged commit d9310c2 into neo4j:5.x Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants