Skip to content
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

Using contiguous_range_map to store partitions assignments #20812

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

mmaslankaprv
Copy link
Member

@mmaslankaprv mmaslankaprv commented Jul 2, 2024

The partition assignments set is a great candidate to use the
contiguous_range_map as it always contains all the topic partitions
starting from 0 up to the partition count.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.1.x
  • v23.3.x
  • v23.2.x

Release Notes

  • none

Cast a key type to `size_t` to prevent implicit conversion warnings.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
Signed-off-by: Michał Maślanka <michal@redpanda.com>
The partition assignments set is a great candidate to use the
`contiguous_range_map` as it always contains all the topic partitions
starting from 0 up to the partition count.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
@mmaslankaprv
Copy link
Member Author

mmaslankaprv commented Jul 2, 2024

failure: #18386

@mmaslankaprv mmaslankaprv merged commit c7e27f7 into redpanda-data:dev Jul 2, 2024
15 of 18 checks passed
@mmaslankaprv mmaslankaprv deleted the tt-btreeset branch July 2, 2024 15:37
Copy link
Member

@dotnwat dotnwat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants