José Armando García Sancio created KAFKA-14301:
--------------------------------------------------
Summary: 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
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)