cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Seiler (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6349) IOException in causes orphaned storage server socket
Date Mon, 09 Dec 2013 16:42:08 GMT


Oliver Seiler commented on CASSANDRA-6349:

I suspect these changes introduced an infinite loop if the ServerSocket gets closed (not sure
how that is happening though). We've been seeing some major problems with Cassandra 2.0.3
when a new cluster is coming up for the first time, and it seems to be a result of this. With
logging set to debug, system.log is getting pummelled with these exception messages:

DEBUG [ACCEPT-localhost-grid/] 2013-12-06 22:55:39,759 (line
905) Error reading the socket null Socket closed
        at Method)
        at Source)
        at Source)
        at Source)

It looks like once in this state, nothing will break it out; prior to this change the IOException
catch block was throwing another exception, now it just keeps looping, using the (seemingly
closed) ServerSocket. Restarting Cassandra seems to be the only way to resolve this. I'll
probably be recommending we drop back to 2.0.2 until this problem is fixed (or we can understand
why the ServerSocket is closed...)

> IOException in causes orphaned storage server socket
> ---------------------------------------------------------------------------
>                 Key: CASSANDRA-6349
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: cassandra 2.0+
>            Reporter: Steven Halaka
>            Assignee: Mikhail Stepura
>             Fix For: 2.0.3
>         Attachments: CASSANDRA-2.0-6349.patch
> The refactoring of reading the message header in vs IncomingTcpConnection
seems to mishandle IOException as the loop is broken and MessagingService.SocketThread never
seems to get reinitialized.
> To reproduce: telnet to port 7000 and send random data. This then prevents any new or
restarting node in the cluster from handshaking with this defunct storage port.

This message was sent by Atlassian JIRA

View raw message