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

onControllerFailover function should be synchronized with other functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0, 0.8.1
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: