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

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

    Details

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

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: