-
Notifications
You must be signed in to change notification settings - Fork 14.8k
MINOR: Check ELR in handleAssignReplicasToDirs #20716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
junrao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CalvinConfluent : Thanks for the PR. Do we need to add a test to cover this issue?
|
@CalvinConfluent thanks for the patch. Quick unrelated question about |
|
@chia7712 I think we already did. The election type is set in generateLeaderAndIsrUpdates |
artemlivshits
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The partitionChangeBuilder in handleAssignReplicasToDirs does not check
ELR. This can cause the partition clear ELR unexpectedly.