Kafka
  1. Kafka
  2. KAFKA-928

new topics may not be processed after ZK session expiration in controller

    Details

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

      Description

      When controller loses its ZK session, it calls partitionStateMachine.shutdown in SessionExpirationListener, which marks the partitionStateMachine as down. However, when the controller regains its controllership, it doesn't mark partitionStateMachine as up. In TopicChangeListener, we only process new topics if the partitionStateMachine is marked up.

      1. kafka-928-v2.patch
        3 kB
        Neha Narkhede
      2. kafka-928.patch
        1 kB
        Neha Narkhede

        Activity

        Neha Narkhede made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Neha Narkhede made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Neha Narkhede made changes -
        Attachment kafka-928-v2.patch [ 12585919 ]
        Neha Narkhede made changes -
        Component/s controller [ 12320321 ]
        Component/s core [ 12315217 ]
        Neha Narkhede made changes -
        Assignee Neha Narkhede [ nehanarkhede ]
        Neha Narkhede made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Neha Narkhede made changes -
        Field Original Value New Value
        Attachment kafka-928.patch [ 12585737 ]
        Jun Rao created issue -

          People

          • Assignee:
            Neha Narkhede
            Reporter:
            Jun Rao
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development