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

Keep the shard ids sorted for logging and api #147

Merged
merged 6 commits into from
Oct 17, 2024

Conversation

yoohaemin
Copy link
Contributor

I've raised this here: https://discord.com/channels/629491597070827530/1017210544295522325/1296047667797037077

Having the assignments sorted on API and logs will help greatly for debugging. I was originally thinking of updating the internal data types to use sorted ones, but gave up (it changes too much internal structure).

Copy link
Collaborator

@ghostdogpr ghostdogpr left a comment

Choose a reason for hiding this comment

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

Looks good, how about making a helper function to avoid repeating .toArray.sortInPlace.mkString("[", ", ", "]")})?

@ghostdogpr
Copy link
Collaborator

ghostdogpr commented Oct 17, 2024

Also needs fmt and there are compile errors in Scala 2 😄

@ghostdogpr ghostdogpr merged commit 4a19c36 into devsisters:series/2.x Oct 17, 2024
5 checks passed
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.

2 participants