Kafka
  1. Kafka
  2. KAFKA-1134

onControllerFailover function should be synchronized with other functions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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 Wang
            Reporter:
            Guozhang Wang
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development