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

Remove ZK watch for completing partition reassignment

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: controller
    • Labels:
      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

          Activity

            People

            • Assignee:
              hachikuji Jason Gustafson
              Reporter:
              mumrah David Arthur

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment