You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kf...@apache.org on 2017/08/22 09:53:06 UTC
svn commit: r1805745 - in /tomcat/tc8.5.x/trunk:
java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties
java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
webapps/docs/changelog.xml
Author: kfujino
Date: Tue Aug 22 09:53:05 2017
New Revision: 1805745
URL: http://svn.apache.org/viewvc?rev=1805745&view=rev
Log:
Add member info to the log message when the failure detection check fails in TcpFailureDetector.
Modified:
tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties
tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml
Modified: tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties?rev=1805745&r1=1805744&r2=1805745&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties (original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/LocalStrings.properties Tue Aug 22 09:53:05 2017
@@ -45,7 +45,7 @@ tcpFailureDetector.heartbeat.failed=Unab
tcpFailureDetector.performBasicCheck.memberAdded=Member added, even though we weren''t notified:[{0}]
tcpFailureDetector.suspectMember.dead=Suspect member, confirmed dead.[{0}]
tcpFailureDetector.suspectMember.alive=Suspect member, confirmed alive.[{0}]
-tcpFailureDetector.failureDetection.failed=Unable to perform failure detection check, assuming member down.
+tcpFailureDetector.failureDetection.failed=Unable to perform failure detection check, assuming member down.[{0}]
tcpPingInterceptor.ping.failed=Unable to send TCP ping.
tcpPingInterceptor.pingFailed.pingThread=Unable to send ping from TCP ping thread.
throughputInterceptor.report=ThroughputInterceptor Report[\
Modified: tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java?rev=1805745&r1=1805744&r2=1805745&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java (original)
+++ tomcat/tc8.5.x/trunk/java/org/apache/catalina/tribes/group/interceptors/TcpFailureDetector.java Tue Aug 22 09:53:05 2017
@@ -356,7 +356,7 @@ public class TcpFailureDetector extends
} catch (ConnectException cx) {
//do nothing, we couldn't connect
} catch (Exception x) {
- log.error(sm.getString("tcpFailureDetector.failureDetection.failed"),x);
+ log.error(sm.getString("tcpFailureDetector.failureDetection.failed", mbr),x);
}
return false;
}
Modified: tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml?rev=1805745&r1=1805744&r2=1805745&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml Tue Aug 22 09:53:05 2017
@@ -110,6 +110,10 @@
update the access time when receiving the map member notification
message. (kfujino)
</fix>
+ <fix>
+ Add member info to the log message when the failure detection check
+ fails in <code>TcpFailureDetector</code>. (kfujino)
+ </fix>
</changelog>
</subsection>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org