...
One of the ways Kafka is going to use this feature is to abort all pending transaction when recovering from unclean leader election. See
Jira | ||||||
---|---|---|---|---|---|---|
|
Topic Partition Follower
With KIP-392, it is possible for follower to receive FETCH request from the consumer. Follower will return a NOT_LEADER_OR_FOLLOWER error while the leader it sill recovering. This means that the follower will return this error when it receives a LEADER_AND_ISR request with RECOVERING set until it receives another request with RECOVERED. The follower will not ignore request that have the same leader epoch.
Controller
ZooKeeper Controller
...