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

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

GitHub user dguy opened a pull request:

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

    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 4534

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

    https://github.com/apache/kafka/pull/2256.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 #2256
    
----
commit 3437ff3a8883d22bce09aca14161f3d958c3e2ac
Author: Damian Guy <damian....@gmail.com>
Date:   2016-12-14T13:50:55Z

    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)

Reply via email to