commit | 4ce65e8f8eb9b9c14cf7dbbec50ce31a3c0ec352 | [log] [tgz] |
---|---|---|
author | Jordan Halterman <jordan@opennetworking.org> | Thu Feb 15 18:09:38 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Fri Feb 16 17:36:54 2018 +0000 |
tree | e4e08b85f93094b4814056fc38012265c0f73139 | |
parent | 2d1b590ba36c2b6183ef3a895a25f4c26f36036c [diff] |
Upgrade to Atomix 2.0.18 Change-Id: I433e8b85d5aad007531c24495dd8298aeef9f79e
diff --git a/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/StoragePartitionServer.java b/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/StoragePartitionServer.java index 1b201cd..eb48f66 100644 --- a/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/StoragePartitionServer.java +++ b/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/StoragePartitionServer.java
@@ -206,8 +206,8 @@ .withElectionThreshold(ELECTION_THRESHOLD) .withStorage(RaftStorage.newBuilder() .withPrefix(String.format("partition-%s", partition.getId())) - .withStorageLevel(StorageLevel.DISK) - .withFlushOnCommit() + .withStorageLevel(StorageLevel.MAPPED) + .withFlushOnCommit(false) .withSerializer(new AtomixSerializerAdapter(Serializer.using(StorageNamespaces.RAFT_STORAGE))) .withDirectory(partition.getDataFolder()) .withMaxSegmentSize(MAX_SEGMENT_SIZE)