You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2013/12/12 01:36:11 UTC

[jira] [Resolved] (KAFKA-1134) onControllerFailover function should be synchronized with other functions

     [ https://issues.apache.org/jira/browse/KAFKA-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neha Narkhede resolved KAFKA-1134.
----------------------------------

    Resolution: Fixed

Thanks for the patch. Committed to trunk

> onControllerFailover function should be synchronized with other functions
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-1134
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1134
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.0, 0.8.1
>            Reporter: Guozhang Wang
>         Attachments: KAFKA-1134.patch, KAFKA-1134_2013-12-05_11:13:33.patch
>
>
> Otherwise race conditions could happen. For example, handleNewSession will close all sockets with brokers while the handleStateChange in onControllerFailover tries to send requests to them.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)