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

Deterministic Subsetting LB policy #6488

Closed
wants to merge 21 commits into from

Conversation

s-matyukevich
Copy link
Contributor

A POC for grpc/proposal#383

@s-matyukevich s-matyukevich marked this pull request as draft July 31, 2023 15:48
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jul 31, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

@s-matyukevich s-matyukevich marked this pull request as ready for review July 31, 2023 17:52
@@ -82,7 +82,7 @@ not git grep -l 'x/net/context' -- "*.go"

# - Do not import math/rand for real library code. Use internal/grpcrand for
# thread safety.
git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^stress\|grpcrand\|^benchmark\|wrr_test'
git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^stress\|grpcrand\|^benchmark\|wrr_test\|deterministicsubsetting'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to use math/rand directly because the algorithm uses round index as seed, so that shuffle results are deterministic.

@easwars
Copy link
Contributor

easwars commented Aug 1, 2023

@s-matyukevich : Thank you for this PR and the associated gRFC. One of our TLs is away for a couple of weeks. We will start reviewing the gRFC once they are back. Please expect some delays here. Thanks.

@easwars
Copy link
Contributor

easwars commented Aug 1, 2023

Blocked on the gRFC: grpc/proposal#383

@dfawley dfawley added this to the 1.59 Release milestone Aug 24, 2023
@dfawley
Copy link
Member

dfawley commented Oct 3, 2023

@s-matyukevich thank you for the PR. I'm going to close this for now, pending the gRFC

@dfawley dfawley closed this Oct 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants