Guozhang Wang created KAFKA-2721: ------------------------------------ Summary: Avoid handling duplicate LeaderAndISR requests Key: KAFKA-2721 URL: https://issues.apache.org/jira/browse/KAFKA-2721 Project: Kafka Issue Type: Bug Reporter: Guozhang Wang Fix For: 0.9.0.1
Upon controller migration, the new controller will try to resend all the LeaderAndISR requests for any on-going partition reassignments. This can then lead to duplicate such requests sent to the same broker. Upon receiving such requests, today brokers do not detect if, for example, it is already the leader for the requested becoming-leader-partition, and does the logic such as 1) stop fetching 2) coordinator migration, etc which is not necessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)