Jun Rao created KAFKA-3670:
------------------------------
Summary: ControlledShutdownLeaderSelector should pick the
preferred replica as the new leader, if possible
Key: KAFKA-3670
URL: https://issues.apache.org/jira/browse/KAFKA-3670
Project: Kafka
Issue Type: Improvement
Reporter: Jun Rao
Fix For: 0.10.0.0
Currently, ControlledShutdownLeaderSelector selects an arbitrary in-sync
replica as the new leader. This means that leader can change again to the
preferred replica very quickly. It's better for
ControlledShutdownLeaderSelector to select the preferred replica as the new
leader, if it's in sync.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)