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:
parent
c7af802dc8
commit
dcae863f7f
5 changed files with 78 additions and 74 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue