You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by jjkoshy <gi...@git.apache.org> on 2016/11/14 17:50:57 UTC

[GitHub] kafka pull request #2129: KAFKA-4409; Fix deadlock between topic event handl...

GitHub user jjkoshy opened a pull request:

    https://github.com/apache/kafka/pull/2129

    KAFKA-4409; Fix deadlock between topic event handling and shutdown in\u2026

    The consumer can deadlock on shutdown if a topic event fires during shutdown. The shutdown acquires the rebalance lock and then the topic-event-watcher lock. The topic event watcher acquires these in the reverse order. Shutdown should not need to acquire the topic-event-watcher\u2019s lock - all it does is unsubscribes from topic events.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jjkoshy/kafka KAFKA-4409

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/2129.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2129
    
----
commit 2a5a276822452b03d816c3ae2880a7b7bf15ea46
Author: Joel Koshy <jj...@gmail.com>
Date:   2016-11-14T17:48:16Z

    KAFKA-4409; Fix deadlock between topic event handling and shutdown in the old consumer.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] kafka pull request #2129: KAFKA-4409; Fix deadlock between topic event handl...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/2129


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---