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

Isr shrink/expand check is fragile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0.0
    • None
    • None

    Description

      Currently the isr check is coupled tightly with the produce batch size. For example, if the producer batch size is 10000 messages and isr check is 4000 messages, we continuously oscillate between shrinking isr and expanding isr every second. This is because a single produce request throws the replica out of the isr. This results in hundreds of calls to ZK (we still dont have multi write). This can be alleviated by making the producer batch size smaller than the isr check size.

      Going forward, we should try to not have this coupling. It is worth investigating if we can make the check more robust under such scenarios.

      Attachments

        Activity

          People

            nehanarkhede Neha Narkhede
            sriramsub Sriram
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: