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

java producer may miss an available partition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.8.2.0
    • 0.8.2.1
    • producer
    • None

    Description

      In Partitioner, we cycle through each partition to find one whose leader is available. However, since the counter is shared among different caller threads, the logic may not iterate through every partition. The impact is that we could return an unavailable partition to the caller when there are partitions available. If the partition is unavailable for a long time, the producer may block due to bufferpool being full.

      Attachments

        1. kafka-1984.patch
          9 kB
          Jun Rao
        2. kafka-1984.patch
          8 kB
          Jun Rao
        3. KAFKA-1984_2015-05-04_19:52:19.patch
          163 kB
          Aditya A Auradkar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: