Committed by
Gerrit Code Review
ONOS-2318: Use DEFAULT consistency mode for Raft queries.
Change-Id: I843df946424f832a22466bb297766c804369599a
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -321,7 +321,7 @@ public class DatabaseManager implements StorageService, StorageAdminService { | ... | @@ -321,7 +321,7 @@ public class DatabaseManager implements StorageService, StorageAdminService { |
321 | .withName(name) | 321 | .withName(name) |
322 | .withElectionTimeout(electionTimeoutMillis(replicas)) | 322 | .withElectionTimeout(electionTimeoutMillis(replicas)) |
323 | .withHeartbeatInterval(heartbeatTimeoutMillis(replicas)) | 323 | .withHeartbeatInterval(heartbeatTimeoutMillis(replicas)) |
324 | - .withConsistency(Consistency.STRONG) | 324 | + .withConsistency(Consistency.DEFAULT) |
325 | .withLog(log) | 325 | .withLog(log) |
326 | .withDefaultSerializer(new DatabaseSerializer()) | 326 | .withDefaultSerializer(new DatabaseSerializer()) |
327 | .withReplicas(replicas); | 327 | .withReplicas(replicas); | ... | ... |
-
Please register or login to post a comment