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

ISRs may thrash when replication quota is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.1.1, 0.10.2.0
    • None
    • None

    Description

      I created a high volume topic and a low volume topic, each with 1000 partitions and 2 replicas on 2 brokers. I populated the high volume topic with 4GB of data. Added a third broker and ran the rebalance tool with a 2MB/sec replication quota. At some point, all replicas for the low volume topic have been moved over and the new replicas are all in sync, but the high volume replicas are still catching up. Then, I started slowly producing to the low volume topic. Once I do that, I started seeing the low volume partitions' ISR constantly expanding and shrinking. The observed ISR change rate is ~ 6/sec. So, it does seem that ISR thrashing can happen.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: