GeezerVison is showing github.com — chore: Extract a selectReturnPrematurely method by He-Pin · Pull Request #14675 · netty/netty
Conversation
He-Pin
commented
Jan 15, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Motivation:
We want to watch if this happens in production, but I can't, So I need to extract it to a dedicated method, then I can watch it with:
https://github.com/alibaba/arthas
watch io.netty.channel.nio.NioEventLoop selectReturnPrematurely '{params,returnObj,throwExp}' -n 5 -x 3
Modification:
Extract the current test method to a dedicated method.
Result:
Make it watchable
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@He-Pin I'll leave it up to you if you also want something like this in 4.2. The refactorings in the internal transport APIs means this can't really be ported as is but has to be redone.
|
He-Pin reacted with heart emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Sep 14, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|