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

Jun Rao updated KAFKA-6937:
---------------------------
    Description: 
When replication throttling is enabled, in-sync replica's traffic should never 
be throttled. However, in DelayedFetch.tryComplete(), we incorrectly delay the 
completion of an in-sync replica fetch request if replication throttling is 
engaged. 

The impact is that the producer may see increased latency if acks = all. The 
delivery of the message to the consumer may also be delayed.

  was:When replication throttling is enabled, in-sync replica's traffic should 
never be throttled. However, in DelayedFetch.tryComplete(), we incorrectly 
delay the completion of an in-sync replica fetch request if replication 
throttling is engaged. 


> In-sync replica delayed during fetch if replica throttle is exceeded
> --------------------------------------------------------------------
>
>                 Key: KAFKA-6937
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6937
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Major
>
> When replication throttling is enabled, in-sync replica's traffic should 
> never be throttled. However, in DelayedFetch.tryComplete(), we incorrectly 
> delay the completion of an in-sync replica fetch request if replication 
> throttling is engaged. 
> The impact is that the producer may see increased latency if acks = all. The 
> delivery of the message to the consumer may also be delayed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to