Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-20072

Log client address when detecting unknown exception in client networking

    XMLWordPrintableJSON

Details

    • Code
    • Normal
    • Low Hanging Fruit
    • User Report
    • All
    • None
    • 4.0
    • Hide

      run CI

      Show
      run CI

    Description

      We are getting hundreds of the below warnings in Cassandra logs: 

      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)
      

      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. 

      Attachments

        Activity

          People

            Aburadeh Mohammad Aburadeh
            Aburadeh Mohammad Aburadeh
            Mohammad Aburadeh
            Brandon Williams, Stefan Miklosovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m