[
https://issues.apache.org/jira/browse/KAFKA-18394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Armando García Sancio updated KAFKA-18394:
-----------------------------------------------
Component/s: kraft
> Formalize durable and in-memory election state changes
> ------------------------------------------------------
>
> Key: KAFKA-18394
> URL: https://issues.apache.org/jira/browse/KAFKA-18394
> Project: Kafka
> Issue Type: Improvement
> Components: kraft
> Reporter: Alyssa Huang
> Assignee: Jose Armando Garcia Sancio
> Priority: Major
>
> We essentially have two paths of epoch state transitions -
> 1. one which involves updating on-disk election state and then in-memory
> epoch state (which includes in-memory election state changes)
> 2. one which does not involve any changed election state and just needs an
> in-memory epoch state change
>
> For the second case, we should explicitly check no persisted or in-memory
> election state has changed. For the first case, we should have the in-memory
> election state derive from the persisted election state change. (It should be
> impossible for the two to differ)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)