Enhancing intent-perf logging
Fixing defect in distributed app mgmt
Reducing DB manager heartbeat aggressiveness
Change-Id: I9ba948a2b2166625c56566502143c0d27f9a2c44
diff --git a/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/DatabaseManager.java b/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/DatabaseManager.java
index 2df9b4c..1a2758b 100644
--- a/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/DatabaseManager.java
+++ b/core/store/dist/src/main/java/org/onosproject/store/consistent/impl/DatabaseManager.java
@@ -104,8 +104,8 @@
.withReceiveBufferSize(32768)
.withSendBufferSize(8192)
.withThreads(1))
- .withElectionTimeout(300)
- .withHeartbeatInterval(150)
+ .withElectionTimeout(3000)
+ .withHeartbeatInterval(1500)
.withMembers(activeNodeUris)
.withLocalMember(localNodeUri);
@@ -114,8 +114,8 @@
partitionMap.forEach((name, nodes) -> {
Set<String> replicas = nodes.stream().map(this::nodeToUri).collect(Collectors.toSet());
DatabaseConfig partitionConfig = new DatabaseConfig()
- .withElectionTimeout(300)
- .withHeartbeatInterval(150)
+ .withElectionTimeout(3000)
+ .withHeartbeatInterval(1500)
.withConsistency(Consistency.STRONG)
.withLog(new FileLog()
.withDirectory(logDir)