commit | 6325dad6fc8e19d8e9249c1b5e45dffabb9f18a9 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Tue Jul 07 15:36:29 2015 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Tue Jul 07 15:36:29 2015 -0700 |
tree | 32124e80abb8bf4015aca6f62ba54ca6bfffc8b7 | |
parent | f840886b0953976299fc475bf8f9e5530c2d6aeb [diff] [blame] |
Reducing log level for peer update in IntentStore map Change-Id: I0cc93784e2ca7dbb8c743840b6427f49a715b554
diff --git a/core/store/dist/src/main/java/org/onosproject/store/ecmap/EventuallyConsistentMapImpl.java b/core/store/dist/src/main/java/org/onosproject/store/ecmap/EventuallyConsistentMapImpl.java index 23e2e5f..18cb3bc 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/ecmap/EventuallyConsistentMapImpl.java +++ b/core/store/dist/src/main/java/org/onosproject/store/ecmap/EventuallyConsistentMapImpl.java
@@ -353,6 +353,9 @@ if (value.isPresent() && existing != null && existing.isAlive()) { valueMatches = Objects.equals(value.get(), existing.get()); } + if (existing == null) { + log.debug("ECMap Remove: Existing value for key {} is already null", k); + } updated.set(valueMatches && (existing == null || tombstone.isNewerThan(existing))); if (updated.get()) { previousValue.set(existing);