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

Cluster fail to form after all nodes are restarted #19

Open
vasily-kirichenko opened this issue Jan 25, 2018 · 1 comment
Open

Cluster fail to form after all nodes are restarted #19

vasily-kirichenko opened this issue Jan 25, 2018 · 1 comment

Comments

@vasily-kirichenko
Copy link
Contributor

  • There is cluster of two nodes, both have port = 0.
  • Run them, everything is OK:
    image
  • Restart both nodes
    image

They are trying to connect to two nodes, one or two of which are old, dead ones:

Node 1:

[WARNING][25.01.2018 9:59:03][Thread 0008][[akka://test/system/cluster/core/daemon/joinSeedNodeProcess-1#1727576353]] Couldn't join seed nodes after [27] attempts, will try again. seed-nodes=[akka.tcp://test@kirichenko-xp:55403,akka.tcp://test@kirichenko-xp:55408,akka.tcp://test@kirichenko-xp:55708]

Node 2

[WARNING][25.01.2018 9:59:30][Thread 0006][[akka://test/system/cluster/core/daemon/joinSeedNodeProcess-1#670706284]] Couldn't join seed nodes after [33] attempts, will try again. seed-nodes=[akka.tcp://test@kirichenko-xp:55403,ak
ka.tcp://test@kirichenko-xp:55408]

This is happening despite the old nodes are successfully removed from Consul:
image

@vasily-kirichenko
Copy link
Contributor Author

The only way to form the cluster again is to wait until all nodes disappear from Consul and start them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant