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

Fix hanging net_kernel #4934

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

sverker
Copy link
Contributor

@sverker sverker commented Jun 3, 2021

Closes GH-4931.

@sverker sverker self-assigned this Jun 3, 2021
@sverker sverker added fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI labels Jun 3, 2021
Symptom: net_kernel hanging waiting for {'EXIT', OldOwner, _}

Problem: OldOwner has already exited and the exit message has already
been handled. This is possible to happen because
erts_internal:abort_pending_connection can return false in
pending_nodedown() which does not change the connection state in
sys_dist ETS table. I does however remove the owner pid from
state.conn_owners which this fix uses.
@sverker sverker force-pushed the sverker/net_kernel-hang/GH-4931 branch from 82cc859 to 34d0f7f Compare June 7, 2021 15:46
@sverker sverker merged commit 3ee8ed8 into erlang:maint Jun 7, 2021
@sverker sverker deleted the sverker/net_kernel-hang/GH-4931 branch June 7, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant