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

Remove ZK watch for completing partition reassignment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • controller
    • None

    Description

      This is a follow-on from KAFKA-8836.

      Currently we have a ZK watch on the partition "/state" znode which fires a handler in the controller to check if a reassignment can be completed due to replicas catching up with the leader. This is located in KafkaController#processPartitionReassignmentIsrChange

      Following the change to updating ISR with the new AlterIsr RPC, we would like to remove this ZK watch and replace it with a direct call when writing out a new ISR in the controller.

      Attachments

        Issue Links

          Activity

            People

              hachikuji Jason Gustafson
              mumrah David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: