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

        Swapnil Ghike made changes -
        Attachment kafka-840-after-commit-v2.patch [ 12576640 ]
        Neha Narkhede made changes -
        Component/s controller [ 12320321 ]
        Swapnil Ghike made changes -
        Attachment kafka-840-after-commit-v1.patch [ 12576438 ]
        Neha Narkhede made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Neha Narkhede made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Swapnil Ghike made changes -
        Attachment kafka-840-v2.patch [ 12576206 ]
        Swapnil Ghike made changes -
        Field Original Value New Value
        Attachment kafka-840.patch [ 12575951 ]
        Swapnil Ghike created 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