-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Actor checkpointing with object lineage reconstruction #1004
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
Merged
robertnishihara
merged 24 commits into
ray-project:master
from
stephanie-wang:actor-checkpoint
Oct 12, 2017
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6973c38
Worker reports error in previous task, actor task counter is incremen…
stephanie-wang c58c437
Refactor actor task execution
stephanie-wang 8b3eb5c
Manually invoked checkpoint method
stephanie-wang 2cfa585
Scheduling for actor checkpoint methods
stephanie-wang 80d3887
Fix python bugs in checkpointing
stephanie-wang af008d7
Return task success from worker to local scheduler instead of actor c…
stephanie-wang a5acac4
Kill local schedulers halfway through actor execution instead of wait…
stephanie-wang f485a8e
Remove redundant actor tasks during dispatch, reconstruct missing dep…
stephanie-wang d314421
Make executor for temporary actor methods
stephanie-wang ea61ff5
doc
stephanie-wang 6f6e352
Set default argument for whether the previous task was a success
stephanie-wang f15e87c
Refactor actor method call
stephanie-wang cdba049
Simplify checkpoint task submission
stephanie-wang 2123a27
lint
stephanie-wang 71ff282
fix philipp's comments
stephanie-wang fe13536
Add missing line
stephanie-wang 7ad3c3a
Make actor reconstruction tests run faster
stephanie-wang d27d046
Unimportant whitespace.
robertnishihara 88db173
Unimportant whitespace.
robertnishihara 4306d87
Update checkpoint method signature
stephanie-wang b282b45
Documentation and handle exceptions during checkpoint save/resume
stephanie-wang 84d8ab5
Rename get_task message field to actor_checkpoint_failed
stephanie-wang 947d4b4
Fix bug.
robertnishihara 379718f
Remove debugging check, redirect test output
stephanie-wang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why
std::abs
? Is this negative sometimes? And if so, what does that mean?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I set the counter to be negative for checkpoint tasks. It was mostly to avoid adding another field to the task spec. Let me know if you prefer to just add a field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of negative numbers, i actually think adding a bool to the TaskSpec saying whether it is a checkpoint task or not is cleaner, what do you think?