[
https://issues.apache.org/jira/browse/CASSANDRA-4370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400966#comment-13400966
]
Viktor Kuzmin commented on CASSANDRA-4370:
------------------------------------------
1) This code is not enough. Even if key is valid in that expression, it may be
invalid in next statement - I was able to reproduce it on my boxes with
cassandra 1.1.1.
2) We should not close selector at all until server shutdown.
> hsha server may stop responding and will not close selectors
> ------------------------------------------------------------
>
> Key: CASSANDRA-4370
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4370
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.1.1
> Reporter: Viktor Kuzmin
> Assignee: Viktor Kuzmin
> Fix For: 1.1.2
>
> Attachments: hsha.patch
>
>
> Cassandra launches several threads to listen on selectors. There can be
> CancelledKeyException and cassandra will log "Unexpected exception". In that
> case there two problems:
> 1) listener thread will be closed and cassandra will stop after all listener
> threads will stop.
> 2) selector will be not closed
--
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