Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a SeedNode is restarted it creates a new cluster instead of joining the old one #4

Closed
kKdH opened this issue Jun 8, 2018 · 2 comments
Labels
bug keyscore-frontier Issue affects/is related to the keyscore-frontier
Milestone

Comments

@kKdH
Copy link
Contributor

kKdH commented Jun 8, 2018

Possible solution taken from https://groups.google.com/forum/#!topic/akka-user/z0y1kvcY97I:

One way is that in your seed node subscribe to cluster membership changes and write the current set of nodes to a file. When you restart the seed node you construct the list of seed nodes from the file, and include your own address as the first element in the seed-nodes list. Then it will first try to join the other nodes, before joining itself.

@kKdH kKdH added bug keyscore-frontier Issue affects/is related to the keyscore-frontier labels Jun 8, 2018
@kKdH kKdH added this to the 0.2.0 milestone Jun 8, 2018
kKdH added a commit that referenced this issue Jun 8, 2018
@kKdH kKdH changed the title When the SeedNode is restarted it creates a new cluster instead of joinging the old one When the SeedNode is restarted it creates a new cluster instead of joining the old one Jun 8, 2018
kKdH added a commit that referenced this issue Jun 8, 2018
@kKdH kKdH changed the title When the SeedNode is restarted it creates a new cluster instead of joining the old one When a SeedNode is restarted it creates a new cluster instead of joining the old one Jun 15, 2018
@mlandth
Copy link
Contributor

mlandth commented Aug 27, 2018

The commits a2ca107 and b053250 are solving this problem, if a second seed node - e.g. a 'sleeping' Frontier - is running.

@kKdH
Copy link
Contributor Author

kKdH commented Aug 28, 2018

Created a successor #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug keyscore-frontier Issue affects/is related to the keyscore-frontier
Projects
None yet
Development

No branches or pull requests

2 participants