commit | f76f6d588f03c6838d33a516ccc2b92f2f25c109 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon May 15 18:02:09 2017 -0700 |
committer | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Mon May 15 18:03:51 2017 -0700 |
tree | bde94c3aa52a339d7b4b8aa1992e79d137c515f3 | |
parent | fcaa170862bec6e5e13d18f7aeabacac46bee963 [diff] |
Add more log for debugging. Change-Id: I384729ae6b96a5e6fb6529f92cd4606b0262d46e
diff --git a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/GossipIntentStore.java b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/GossipIntentStore.java index 6ccb629..31adf1f 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/intent/impl/GossipIntentStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/intent/impl/GossipIntentStore.java
@@ -291,6 +291,8 @@ } else { currentMap.put(newData.key(), new IntentData(newData)); } + } else { + log.debug("Update for {} not acceptable", newData.key()); } // Remove the intent data from the pending map if the newData is more // recent or equal to the existing entry. No matter if it is an acceptable @@ -304,6 +306,8 @@ if (!existingValue.version().isNewerThan(newData.version())) { pendingMap.remove(key, existingValue); + } else { + log.debug("{} in pending map was newer, leaving it there", key); } }