commit | f840886b0953976299fc475bf8f9e5530c2d6aeb | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Tue Jul 07 13:47:05 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Jul 07 21:13:40 2015 +0000 |
tree | 1efd895f0e75f330882060ec75fbd37e8677a4fb | |
parent | 96495ca39dd4ac86f0962e3c8996ed5df00bba4b [diff] |
ONOS-2318: Use DEFAULT consistency mode for Raft queries. Change-Id: I843df946424f832a22466bb297766c804369599a
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 37cc540..9cb0365 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
@@ -321,7 +321,7 @@ .withName(name) .withElectionTimeout(electionTimeoutMillis(replicas)) .withHeartbeatInterval(heartbeatTimeoutMillis(replicas)) - .withConsistency(Consistency.STRONG) + .withConsistency(Consistency.DEFAULT) .withLog(log) .withDefaultSerializer(new DatabaseSerializer()) .withReplicas(replicas);