Kafka
  1. Kafka
  2. KAFKA-840

Controller tries to perform preferred replica election on failover before state machines have started up

    Details

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

      Description

      If the admin/preferred_replica_election path is non-empty when a new controller starts, the controller attempts to perform preferred replica election before the partition and replica state machine have been initialized. In this case, the controller will try to make invalid state transitions.

      1. kafka-840.patch
        1 kB
        Swapnil Ghike
      2. kafka-840-v2.patch
        8 kB
        Swapnil Ghike
      3. kafka-840-after-commit-v1.patch
        6 kB
        Swapnil Ghike
      4. kafka-840-after-commit-v2.patch
        6 kB
        Swapnil Ghike

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Swapnil Ghike
            Reporter:
            Swapnil Ghike
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development