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 race condition in epoll ASIO system #4658

Merged
merged 1 commit into from
Mar 8, 2025
Merged

Fix race condition in epoll ASIO system #4658

merged 1 commit into from
Mar 8, 2025

Conversation

SeanTAllen
Copy link
Member

The removed code was accessing an event that was also being modified from other threads. In particular, by the TCP Connection actor that the event belonged to (only TCPConnection currently uses one-shot events).

This could lead to all the hilarity that one can expect from things.

Closes #4639

The removed code was accessing an event that was also being modified
from other threads. In particular, by the TCP Connection actor that
the event belonged to (only TCPConnection currently uses one-shot
events).

This could lead to all the hilarity that one can expect from things.

Closes #4639
@SeanTAllen SeanTAllen requested a review from dipinhora March 7, 2025 20:45
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Mar 7, 2025
@SeanTAllen SeanTAllen added changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge and removed discuss during sync Should be discussed during an upcoming sync labels Mar 7, 2025
@SeanTAllen
Copy link
Member Author

This has been run through the linux tcp open close stress tests 5 times.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Mar 7, 2025
@SeanTAllen SeanTAllen merged commit 906221c into main Mar 8, 2025
31 checks passed
@SeanTAllen SeanTAllen deleted the issue-4639-3 branch March 8, 2025 00:28
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Race condition in the epoll ASIO subsystem
3 participants