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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • controller

    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.patch
          1 kB
          Swapnil Ghike
        2. kafka-840-after-commit-v1.patch
          6 kB
          Swapnil Ghike
        3. kafka-840-after-commit-v2.patch
          6 kB
          Swapnil Ghike
        4. kafka-840-v2.patch
          8 kB
          Swapnil Ghike

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: