TaiJuWu opened a new pull request, #24259: URL: https://github.com/apache/kafka/pull/24259
Add the `LeaderEpoch` and `StateEpoch` fields to `LastMirrorEpochsValue`, with the same types and defaults as in `MirrorPartitionStateValue`. - With `LeaderEpoch`, the mirror coordinator can reject a last mirror epochs write from a leader which lost leadership during the STOPPING sequence. - With `StateEpoch`, the mirror coordinator can validate and bump a monotonic epoch on each last mirror epochs write, instead of persisting stale metadata. Version 0 of the record is not released yet, so the fields are added to it rather than to a new version. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
