Hi,
We have been using akka clustering with two seed nodes and we are seeing
the behavior where both of nodes are becoming leader and processing at the
same time with just few milliseconds time difference.
If you stop one of them and then restart then things seem to be working
normal. However after x number of days it goes into this state again where
in in both seeds act up as leaders. I have no clue as of now about this
behavior.
Has any body encountered such issues with akka 2.2.x version? Any help
would be appreciated.
Thanks
Sowrabha
We are using the below akka library
"com.typesafe.akka" %% "akka-agent" % "2.2.0",
"com.typesafe.akka" %% "akka-remote" % "2.2.0",
"com.typesafe.akka" %% "akka-cluster" % "2.2.0",
"com.typesafe.akka" %% "akka-contrib" % "2.2.0"
Below is a cluster configuration properties on each of the seed hostnames
ClusterSystem.akka {
actor {
provider = "akka.cluster.ClusterActorRefProvider"
}
loglevel = "INFO"
remote {
log-remote-lifecycle-events = off
netty.tcp {
hostname = "hostname1"
port = 2551
}
}
cluster {
seed-nodes = [
"akka.tcp://ClusterSystem@hostname1:2551"
"akka.tcp://ClusterSystem@hostname2:2551"
]
auto-down = on
}
}
ClusterSystem.akka {
actor {
provider = "akka.cluster.ClusterActorRefProvider"
}
loglevel = "INFO"
remote {
log-remote-lifecycle-events = off
netty.tcp {
hostname = "hostname2"
port = 2551
}
}
cluster {
seed-nodes = [
"akka.tcp://ClusterSystem@hostname1:2551"
"akka.tcp://ClusterSystem@hostname2:2551"
]
auto-down = on
}
}
--
>>>>>>>>>> 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.