Enable sync backup
- Current config only has async-backup configured.
Which implies that there is a window of time, where
write has succeed, but ONOS instance failure will lead to
data loss.
This patch changes the backup strategy from async to sync.
Change-Id: Ia754d23ff52d27fb9a2e478222eb918e3fc0e456
diff --git a/conf/template/hazelcast.xml.template b/conf/template/hazelcast.xml.template
index 18ce863..6e511ef 100644
--- a/conf/template/hazelcast.xml.template
+++ b/conf/template/hazelcast.xml.template
@@ -49,16 +49,16 @@
<!--
Number of sync-backups. If 1 is set as the backup-count for example,
then all entries of the map will be copied to another JVM for
- ail-safety. Valid numbers are 0 (no backup), 1, 2, 3.
+ fail-safety. Valid numbers are 0 (no backup), 1, 2, 3.
-->
- <backup-count>0</backup-count>
+ <backup-count>3</backup-count>
<!--
Number of async-backups. If 1 is set as the backup-count for example,
then all entries of the map will be copied to another JVM for
fail-safety. Valid numbers are 0 (no backup), 1, 2, 3.
-->
- <async-backup-count>3</async-backup-count>
+ <async-backup-count>0</async-backup-count>
<!--
Can we read the local backup entries? Default value is false for