kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4534) StreamPartitionAssignor only ever updates the partitionsByHostState and metadataWithInternalTopics once.
Date Wed, 14 Dec 2016 10:40:58 GMT

    [ 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 <damian.guy@gmail.com>
Date:   2016-12-13T18:06:38Z

    state store name to topic mapping incorrect

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

    address comments

commit 4f1c58aedbbcaad91ef5f8ff504eef74157d54e5
Author: Damian Guy <damian.guy@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)

Mime
View raw message