From: Tomas Cere Date: Mon, 22 Nov 2021 10:32:48 +0000 (+0100) Subject: Enable Split-Brain Resolver X-Git-Tag: v5.0.0~20 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=58e85a6f7c26366affdc65477b817826bedfe6a7;hp=f8d8f8cdd36dd6fd8d7a11a314af61c46ee163e6 Enable Split-Brain Resolver In order to make EOS service work, we need to have a provider handling dead nodes. Enable SBR to fill that role, so that we properly recover from nodes going away. JIRA: CONTROLLER-2025 Change-Id: Idf817455bfe2a90d6e02011eee4ed407e1254fd2 Signed-off-by: Tomas Cere Signed-off-by: Robert Varga --- 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 03e741a73a..8f9b5041ee 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 @@ -138,6 +138,13 @@ odl-cluster-data { # propagated within a node. notify-subscribers-interval = 20 ms } + + downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider" + + split-brain-resolver { + active-strategy = keep-majority + stable-after = 7s + } } persistence {