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)