From 58e85a6f7c26366affdc65477b817826bedfe6a7 Mon Sep 17 00:00:00 2001 From: Tomas Cere Date: Mon, 22 Nov 2021 11:32:48 +0100 Subject: [PATCH 1/1] 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 --- .../src/main/resources/initial/factory-akka.conf | 7 +++++++ 1 file changed, 7 insertions(+) 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 { -- 2.36.6