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

removed assert for flakey static stride scheduler with multiple threads #10437

Merged
merged 8 commits into from Jul 31, 2023

Conversation

tonyjongyoonan
Copy link
Contributor

@tonyjongyoonan tonyjongyoonan commented Jul 31, 2023

As per #10433, the assert statement seems to cause a timeout in the pick() function of WRR's static stride scheduler. The assert was to detect unnecessary looping in the static stride scheduler. However, the assertion does not have to be true if there are multiple threads involved. Unless a better solution is suggested, removing it seems like the best option.

@tonyjongyoonan tonyjongyoonan changed the title removed assert for static stride scheduler for thread-safety removed assert for flakey static stride scheduler with multiple threads Jul 31, 2023
@tonyjongyoonan tonyjongyoonan self-assigned this Jul 31, 2023
@tonyjongyoonan tonyjongyoonan added this to the Next milestone Jul 31, 2023
@tonyjongyoonan tonyjongyoonan linked an issue Jul 31, 2023 that may be closed by this pull request
@tonyjongyoonan tonyjongyoonan merged commit 3c19325 into grpc:master Jul 31, 2023
12 checks passed
@tonyjongyoonan tonyjongyoonan deleted the wrr-flakey-threads branch July 31, 2023 21:03
larry-safran pushed a commit to larry-safran/grpc-java that referenced this pull request Aug 14, 2023
@ejona86 ejona86 removed this from the Next milestone Aug 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 23, 2023
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.

static stride scheduler is flakey/not thread-safe
3 participants