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

fixed StaticStrideScheduler looping too many times #10370

Merged
merged 6 commits into from
Jul 13, 2023

Conversation

tonyjongyoonan
Copy link
Contributor

@tonyjongyoonan tonyjongyoonan commented Jul 11, 2023

#10366 details a bug with the new implementation of the weighted round robin earliest deadline first scheduler, StaticStrideScheduler.

This bug was fixed by properly scaling the mean weight in the edge case where all subchannel weights are invalid and making sure they have correct casting and rounding logic. An assert statement was added to check for cases with many passthroughs and test cases were also made to be more strict to better verify behavior.

@tonyjongyoonan tonyjongyoonan marked this pull request as draft July 11, 2023 20:10
@tonyjongyoonan tonyjongyoonan marked this pull request as ready for review July 11, 2023 20:16
@tonyjongyoonan tonyjongyoonan removed the request for review from grpc-kokoro July 11, 2023 22:38
@tonyjongyoonan tonyjongyoonan added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Jul 11, 2023
@grpc-kokoro grpc-kokoro removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Jul 11, 2023
@tonyjongyoonan tonyjongyoonan added bug TODO:release blocker Issue/PR is important enough to delay the release. Removed after release issues resolved labels Jul 12, 2023
@tonyjongyoonan tonyjongyoonan added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Jul 13, 2023
@grpc-kokoro grpc-kokoro removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Jul 13, 2023
@tonyjongyoonan tonyjongyoonan merged commit 37351c6 into grpc:master Jul 13, 2023
6 checks passed
@ejona86 ejona86 removed TODO:release blocker Issue/PR is important enough to delay the release. Removed after release issues resolved bug labels Jul 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants