Uh oh!
There was an error while loading. Please reload this page.
Fix thread pool hang - #56346
Conversation
This reverts commit 0a5e93b.
ghost
commented
Jul 27, 2021
Tagging subscribers to this area: @mangod9 Issue Details
Fixes #55642
|
stephentoub
commented
Jul 27, 2021
Thanks for tracking this down! There was some suspicion this may also have been contributing to some of the CI hangs we've seen recently. It'll be interesting to see if their rate decreases after this goes in. |
danmoseley
commented
Jul 27, 2021
Is there anything that could be done to create a test that would catch this kind of failure? Or do we already have that in the Quic tests 😄 |
wfurt
commented
Jul 27, 2021
Seems like tricky business @danmoseley. It was found by standard conformance Stream tests (with synchronous IO). |
wfurt
left a comment
There was a problem hiding this comment.
The QUIC part looks good to me. I'll give it try tomorrow.
danmoseley
commented
Jul 27, 2021
True, but I have seen @kouvel devise unit tests that consistently repro the most sporadic issues, so I thought I'd ask 😄 |
davidfowl
commented
Jul 27, 2021
I wonder if coyote could come in handy here https://microsoft.github.io/coyote/ |
kouvel
commented
Jul 27, 2021
I had some difficulty in reproing it initially when I tried but upon trying a few more things I got a fairly frequent repro now on my Windows machine, added a test. |
- Depends on dotnet/runtime#56346 - Reverted commit 3d57bee from PR #2324 since the relevant change to `ThreadCounts` was reverted in dotnet/runtime#56346
ThreadCounts, it turns out that there are a few subtle races that it was avoiding. There are other ways to fix it, but I've added the goal back intoThreadCountsfor now.Fixes#55642