You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2018/10/12 17:20:00 UTC

[jira] [Resolved] (KAFKA-7482) LeaderAndIsrRequest should be sent to the shutting down broker

     [ https://issues.apache.org/jira/browse/KAFKA-7482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Rao resolved KAFKA-7482.
----------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

merged to 2.1 and trunk

> LeaderAndIsrRequest should be sent to the shutting down broker
> --------------------------------------------------------------
>
>                 Key: KAFKA-7482
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7482
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 1.1.0, 2.0.0
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Major
>             Fix For: 2.1.0
>
>
> We introduced a regression in KAFKA-5642 in 1.1. Before 1.1, during a controlled shutdown, the LeaderAndIsrRequest is sent to the shutting down broker to inform it that it's no longer the leader for partitions whose leader have been moved. After 1.1, such LeaderAndIsrRequest is no longer sent to the shutting down broker. This can delay the time for the client to find out the new leader.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)