Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3670

ControlledShutdownLeaderSelector should pick the preferred replica as the new leader, if possible

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ijuma Ismael Juma
              Reporter:
              junrao Jun Rao
              Reviewer:
              Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: