-
Notifications
You must be signed in to change notification settings - Fork 975
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
FIFO order is not respected in DefaultEndpoint#notifyChannelActive() #2598
Comments
propose a fix: #2597 |
Good catch. How did you encounter the issue? Looking at the PR, it generally makes sense to hold a |
Hi @mp911de thank you for the reply! I found this issue by reading the source code. The
Also the notify event methods may be also called concurrently in the scenario where a connection disconnects and a new connection is established since netty by default uses round-robin to determine which event loop thread a connection should bind. But in |
@mp911de any updates? |
I've spent some time looking at the test case you've prepared. Let's continue the discussion in #2597 |
Bug Report
FIFO order is not respected in DefaultEndpoint#notifyChannelActive()
Current Behavior
A later write from the same user thread may be sent first
// your stack trace here;
Input Code
Input Code
// your code here;
Expected behavior/code
Environment
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: