kafka/core
Leonard Ge db9e55a50f
KAFKA-9866: Avoid election for topics where preferred leader is not in ISR (#8524)
In this commit we made sure that the auto leader election only happens after the newly starter broker is in the isr.

No accompany tests are added due to the fact that:

this is a change to the private method and no public facing change is made
it is hard to create tests for this change without considerable effort

Reviewers: Stanislav Kozlovski <stanislav_kozlovski@outlook.com>, Jun Rao <junrao@gmail.com>
2020-04-27 13:51:10 -07:00
..
src KAFKA-9866: Avoid election for topics where preferred leader is not in ISR (#8524) 2020-04-27 13:51:10 -07:00
.gitignore