Jose,

I think the line #2 here is wrong with regard to AlterPartitionRequest.
```
Request Handling
The controller will validate the LeaderRecoveryState field and return
an INVALID_REQUEST error when:

1. The size of the ISR is greater than 1 and the LeaderRecoveryState
is RECOVERING.
2. The LeaderRecoveryState is changing from RECOVERING to RECOVERED.
```

On Fri, Feb 4, 2022 at 11:55 AM José Armando García Sancio
<jsan...@confluent.io.invalid> wrote:
>
> David Jacot wrote:
>
> > The behavior of the leader is clear. However, the part which is
> > not clear to me is how followers which could get fetch requests
> > from consumers as well will handle them. Sorry if I was not clear.
>
> Got it. I updated the KIP to add more information regarding how the
> topic partition follower will handle LEADER_AND_ISR request. In other
> words, the follower will return a NOT_LEADER_OR_FOLLOWER error if the
> leader is RECOVERING from an unclean leader election.
>
> Thanks,
> --
> -José



-- 
Best Regards,
Raman Verma

Reply via email to