Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add direct in-memory journal threshold
[controller.git]
/
opendaylight
/
md-sal
/
sal-clustering-config
/
src
/
main
/
resources
/
initial
/
datastore.cfg
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 7d4903e17c9b88ebd9d7986902f1389f461e872f..e65c8f7de816f60f6e65436b41bdf72896a75f91 100644
(file)
--- 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.
#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
#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
# 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