From 6321ac3879f1491c192287c8486db7e524257a41 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 11 Feb 2020 18:26:32 +0100 Subject: [PATCH 1/1] Switch default persistence to segmented-journal We want to migrate away fro leveldb persistence, this switches the default persistence being used for new deployments to our own segmented-journal plugin. JIRA: CONTROLLER-1411 Change-Id: I9db4e8115ac8f31c5c331c194de1ff08a674af97 Signed-off-by: Robert Varga --- .../src/main/resources/initial/factory-akka.conf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 e2ec0fca9e..464645b6ae 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 @@ -124,13 +124,19 @@ odl-cluster-data { persistence { journal { - plugin = akka.persistence.journal.leveldb + # This would activate the deprecated levedb persistence plugin. This plugin was used + # by default by all OpenDaylight versions, but is considered not ready for production + # use by Akka. Magnesium defaults to segmented-file journal (below) and this option will + # be removed in a future release. + # + # plugin = akka.persistence.journal.leveldb - # The following activates the alternative segmented file journal. Each persistent actor + # The following activates the default segmented file journal. Each persistent actor # is stored in a separate directory, with multiple segment files. Segments are removed # when they are not longer required. # - # plugin = akka.persistence.journal.segmented-file + plugin = akka.persistence.journal.segmented-file + segmented-file { class = "org.opendaylight.controller.akka.segjournal.SegmentedFileJournal" # Root directory for segmented journal storage -- 2.36.6