From f66efc45eaceafddcc6301b1d6ccfb2263174339 Mon Sep 17 00:00:00 2001 From: Tomas Cere Date: Fri, 12 May 2017 11:59:55 +0200 Subject: [PATCH] BUG 8318: Add a separate dispatcher for cluster actors When the system is under load it seems like there can be a missed heartbeat leading to false positives for unreachable nodes. Run the actors responsible for heartbeats on a separate dispatcher to avoid this. Change-Id: Ib4f4225bf69e99d93e3c7010d6fbe1163b96a5a2 Signed-off-by: Tomas Cere --- .../src/main/resources/initial/factory-akka.conf | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-akka.conf b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-akka.conf index a9591f1a77..aa689eddf2 100644 --- a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-akka.conf +++ b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-akka.conf @@ -88,6 +88,10 @@ odl-cluster-data { #auto-down-unreachable-after = 30s allow-weakly-up-members = on + + use-dispatcher = cluster-dispatcher + + failure-detector.acceptable-heartbeat-pause = 3 s } persistence { @@ -97,4 +101,13 @@ odl-cluster-data { snapshot-store.plugin = akka.persistence.snapshot-store.local } } -} + + cluster-dispatcher { + type = "Dispatcher" + executor = "fork-join-executor" + fork-join-executor { + parallelism-min = 2 + parallelism-max = 4 + } + } +} \ No newline at end of file -- 2.36.6