trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arvi...@apache.org
Subject [3/4] incubator-trafodion git commit: Add back the log
Date Mon, 07 Dec 2015 18:46:42 GMT
Add back the log

server is a unique node name, so here index is useless. but no-harm to add more info

Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/f1b7b43c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/f1b7b43c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/f1b7b43c

Branch: refs/heads/master
Commit: f1b7b43ca66b9ca2b91a95eb7452b5563f6d878e
Parents: 0068ed3
Author: kevinxu021 <kaihua.xu@esgyn.cn>
Authored: Fri Dec 4 09:18:24 2015 +0800
Committer: kevinxu021 <kaihua.xu@esgyn.cn>
Committed: Fri Dec 4 09:18:24 2015 +0800

----------------------------------------------------------------------
 .../java/org/trafodion/dcs/master/listener/ConnectReply.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/f1b7b43c/dcs/src/main/java/org/trafodion/dcs/master/listener/ConnectReply.java
----------------------------------------------------------------------
diff --git a/dcs/src/main/java/org/trafodion/dcs/master/listener/ConnectReply.java b/dcs/src/main/java/org/trafodion/dcs/master/listener/ConnectReply.java
index 6012b74..482f61a 100644
--- a/dcs/src/main/java/org/trafodion/dcs/master/listener/ConnectReply.java
+++ b/dcs/src/main/java/org/trafodion/dcs/master/listener/ConnectReply.java
@@ -171,8 +171,8 @@ class ConnectReply {
                 maxIndex = Math.max(maxIndex, index);
                 server = servers.get(index);
                 nodeRegisteredPath = registeredPath + "/" + server;
-                if(LOG.isDebugEnabled())
-                    LOG.debug(clientSocketAddress + ": " + "server selected in search 1 "
+ server );
+ 		if(LOG.isDebugEnabled())
+                    LOG.debug(clientSocketAddress + ": " + " index " + index + " server picked
" + server );
                 data = isServerAvalible(nodeRegisteredPath);
                 if(data != null){
                 	found = true;


Mime
View raw message