# HG changeset patch # User sugi # Date 1418290098 -32400 # Node ID b789b845999651e4b4580893a07037b2381d8578 # Parent dca4b392f788cef71bac884c3481942c85f8fd30 change timing add managerKey to connectionList diff -r dca4b392f788 -r b789b8459996 src/main/java/alice/topology/node/IncomingConnectionInfo.java --- a/src/main/java/alice/topology/node/IncomingConnectionInfo.java Thu Dec 11 18:27:36 2014 +0900 +++ b/src/main/java/alice/topology/node/IncomingConnectionInfo.java Thu Dec 11 18:28:18 2014 +0900 @@ -28,11 +28,9 @@ // need to wait remove by DeleteConnection ods.put("manager", absName, hostInfo); } else { - ods.put("cMember", hostInfo.connectionName); - new CreateConnectionList(); - count++; DataSegment.connect(hostInfo.connectionName, hostInfo.reverseName, hostInfo.name, hostInfo.port); ods.put(hostInfo.connectionName, "reverseKey", hostInfo.reverseName); + count++; } } diff -r dca4b392f788 -r b789b8459996 src/main/java/alice/topology/node/IncomingReverseKey.java --- a/src/main/java/alice/topology/node/IncomingReverseKey.java Thu Dec 11 18:27:36 2014 +0900 +++ b/src/main/java/alice/topology/node/IncomingReverseKey.java Thu Dec 11 18:28:18 2014 +0900 @@ -20,6 +20,9 @@ reverseCount++; ods.update("local", "reverseCount", reverseCount); + ods.put("cMember", reverseKey); + new CreateConnectionList(); + IncomingReverseKey cs = new IncomingReverseKey(); cs.reverseKey.setKey("local", "reverseKey"); cs.reverseCount.setKey("local", "reverseCount");