X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fresources%2Fapplication.conf;h=72d00a4cdd340cfccd1169e2f2f0db1018369f9f;hb=eee6aa43c9b24a24e3b9f6e7c5f21d61afc15b9f;hp=5e61f4defca9727417cc186a940fda4ea0f18fdf;hpb=51bf6c7493843ad23f074930b56925162732a8b2;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/application.conf b/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/application.conf index 5e61f4defc..72d00a4cdd 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/application.conf +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/resources/application.conf @@ -1,10 +1,14 @@ akka { persistence.snapshot-store.plugin = "in-memory-snapshot-store" persistence.journal.plugin = "in-memory-journal" + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"] actor { + warn-about-java-serializer-usage = false } } @@ -25,7 +29,7 @@ bounded-mailbox { mailbox-push-timeout-time = 100ms } -test { +test-config { bounded-mailbox { mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox" mailbox-capacity = 1000 @@ -51,6 +55,9 @@ test { persistence.snapshot-store.plugin = "in-memory-snapshot-store" persistence.journal.plugin = "in-memory-journal" + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } loglevel = "INFO" actor { @@ -63,6 +70,8 @@ test { serialization-bindings { "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal } + + warn-about-java-serializer-usage = false } remote { log-remote-lifecycle-events = off @@ -115,6 +124,10 @@ Member1 { persistence.snapshot-store.plugin = "in-memory-snapshot-store" persistence.journal.plugin = "in-memory-journal" + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } + loglevel = "INFO" actor { @@ -127,6 +140,8 @@ Member1 { serialization-bindings { "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal } + + warn-about-java-serializer-usage = false } remote { log-remote-lifecycle-events = off @@ -178,6 +193,10 @@ Member2 { persistence.snapshot-store.plugin = "in-memory-snapshot-store" persistence.journal.plugin = "in-memory-journal" + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } + actor { provider = "akka.cluster.ClusterActorRefProvider" @@ -188,6 +207,8 @@ Member2 { serialization-bindings { "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal } + + warn-about-java-serializer-usage = false } remote { log-remote-lifecycle-events = off @@ -239,6 +260,10 @@ Member3 { persistence.snapshot-store.plugin = "in-memory-snapshot-store" persistence.journal.plugin = "in-memory-journal" + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } + loglevel = "INFO" actor { @@ -251,6 +276,8 @@ Member3 { serialization-bindings { "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal } + + warn-about-java-serializer-usage = false } remote { log-remote-lifecycle-events = off @@ -302,6 +329,10 @@ Member4 { persistence.snapshot-store.plugin = "in-memory-snapshot-store" persistence.journal.plugin = "in-memory-journal" + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } + loglevel = "INFO" actor { @@ -314,6 +345,8 @@ Member4 { serialization-bindings { "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal } + + warn-about-java-serializer-usage = false } remote { log-remote-lifecycle-events = off @@ -365,6 +398,10 @@ Member5 { persistence.snapshot-store.plugin = "in-memory-snapshot-store" persistence.journal.plugin = "in-memory-journal" + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } + loglevel = "INFO" actor { @@ -377,6 +414,8 @@ Member5 { serialization-bindings { "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal } + + warn-about-java-serializer-usage = false } remote { log-remote-lifecycle-events = off @@ -402,6 +441,75 @@ Member5 { } } +Member256 { + bounded-mailbox { + mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox" + mailbox-capacity = 1000 + mailbox-push-timeout-time = 100ms + } + + in-memory-journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } + + in-memory-snapshot-store { + class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore" + plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher" + } + + shard-dispatcher { + type = Dispatcher + executor = "default-executor" + mailbox-type = "org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox" + } + + akka { + persistence.snapshot-store.plugin = "in-memory-snapshot-store" + persistence.journal.plugin = "in-memory-journal" + + persistence.non-persistent.journal { + class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal" + } + + loglevel = "INFO" + + actor { + provider = "akka.cluster.ClusterActorRefProvider" + + serializers { + readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer" + } + + serialization-bindings { + "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal + } + + warn-about-java-serializer-usage = false + } + remote { + log-remote-lifecycle-events = off + artery { + enabled = on + canonical.hostname = "127.0.0.1" + canonical.port = 2562 + } + + netty.tcp { + hostname = "127.0.0.1" + port = 2562 + } + } + + cluster { + retry-unsuccessful-join-after = 100ms + + roles = [ + "member-256" + ] + } + } +} + Member1-without-artery { akka.remote.artery.enabled = off }