Removed fixed TODO. Cleaned up logging
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/flow/impl/DistributedFlowRuleStore.java b/core/store/dist/src/main/java/org/onlab/onos/store/flow/impl/DistributedFlowRuleStore.java
index 3da5d25..bde57c6 100644
--- a/core/store/dist/src/main/java/org/onlab/onos/store/flow/impl/DistributedFlowRuleStore.java
+++ b/core/store/dist/src/main/java/org/onlab/onos/store/flow/impl/DistributedFlowRuleStore.java
@@ -95,8 +95,6 @@
storeFlowEntryInternal(rule);
// FIXME what to respond.
try {
- // FIXME: #respond() not working. responded message is
- // handled by this sender node and never goes back.
message.respond(SERIALIZER.encode("ACK"));
} catch (IOException e) {
log.error("Failed to respond back", e);
@@ -173,7 +171,8 @@
return storeFlowEntryInternal(rule);
}
- log.warn("Not my flow forwarding to {}", replicaInfo.master().orNull());
+ log.info("Forwarding storeFlowRule to {}, which is the primary (master) for device {}",
+ replicaInfo.master().orNull(), rule.deviceId());
ClusterMessage message = new ClusterMessage(
clusterService.getLocalNode().id(),
diff --git a/pom.xml b/pom.xml
index 47dc489..33ffb10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -347,6 +347,11 @@
<pluginManagement>
<plugins>
<plugin>
+ <groupId>kr.motd.maven</groupId>
+ <artifactId>os-maven-plugin</artifactId>
+ <version>1.2.3.Final</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- TODO: update once following issue is fixed. -->