Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> [jira] [Commented] (KAFKA-1134) onControllerFailover function should be synchronized with other functions


Copy link to this message
-
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13837172#comment-13837172 ]

Guozhang Wang commented on KAFKA-1134:
--------------------------------------

Created reviewboard https://reviews.apache.org/r/15953/
 against branch origin/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.8.1
>            Reporter: Guozhang Wang
>         Attachments: KAFKA-1134.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#6144)