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

José Armando García Sancio updated KAFKA-14301:
-----------------------------------------------
    Fix Version/s:     (was: 3.4.0)
                       (was: 3.3.2)

> Simulation validation that raft listener see NO_LEADER on leader
> ----------------------------------------------------------------
>
>                 Key: KAFKA-14301
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14301
>             Project: Kafka
>          Issue Type: Task
>            Reporter: José Armando García Sancio
>            Priority: Major
>
> It would be good to validate in our KRaft simulation that if a replica wins 
> an election, the listener will always see a NO_LEADER first.
> In other words we want to check and validate that the listener always sees 
> the epoch changes before the the leader is assign.
> At the protocol level this is valid because a replica first increases the 
> epoch and transitions to candidate. Once the replica wins an election does it 
> assign a leader for that epoch.
> It is important to validate that this is the case because the current 
> controller implementation assumes this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to