Separate out RaftEntryMeta
[controller.git] / opendaylight / md-sal / sal-clustering-config / src / main / resources / initial / factory-akka.conf
index fb0afde4868fcf8ead803883b72c6ff0e63ea2f7..9834e08ea89b8776d0521fd3db15ebd210d0e6ad 100644 (file)
@@ -106,8 +106,8 @@ odl-cluster-data {
         transport = tcp
 
         advanced {
-          maximum-frame-size = 400 MiB
-          #maximum-large-frame-size = 2 MiB
+          maximum-frame-size = 512 KiB
+          maximum-large-frame-size = 2 MiB
         }
       }
     }
@@ -126,6 +126,25 @@ odl-cluster-data {
       use-dispatcher = cluster-dispatcher
 
       failure-detector.acceptable-heartbeat-pause = 3 s
+
+      distributed-data {
+        # How often the Replicator should send out gossip information.
+        # This value controls how quickly Entity Ownership Service data is replicated
+        # across cluster nodes.
+        gossip-interval = 100 ms
+
+        # How often the subscribers will be notified of changes, if any.
+        # This value controls how quickly Entity Ownership Service decisions are
+        # propagated within a node.
+        notify-subscribers-interval = 20 ms
+      }
+
+      downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider"
+
+      split-brain-resolver {
+        active-strategy = keep-majority
+        stable-after = 7s
+      }
     }
 
     persistence {
@@ -144,9 +163,12 @@ odl-cluster-data {
           max-entry-size = 16M
           # Maximum size of a segment
           max-segment-size = 128M
-          # Map each segment into memory. Note that while this can improve performance,
-          # it will also place additional burden on system resources.
-          memory-mapped = false
+          # Maximum number of bytes that are written without synchronizing storage. Defaults to max-entry-size.
+          # Set to <= 0 to flush immediately.
+          #max-unflushed-bytes = 1M
+          # Map each segment into memory. Defaults to true, use false to keep a heap-based
+          # buffer instead.
+          memory-mapped = true
         }
       }
 
@@ -162,6 +184,9 @@ odl-cluster-data {
           max-entry-size = 512K
           # Maximum size of a segment
           max-segment-size = 1M
+          # Maximum number of bytes that are written without synchronizing storage. Defaults to max-entry-size.
+          # Set to <= 0 to flush immediately.
+          #max-unflushed-bytes = 128K
           # Map each segment into memory. Note that while this can improve performance,
           # it will also place additional burden on system resources.
           memory-mapped = false