You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Jacot (Jira)" <ji...@apache.org> on 2020/12/18 16:08:00 UTC

[jira] [Resolved] (KAFKA-10100) LiveLeaders field in LeaderAndIsrRequest is not used anymore

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

David Jacot resolved KAFKA-10100.
---------------------------------
    Resolution: Won't Fix

This is not worthwhile. 

> LiveLeaders field in LeaderAndIsrRequest is not used anymore
> ------------------------------------------------------------
>
>                 Key: KAFKA-10100
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10100
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: David Jacot
>            Assignee: David Jacot
>            Priority: Major
>
> We have noticed that the `LiveLeaders` field in the LeaderAndIsrRequest is not used anywhere but still populated by the controller.
> It seems that that field was introduced in AK `0.8.0` and was supposed to be removed in AK `0.8.1`: [https://github.com/apache/kafka/blob/0.8.0/core/src/main/scala/kafka/cluster/Partition.scala#L194.]
> I think that we can safely deprecate the field and stop populating it for all versions > 0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)