CDS: Implement front-end support for local transactions
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / akka.conf
index e72f4b2675eb886226ad660204fe706513937094..a4d554c2bfba99751fbc58c7bbb963c6e03c8602 100644 (file)
@@ -17,10 +17,12 @@ odl-cluster-data {
       serializers {
         java = "akka.serialization.JavaSerializer"
         proto = "akka.remote.serialization.ProtobufSerializer"
+        readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
       }
 
       serialization-bindings {
         "com.google.protobuf.Message" = proto
+        "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
       }
 
       default-dispatcher {
@@ -56,6 +58,16 @@ odl-cluster-data {
       ]
 
     }
+
+    persistence {
+      # By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
+      # modifying the following two properties. The directory location specified may be a relative or absolute path. 
+      # The relative path is always relative to KARAF_HOME.
+
+      # snapshot-store.local.dir = "target/snapshots"
+      # journal.leveldb.dir = "target/journal"
+
+    }
   }
 }