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

java producer may miss an available partition

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.8.2.1
    • Component/s: producer
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: