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

refactor: SortedSet's all the way down (Set->SortedSet) #463

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

astubbs
Copy link
Contributor

@astubbs astubbs commented Nov 1, 2022

Two natures of SortedSet are used - contains() for fast lookup, and potential traversal in order (which there isn't atm). This change ensures that any potential traversals will always occur in Offset order. Otherwise, simply Set has no traversal order guarantees - which has been an issue in the past.

Checklist

  • Documentation (if applicable)
  • Changelog

Blocked by:

@astubbs astubbs force-pushed the fixes/set-to-sortedset branch from 708cbe1 to c6c5f73 Compare November 2, 2022 13:35
Copy link
Contributor Author

@astubbs astubbs left a comment

Choose a reason for hiding this comment

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

lgtm

@astubbs astubbs changed the title Fixes/set to sortedset refactor: SortedSet's all the way down (Set->SortedSet) Nov 2, 2022
@astubbs astubbs marked this pull request as ready for review November 2, 2022 16:04
@astubbs astubbs merged commit b74314d into confluentinc:master Nov 2, 2022
@astubbs astubbs deleted the fixes/set-to-sortedset branch November 2, 2022 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant