Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6937

In-sync replica delayed during fetch if replica throttle is exceeded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0.1, 1.0.1, 1.1.0
    • 1.0.2, 1.1.1, 2.0.0
    • core
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              junrao Jun Rao
              junrao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: