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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0.1, 1.0.1, 1.1.0
    • Fix Version/s: 1.0.2, 1.1.1, 2.0.0
    • Component/s: core
    • Labels:
      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

              • Assignee:
                junrao Jun Rao
                Reporter:
                junrao Jun Rao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: