From: Tomas Cere Date: Fri, 12 May 2017 09:59:55 +0000 (+0200) Subject: BUG 8318: Add a separate dispatcher for cluster actors X-Git-Tag: release/nitrogen~270 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=refs%2Fchanges%2F38%2F56938%2F2 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 --- 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