-
-
Notifications
You must be signed in to change notification settings - Fork 719
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Annotation-less P2P shuffling (#7801)
Co-authored-by: Florian Jetter <[email protected]>
- Loading branch information
1 parent
b68d71d
commit 21b70be
Showing
12 changed files
with
328 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from __future__ import annotations | ||
|
||
|
||
class Reschedule(Exception): | ||
"""Reschedule this task | ||
Raising this exception will stop the current execution of the task and ask | ||
the scheduler to reschedule this task, possibly on a different machine. | ||
This does not guarantee that the task will move onto a different machine. | ||
The scheduler will proceed through its normal heuristics to determine the | ||
optimal machine to accept this task. The machine will likely change if the | ||
load across the cluster has significantly changed since first scheduling | ||
the task. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.