From: Robert Varga Date: Tue, 11 Feb 2020 17:26:32 +0000 (+0100) Subject: Switch default persistence to segmented-journal X-Git-Tag: release/magnesium-sr1~2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=8fc271e2d166f9d9abe54bc8915798d213d536bb 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 --- 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