[
https://issues.apache.org/jira/browse/KAFKA-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao updated KAFKA-2266:
---------------------------
Resolution: Fixed
Fix Version/s: 0.8.3
Status: Resolved (was: Patch Available)
Thanks for the latest patch. +1 and committed to trunk.
> Client Selector can drop idle connections without notifying NetworkClient
> -------------------------------------------------------------------------
>
> Key: KAFKA-2266
> URL: https://issues.apache.org/jira/browse/KAFKA-2266
> Project: Kafka
> Issue Type: Bug
> Reporter: Jason Gustafson
> Assignee: Jason Gustafson
> Fix For: 0.8.3
>
> Attachments: KAFKA-2266.patch, KAFKA-2266_2015-06-12_09:18:45.patch
>
>
> I've run into this while testing the new consumer. The class
> org.apache.kafka.common.networ.Selector has code to drop idle connections,
> but when one is dropped, it is not added to the list of disconnections. This
> causes inconsistency between Selector and NetworkClient, which depends on
> this list to update its internal connection states. When a new request is
> sent to NetworkClient, it still sees the connection as good and forwards it
> to Selector, which results in an IllegalStateException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)