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

producer record can stay in RecordAccumulator forever if leader is no available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.8.2.0
    • Fix Version/s: 0.9.0.0
    • Component/s: core, producer
    • Labels:

      Description

      In the new producer, when a partition has no leader for a long time (e.g., all replicas are down), the records for that partition will stay in the RecordAccumulator until the leader is available. This may cause the bufferpool to be full and the callback for the produced message to block for a long time.

        Attachments

        1. KAFKA-1788.patch
          14 kB
          Parth Brahmbhatt
        2. KAFKA-1788_2015-01-06_13:42:37.patch
          18 kB
          Parth Brahmbhatt
        3. KAFKA-1788_2015-01-06_13:44:41.patch
          18 kB
          Parth Brahmbhatt

          Issue Links

            Activity

              People

              • Assignee:
                parth.brahmbhatt Parth Brahmbhatt
                Reporter:
                junrao Jun Rao
                Reviewer:
                Jun Rao
              • Votes:
                1 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: