BUG 3973: Add config option for Java-only leveldb
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / akka.conf
index 5a6dbe587984c5310e141c79bea8d1e08f457b87..d06fa017f97db03476d5490092e0d4026281a6b9 100644 (file)
@@ -52,7 +52,7 @@ odl-cluster-data {
     cluster {
       seed-nodes = ["akka.tcp://opendaylight-cluster-data@127.0.0.1:2550"]
 
-      auto-down-unreachable-after = 300s
+      auto-down-unreachable-after = 30s
 
       roles = [
         "member-1"
@@ -68,6 +68,14 @@ odl-cluster-data {
       # snapshot-store.local.dir = "target/snapshots"
       # journal.leveldb.dir = "target/journal"
 
+      journal {
+        leveldb {
+          # Set native = off to use a Java-only implementation of leveldb.
+          # Note that the Java-only version is not currently considered by Akka to be production quality.
+
+          # native = off
+        }
+      }
     }
   }
 }