Use all heartbeats in failure detector, see #2182

* Failure detector didn't use hearbeat 1 and 2
* Included heartbeat 2 in ordinary stats
* For heartbeat 1 use guess stats,
  important so that connections with only one heartbeat
  becomes unavailble, the guess corresponds to 1 second interval
  which results in phi > 8 after 18 seconds
* Improved AccrualFailureDetectorSpec
This commit is contained in:
Patrik Nordwall 2012-06-08 13:44:40 +02:00
parent c7af802dc8
commit dcae863f7f
5 changed files with 78 additions and 74 deletions

View file

@ -13,7 +13,7 @@ object NodeShutdownMultiJvmSpec extends MultiNodeConfig {
val first = role("first")
val second = role("second")
commonConfig(debugConfig(on = true).
commonConfig(debugConfig(on = false).
withFallback(ConfigFactory.parseString("""
akka.cluster {
auto-down = on