DatabaseManager: removing Raft Member management code
Change-Id: Id7d773459e40e0ad51fa56026465b067f09b5b92
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseManager.java b/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseManager.java
index def56e8..6a84e04 100644
--- a/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseManager.java
+++ b/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseManager.java
@@ -125,9 +125,6 @@
StateMachine stateMachine = new DatabaseStateMachine();
- // Chronicle + OSGi issue
- //Log consensusLog = new ChronicleLog(LOG_FILE_PREFIX + "_" + thisNode.id());
- //Log consensusLog = new KryoRegisteredInMemoryLog();
Log consensusLog = new MapDBLog(LOG_FILE_PREFIX + localNode.id(),
ClusterMessagingProtocol.SERIALIZER);
@@ -247,10 +244,11 @@
break;
case INSTANCE_DEACTIVATED:
case INSTANCE_REMOVED:
- log.info("{} was removed from the cluster", tcpMember);
- synchronized (clusterConfig) {
- clusterConfig.removeRemoteMember(tcpMember);
- }
+ // FIXME to be replaced with admin interface
+// log.info("{} was removed from the cluster", tcpMember);
+// synchronized (clusterConfig) {
+// clusterConfig.removeRemoteMember(tcpMember);
+// }
break;
default:
break;