Jason Gustafson created KAFKA-8585: -------------------------------------- Summary: Controller should make LeaderAndIsr updates optimistically Key: KAFKA-8585 URL: https://issues.apache.org/jira/browse/KAFKA-8585 Project: Kafka Issue Type: Improvement Reporter: Jason Gustafson Assignee: Jason Gustafson
Before the controller updates LeaderAndIsr information for a set of partitions, it always first looks up the current state. We can skip this since the state is already cached on the controller. In the common case (e.g. controlled shutdown), the update will succeed. If there was a change which had not been propagated to the controller, we can retry (this logic exists already). -- This message was sent by Atlassian JIRA (v7.6.3#76005)