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

Bug fix #4376 #4393

Conversation

Arkatufus
Copy link
Contributor

Closes #4376

@Aaronontheweb
Copy link
Member

Definitely looks like there's a bug with the supervision code when the parent actor is a pool router.

@Arkatufus Arkatufus marked this pull request as ready for review May 7, 2020 14:19
Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change needed


if (IsTerminated) SendAllToDeadLetters(todo);
else if (!todo.IsEmpty) SysMsgInvokeAll(todo, newState);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, let's put the while loop back in place so we can save on recursion costs - shouldn't be a big deal either way since system messages are pretty rare but I'd feel more comfortable only changing one thing at a time here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@Aaronontheweb Aaronontheweb merged commit d1665f4 into akkadotnet:dev May 8, 2020
@Arkatufus Arkatufus deleted the #4376_Superviser_failed_to_handle_multiple_children_failure branch February 27, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Akka.Net actors freezing
2 participants