Hi Dhruvil,
Thanks for looking into the KIP.

10. I have an initial sketch of the KIP-500 in commit[a] which
discusses tracking the pending fetch requests. Tracking is not done in
Partition#readRecords because if it takes longer in reading any of the
partitions then we do not want any of the replicas of this fetch
request to go out of sync.

11. I think `Replica` class should be thread-safe to handle the remote
scenario of concurrent requests running for a follower replica. Or I
may be missing something here. This is a separate issue from KIP-500.
I will file a separate JIRA to discuss that issue.

a - 
https://github.com/satishd/kafka/commit/c69b525abe8f6aad5059236076a003cdec4c4eb7

Thanks,
Satish.

On Tue, Oct 29, 2019 at 10:57 AM Dhruvil Shah <dhru...@confluent.io> wrote:
>
> Hi Satish,
>
> Thanks for the KIP, those seems very useful. Could you elaborate on how
> pending fetch requests are tracked?
>
> Thanks,
> Dhruvil
>
> On Mon, Oct 28, 2019 at 9:43 PM Satish Duggana <satish.dugg...@gmail.com>
> wrote:
>
> > Hi All,
> > I wrote a short KIP about avoiding out-of-sync or offline partitions
> > when follower fetch requests are not processed in time by the leader
> > replica.
> > KIP-501 is located at https://s.apache.org/jhbpn
> >
> > Please take a look, I would like to hear your feedback and suggestions.
> >
> > JIRA: https://issues.apache.org/jira/browse/KAFKA-8733
> >
> > Thanks,
> > Satish.
> >

Reply via email to