You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2019/06/22 00:10:00 UTC
[jira] [Created] (KAFKA-8585) Controller should make LeaderAndIsr
updates optimistically
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)