-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c/partition_allocator: make _highest_group updates monotonic
Previously, in case of failed allocation of partitions for new topics, we tried to revert _highest_group value as well. When a large number of topics were allocated in a single request concurrently (e.g. when MirrorMaker creates required topics on the destination cluster) and some of these requests bump into partition allocation limits, this could lead to duplicate group_ids. As there is no reason to try to reuse group_ids, simply remove the code moving _highest_group backwards. Fixes #12610 (cherry picked from commit 3f96297)
- Loading branch information
1 parent
0c0001a
commit 4edaf7b
Showing
3 changed files
with
1 addition
and
4 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