-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
TaskCancellation #7669
Merged
Merged
TaskCancellation #7669
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
169c540
Smol comment
ijrsvt 682c5b5
Merge branch 'master' into TaskCancellation
ijrsvt 2d020ba
WIP, not passing ray.init
ijrsvt 1958e05
Fixed small problem
ijrsvt 4fdeb5a
wip
ijrsvt 40b2bb5
Pseudo interrupt things
ijrsvt d1295c3
Basic prototype operational
ijrsvt 269a3b1
Merge branch 'master' of github.com:ijrsvt/ray into TaskCancellation
ijrsvt 028d9f7
correct proc title
ijrsvt a4b58e5
Mostly done
ijrsvt 33ad6a1
Cleanup
ijrsvt 4f7eec7
cleaner raylet error
ijrsvt cc3ca28
Cleaning up a few loose ends
ijrsvt bd47066
Fixing Race Conds
ijrsvt c0b5ab4
Prelim testing
ijrsvt 58c8bed
Fixing comments and adding second_check for kill
ijrsvt bae435f
Working_new_impl
ijrsvt 9ab039d
demo_ready
ijrsvt d85496d
Fixing my english
ijrsvt d0ba816
Merge branch 'master' into TaskCancellation
ijrsvt 652a0fe
Fixing a few problems
ijrsvt daac610
Small problems
ijrsvt b050b28
Cleaning up
ijrsvt b0457a3
Response to changes
ijrsvt 18b3dbc
Fixing error passing
ijrsvt b813faf
Merge branch 'master' into TaskCancellation
ijrsvt 112d7d8
Merged to master
ijrsvt ff8bbd3
fixing lock
ijrsvt af35898
Cleaning up print statements
ijrsvt b015c51
Format
ijrsvt 616f487
Fixing Unit test build failure
ijrsvt 2361273
mock_worker fix
ijrsvt 9dba915
java_fix
ijrsvt 9a43056
Canel
ijrsvt 68a6458
Switching to Cancel
ijrsvt 46545e1
Responding to Review
ijrsvt 7308225
FixFormatting
ijrsvt 1f95492
Merge branch 'master' into TaskCancellation
ijrsvt 9a0d120
Lease cancellation
ijrsvt 82a6248
FInal comments?
ijrsvt 3270f92
Moving exist check to CoreWorker
ijrsvt 794f146
Fix Actor Transport Test
ijrsvt e43ea33
Fixing task manager test
ijrsvt 9beea80
chaning clock repr
ijrsvt 2a789f5
Fix build
ijrsvt 8c75a83
fix white space
ijrsvt 8f7bdfe
lint fix
ijrsvt 6f1ef56
Updating to medium size
ijrsvt f7fb69f
Fixing Java test compilation issue
ijrsvt e8cd360
lengthen bad timeouts
ijrsvt 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
Switching to Cancel
- Loading branch information
commit 68a6458f0b6f1a62cd89d8c7b0b23cb8b99c16b5
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
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
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
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.
I think it's better to have this logic in the core worker instead of in Python, so that it's easier to extend it across other languages. In the core worker, you can also check if the actor ID is nil instead of checking whether it's in
ray.actors()
. I'm actually not sure what the semantics ofray.actors()
is; checking the ID seems safer.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.
Okay! I'll move that Actor logic to core worker. Should I also check
isinstance
in core_worker?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.
+1