X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-config%2Fsrc%2Fmain%2Fresources%2Finitial%2Fdatastore.cfg;h=e65c8f7de816f60f6e65436b41bdf72896a75f91;hp=7d4903e17c9b88ebd9d7986902f1389f461e872f;hb=7cb260aeb0738104e3bee8a086de9e2e5f77b7e0;hpb=66e956cbf397a86f1a512396feb7cb87ea602f92 diff --git a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg index 7d4903e17c..e65c8f7de8 100644 --- a/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg +++ b/opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/datastore.cfg @@ -53,8 +53,13 @@ operational.persistent=false #shard-snapshot-batch-count=20000 # The percentage of Runtime.totalMemory() used by the in-memory journal log before a snapshot is to be taken. +# Disabled, if direct threshold is enabled. #shard-snapshot-data-threshold-percentage=12 +# The max size of in-memory journal(in MB), after reaching the limit, snapshot will be taken. Should be not less then 1. +# If set to 0, direct threshold is disabled and percentage is used instead. +#shard-snapshot-data-threshold=0 + # The interval at which the leader of the shard will check if its majority followers are active and # term itself as isolated. #shard-isolated-leader-check-interval-in-millis=5000