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

Processor thread blocks due to infinite loop during fetch response send

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:

      Description

      This looks to be because of an infinite loop during fetch response send. This happens because we try to send bytes from a log which has been truncated during send. The total size to send is calculated at the beginning of the iteration and it does not take into account the change in log size during send. When send happens, it uses the size calculated at the start and loops continuously hoping to send more data.

        Attachments

        1. KAFKA-756.patch
          3 kB
          Sriram
        2. Kafka-756-v2.patch
          6 kB
          Sriram
        3. KAFKA-756-v3.patch
          9 kB
          Sriram

          Activity

            People

            • Assignee:
              sriramsub Sriram
              Reporter:
              sriramsub Sriram
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: