-
-
Notifications
You must be signed in to change notification settings - Fork 749
Closed
Labels
Description
This is a regression introduced in #6342 + #6348.
- Two tasks, x and y, are only available on a busy worker.
The worker sendsrequest-refresh-who-hasto the scheduler. - The scheduler responds with
refresh-who-has, stating that x has become missing, while y has gained an additional replica. - The handler for
RefreshWhoHasEventemptiesx.who_hasand recommends a transition to missing. - Before the recommendation can be implemented, the same event handler invokes
_ensure_communicatingto allow y to transition to flight. This in turn pops x fromdata_needed- but x has an empty who_has, which trips an AssertionError in_ensure_communicating. - This in turn trips
@fail_hard, which violently shuts down the whole worker.