Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain 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)

 
+
Neha Narkhede 2013-12-03, 17:22
+
Guozhang Wang 2013-12-05, 19:23
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB