Repository navigation
Update fault-tolerance.rst - #26875
Closed
valiantljk wants to merge 1 commit into
Closed
valiantljk wants to merge 1 commit into
valiantljk wants to merge 1 commit into
Conversation
Fix the example code of max_task_retries. Existing code has set max actor restarts as 5, which means after 5 restarts, actor is alive. Then in testing the max_task_retries, actor keeps alive until self.counter=10. Signed-off-by: jialin <[email protected]>
valiantljk
requested review from
edoakes,
ericl,
maxpumperla,
pcmoritz,
richardliaw and
simon-mo
as code owners
July 22, 2022 06:16
jjyao
reviewed
Jul 26, 2022
| # raise a `RayActorError`. | ||
| for _ in range(10): | ||
| # raise a `RayActorError` if the actor dies again. | ||
| for _ in range(11): |
Contributor
There was a problem hiding this comment.
To better match the comment, I think we should do a for loop of 60 times before and here just call it once.
1 of 7 tasks
7 tasks
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
|
|
Hi again! The issue will be closed because there has been no more activity in the 14 days since the last message. Please feel free to reopen or open a new issue if you'd still like it to be addressed. Again, you can always ask for help on our discussion forum or Ray's public slack channel. Thanks again for opening the issue! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix the example code of max_task_retries.
Existing code has set max actor restarts as 5, which means after 5 restarts,
actor is alive. Then in testing the max_task_retries, actor keeps alive until self.counter=10.
Signed-off-by: jialin [email protected]
Why are these changes needed?
Related issue number
Checks
scripts/format.shto lint the changes in this PR.