Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
WIP: Consistent hashing for balancer #258
base: main
Are you sure you want to change the base?
WIP: Consistent hashing for balancer #258
Changes from all commits
70cbd79
59e9b3e
b98de20
95e01ce
e5ae4d4
bfa8e0f
69fbfa9
cb856e7
ad4c864
7d8b42d
c07d5a7
f613799
61a6aa8
3b6dfc7
df6aeb4
0cf7590
7089d5a
4f3e395
5122d78
a5ee74f
7259efa
cd20fd0
ed5a090
db3d789
20297e6
9eb04b3
92d2254
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add comments that I've left at Levon's pr, since you will be merging his commit now:
We will have code duplication here with the following lines:
Mayve we can add a private method in
balancer_t
, smth likeAnd then use it, for example, with compound initialization:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's obscure. I suggest: