You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/14 10:40:58 UTC

[jira] [Commented] (KAFKA-4534) StreamPartitionAssignor only ever updates the partitionsByHostState and metadataWithInternalTopics once.

    [ https://issues.apache.org/jira/browse/KAFKA-4534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15747970#comment-15747970 ] 

ASF GitHub Bot commented on KAFKA-4534:
---------------------------------------

GitHub user dguy opened a pull request:

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

    KAFKA-4534: StreamPartitionAssignor only ever updates the partitionsByHostState and metadataWithInternalTopics on first assignment.

    `partitionsByHostState` and `metadataWithInternalTopics` need to be updated on each call to `onAssignment()` otherwise they contain invalid/stale metadata. 

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

    $ git pull https://github.com/dguy/kafka kafka-4534

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

    https://github.com/apache/kafka/pull/2253.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 #2253
    
----
commit 45833be3ca1b6f8ac86f516cae4ff1b6571089e8
Author: Damian Guy <da...@gmail.com>
Date:   2016-12-13T18:06:38Z

    state store name to topic mapping incorrect

commit 29dcc18324b1a888641d6f51635a925bfbd4b074
Author: Damian Guy <da...@gmail.com>
Date:   2016-12-13T20:21:09Z

    address comments

commit 4f1c58aedbbcaad91ef5f8ff504eef74157d54e5
Author: Damian Guy <da...@gmail.com>
Date:   2016-12-14T10:37:48Z

    update partitionHostState and metadata onAssignment

----


> StreamPartitionAssignor only ever updates the partitionsByHostState and metadataWithInternalTopics once.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4534
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4534
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.2.0
>            Reporter: Damian Guy
>            Assignee: Damian Guy
>             Fix For: 0.10.2.0
>
>
> StreamPartitionAssignor only ever updates the partitionsByHostState and metadataWithInternalTopics once. This results in incorrect metadata on rebalances.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)