You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2026/10/28 03:55:00 UTC
[jira] [Assigned] (KAFKA-21378) Add "leaderEpoch" field in PartitionChangeRecord
[ 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)