forked from apache/kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KAFKA-6193; Only delete reassign_partitions znode after reassignment …
…is complete - Ensure that `partitionsBeingReassigned` is fully populated before `removePartitionFromReassignedPartitions` is invoked. This is necessary to avoid premature deletion of the `reassign_partitions` znode. - Modify and add tests to verify the fixes. - Add documentation. - Use `info` log message if assignedReplicas == newReplicas and remove control flow based on exceptions. - General logging improvements. - Simplify `initializePartitionAssignment` by relying on logic already present in `maybeTriggerPartitionReassignment`. Author: Ismael Juma <[email protected]> Reviewers: Jun Rao <[email protected]>, Guozhang Wang <[email protected]> Closes apache#4283 from ijuma/kafka-6193-flaky-shouldPerformMultipleReassignmentOperationsOverVariousTopics
- Loading branch information
Showing
8 changed files
with
135 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.