mirror of https://github.com/apache/kafka.git
Although KAFKA-14808 did not affect KRaft mode, it is important to ensure that we have regression tests in KRaft mode to prevent a similar bug from appearing there in the future. This PR adds two tests. First, it adds a test that makes sure we handle what happens when a reassignment completes and none of the new replicas can be made leader. It's important that we dont keep an old replica as leader. Second, it adds a test that makes sure we handle new reassignments that don't include a previous assignment replica that was leader. Reviewers: Colin P. McCabe <cmccabe@apache.org> |
||
---|---|---|
.. | ||
src | ||
.gitignore |