[ https://issues.apache.org/jira/browse/KAFKA-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499956#comment-13499956 ]
Neha Narkhede commented on KAFKA-612: ------------------------------------- Minor nitpick before you checkin v2 - Please could you rename shutdownIdleFetcherThread to shutdownIdlFetcherThreads since typically there are multiple fetcher threads :) +1 on v2 > move shutting down of fetcher thread out of critical path > --------------------------------------------------------- > > Key: KAFKA-612 > URL: https://issues.apache.org/jira/browse/KAFKA-612 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.8 > Reporter: Jun Rao > Assignee: Jun Rao > Attachments: kafka-612.patch, kafka-612-v2.patch > > > Shutting down a fetch thread seems to take more than 200ms since we need to > interrupt the thread. Currently, we shutdown fetcher threads while processing > a leaderAndIsr request. This can delay some of the partitions to become a > leader. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira