Paulo Motta created CASSANDRA-16313:
---------------------------------------
Summary: Connection failure to down node spams debug.log
Key: CASSANDRA-16313
URL: https://issues.apache.org/jira/browse/CASSANDRA-16313
Project: Cassandra
Issue Type: Bug
Components: Cluster/Gossip
Reporter: Paulo Motta
When a node becomes down a periodic attempt is made to try to reconnect to the
node. However, the connection error
[spams|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/net/OutboundTcpConnection.java#L546]
the debug.log of all nodes in the cluster with the following message:
{noformat}
DEBUG [MessagingService-Outgoing-/XX.YY.ZZ.WW-Gossip] 2020-12-04 09:13:58,999
OutboundTcpConnection.java:546 - Unable to connect to /XX.YY.ZZ.WW
java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect0(Native Method) ~[na:1.8.0_172]
at sun.nio.ch.Net.connect(Net.java:454) ~[na:1.8.0_172]
at sun.nio.ch.Net.connect(Net.java:446) ~[na:1.8.0_172]
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)
~[na:1.8.0_172]
at
org.apache.cassandra.net.OutboundTcpConnectionPool.newSocket(OutboundTcpConnectionPool.java:146)
~[apache-cassandra-3.11.3.jar:3.11.3]
at
org.apache.cassandra.net.OutboundTcpConnectionPool.newSocket(OutboundTcpConnectionPool.java:132)
~[apache-cassandra-3.11.3.jar:3.11.3]
at
org.apache.cassandra.net.OutboundTcpConnection.connect(OutboundTcpConnection.java:434)
[apache-cassandra-3.11.3.jar:3.11.3]
at
org.apache.cassandra.net.OutboundTcpConnection.run(OutboundTcpConnection.java:262)
[apache-cassandra-3.11.3.jar:3.11.3]
{noformat}
I've seen cases where this rolled back the entire debug.log which can difficult
troubleshooting.
We should probably guard this in a NoSpamLogger.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]