[
https://issues.apache.org/jira/browse/KAFKA-21378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Chen reassigned KAFKA-21378:
---------------------------------
Assignee: Christo Lolov
> Add "leaderEpoch" field in PartitionChangeRecord
> ------------------------------------------------
>
> Key: KAFKA-21378
> URL: https://issues.apache.org/jira/browse/KAFKA-21378
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Luke Chen
> Assignee: Christo Lolov
> Priority: Major
>
> To support "bumpLeaderEpoch" RPC in the future, we should add a "leaderEpoch"
> field in PartitionChangeRecord, and move the leader epoch calculation logic
> from currently each node calculate the leader epoch when replying
> PartitionChangeRecord in PartitionRegistration class, to each time the
> PartitionChangeRecord creates, and each node only needs to take the
> leaderEpoch in the PartitionChangeRecord.
>
> We should also consider the backward compatibility in this change.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)