Switch default persistence to segmented-journal
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / factory-akka.conf
index e2ec0fc..464645b 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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.