Repository navigation
Repro for channel hang with pls extensions disabled - #6554
Conversation
|
Looking at the traffic, the app is sending the request, but it's not hitting the network. |
|
cc @prbprbprb |
|
What's the failure mode? Is it just a missing flush? |
|
It gets stuck in a write call |
|
@swankjesse I think the test on it's own has value. Would like to land as is then work on the fix as a separate fix or workaround. |
|
We end up with reader threads blocked in SocketChannelRead with a lock and writers blocked at worse when we timeout they cleanup works gets blocked in a closeQuietly call |
Going to land this as it's test only, would appreciate a follow up approval, or I can revert. But I'm stacking GitHub PRs at this point. |
swankjesse
left a comment
There was a problem hiding this comment.
LGTM
Sorry for the slow review. Is there anything we'll fix from this?
We could probably try to make channels work slowly by avoid long blocking operations, but I just told presto to avoid. |



https://twitter.com/virus_dave/status/1358266888543997952
Failing on JDK 11, with SocketChannel instead of regular socket, unless pls extensions are disabled.