You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2024/12/19 21:25:00 UTC
[jira] [Commented] (CASSANDRA-20072) Log client address when detecting unknown exception in client networking
[ https://issues.apache.org/jira/browse/CASSANDRA-20072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17907200#comment-17907200 ]
Caleb Rackliffe commented on CASSANDRA-20072:
---------------------------------------------
Just out of curiosity, why did we stop giving the logger the entire exception (and instead print only the exception message) in the trunk patch?
> Log client address when detecting unknown exception in client networking
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-20072
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20072
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Observability/Logging
> Reporter: Mohammad Aburadeh
> Assignee: Mohammad Aburadeh
> Priority: Urgent
> Fix For: 4.0.15, 4.1.8, 5.0.3, 5.1
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> We are getting hundreds of the below warnings in Cassandra logs:
> {code:java}
> WARN [epollEventLoopGroup-5-7] 2024-11-10 00:26:24,296 ExceptionHandlers.java:139 - Unknown exception in client networking
> io.netty.channel.StacklessClosedChannelException: null
> at io.netty.channel.AbstractChannel.close(ChannelPromise)(Unknown Source)
> {code}
> This means the client dropped the connection abruptly or abnormally. The issue could be a network or application issue on the client side.
> Since there could be many client servers, Cassandra must log the client IP and the port so we can check what's the problem with that server.
> I'll attached the fix for this small change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org