Hi!
I am rocking a 3 node cluster of akka cluster 2.3.13
My cluster is set up like:
cluster {
min-nr-of-members = 2
seed-nodes = [
"akka.tcp://System1@ip1:9010",
"akka.tcp://System1@ip2:9010",
"akka.tcp://System1@ip3:9010"]
auto-down-unreachable-after = off
failure-detector {
threshold = 16.0
acceptable-heartbeat-pause = 10 s
expected-response-after = 12 s
}
I use the cluster singleton to split up work. 1 guy becomes the master, and
the other 2 become workers.
Cool, 75% of the time it works. 25% of the time - it fails on startup. For
some reason the nodes form 2 small clusters, one with 2 nodes, and one with
only 1 node.
My deployment procedure is:
1) Kill -9 all nodes
2) Wait 5 seconds
3) Start all 3 nodes one after another (few ms lag between them).
I would think the min-nr-of-members would prevent the little 1 node cluster
from forming... but not so much. What do I have to do to stop forming 2
clusters? Only list 1 node as the seed node, and start it first? Or is
there another trick? The docs seem to imply
It is quickest to start all configured seed nodes at the same time (order
doesn't matter), otherwise it can take up to the configured
seed-node-timeout until the nodes can join.
which seems like I am doing the right thing...
Thanks!
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.