Switch default persistence to segmented-journal
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / factory-akka.conf
index e2ec0fca9ebe74479e0a73097d29e111d5481d8d..464645b6ae3aef4f041e97fe83edcd0028739943 100644 (file)
@@ -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