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 issue when pruning a supervisor and its supervisees via callbacks #306

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

rosa
Copy link
Member

@rosa rosa commented Aug 27, 2024

This is a follow-up to #277.

In that case, we weren't correctly failing executions as a consequence of the prune because the processes would get deleted via a callback without going through the regular prune. Leave this to the prune itself instead of relying on the callbacks and only deregister supervised processes when not pruning. This also saves a query because we check whether we have a supervisor or not before trying to find supervisees.

In that case we weren't correctly failing executions as a consequence of
the prune because the processes would get deleted via a callback without
going through the regular prune. Leave this to the prune itself instead
of relying on the callbacks and only deregister supervised processes
when not pruning. This also saves a query because we check whether we
have a supervisor or not before trying to find supervisees.
@rosa rosa merged commit 7901a8e into main Aug 27, 2024
8 checks passed
@rosa rosa deleted the fix-fail-jobs-when-deregistering-supervisor branch August 27, 2024 17:34
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.

1 participant