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

onControllerFailover function should be synchronized with other functions

    Details

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

      Description

      Otherwise race conditions could happen. For example, handleNewSession will close all sockets with brokers while the handleStateChange in onControllerFailover tries to send requests to them.

        Attachments

        1. KAFKA-1134.patch
          3 kB
          Guozhang Wang
        2. KAFKA-1134_2013-12-05_11:13:33.patch
          3 kB
          Guozhang Wang

          Activity

            People

            • Assignee:
              guozhang Guozhang Wang
              Reporter:
              guozhang Guozhang Wang
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: