cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3867) Disablethrift and Enablethrift can leaves behind zombie connections on THSHA server
Date Mon, 06 Feb 2012 20:43:59 GMT
Disablethrift and Enablethrift can leaves behind zombie connections on THSHA server
-----------------------------------------------------------------------------------

                 Key: CASSANDRA-3867
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3867
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.7
            Reporter: Vijay
            Assignee: Vijay
             Fix For: 1.0.8


While doing nodetool disable thrift we disable selecting threads and close them... but the
connections are still active...
Enable thrift creates a new Selector threads because we create new ThriftServer() which will
cause the old connections to be zombies.

I think the right fix will be to call server.interrupt(); and then close the connections when
they are done selecting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message