We do not use akka's sharding so those settings you refer to are not
relevant. By default we snapshot after every 20K transactions which is
controlled by the shard-snapshot-batch-count in
etc/org.opendaylight.controller.cluster.datastore.cfg.

On Thu, Mar 2, 2017 at 4:28 AM, Esther Terrero <esther.terr...@ericsson.com>
wrote:

> Hi all,
>
>
>
> I have one question that I hope you can help me with about the generation
> of snapshots.
>
>
>
> On Akka persistence documentation I see the following:
>
>
> http://doc.akka.io/docs/akka/current/scala/cluster-sharding.html
>
>   # Parameter which determines how the coordinator will be store a state
>   # valid values either "persistence" or "ddata"
>   # The "ddata" mode is experimental, since it depends on the experimental
>   # module akka-distributed-data-experimental.
>   state-store-mode = "persistence"
>
>   # The shard saves persistent snapshots after this number of persistent
>   # events. Snapshots are used to reduce recovery times.
>   snapshot-after = 1000
>
> So after 1000 events the shard generates an snapshot, but later when I
> list the available snapshots I see that they are generated for the config
> and the operational datastores.
>
> -rw-r--r-- 1 root root 136 Feb 24 13:16 snapshot-datastore-config-0-
> 1487938596578
>
> -rw-r--r-- 1 root root 141 Feb 24 13:17 snapshot-datastore-
> operational-0-1487938623019
>
>
>
> My question then is, when are config and operational snapshots generated?.
> Is there any other configurable parameter that allows controlling the
> frequency of generation of snapshots apart from the ‘snapshot-after’
> parameter?
>
>
>
> Thanks a lot in advance and best regards/
>
> Esther
>
> _______________________________________________
> controller-dev mailing list
> controller-dev@lists.opendaylight.org
> https://lists.opendaylight.org/mailman/listinfo/controller-dev
>
>
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to