commit | 3721041e2a61766b50fee0cbddf7f4981cd40793 | [log] [tgz] |
---|---|---|
author | Aaron Kruglikov <aaron@onlab.us> | Tue Dec 06 12:55:57 2016 -0800 |
committer | Thomas Vachuska <tom@onlab.us> | Wed Dec 14 21:24:15 2016 +0000 |
tree | ff5400a73011bad4fcebe96694509afde6d43a1b | |
parent | 9ac312534520a0d8be09907cd0334652c1532f0b [diff] [blame] |
Stopping map conflicts with persistent EC maps. Change-Id: I30f132cbf1a330780fe09ef10e607e7ddab2fec0
diff --git a/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/EventuallyConsistentMapImpl.java b/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/EventuallyConsistentMapImpl.java index bba165f..7964187 100644 --- a/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/EventuallyConsistentMapImpl.java +++ b/core/store/primitives/src/main/java/org/onosproject/store/primitives/impl/EventuallyConsistentMapImpl.java
@@ -125,9 +125,6 @@ private final boolean persistent; - private static final String PERSISTENT_LOCAL_MAP_NAME = "itemsMap"; - - /** * Creates a new eventually consistent map shared amongst multiple instances. * <p> @@ -178,7 +175,7 @@ persistent; if (persistent) { items = this.persistenceService.<K, MapValue<V>>persistentMapBuilder() - .withName(PERSISTENT_LOCAL_MAP_NAME) + .withName(mapName) .withSerializer(this.serializer) .build(); } else {