You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2020/09/24 12:42:00 UTC

[jira] [Created] (KAFKA-10521) Remove ZK watch for completing partition reassignment

David Arthur created KAFKA-10521:
------------------------------------

             Summary: Remove ZK watch for completing partition reassignment
                 Key: KAFKA-10521
                 URL: https://issues.apache.org/jira/browse/KAFKA-10521
             Project: Kafka
          Issue Type: Improvement
          Components: controller
    Affects Versions: 2.7.0
            Reporter: David Arthur


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)