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

[WIP] Update Worker._executing handling #5500

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion distributed/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2060,6 +2060,7 @@ def transition_waiting_ready(self, ts, *, stimulus_id):
def transition_generic_error(
self, ts, exception, traceback, exception_text, traceback_text, *, stimulus_id
):
self._executing.discard(ts)
ts.exception = exception
ts.traceback = traceback
ts.exception_text = exception_text
Expand All @@ -2073,7 +2074,6 @@ def transition_executing_error(
):
for resource, quantity in ts.resource_restrictions.items():
self.available_resources[resource] += quantity
self._executing.discard(ts)
return self.transition_generic_error(
ts,
exception,
Expand Down