Skip to content

Update fault-tolerance.rst - #26875

Closed
valiantljk wants to merge 1 commit into
ray-project:masterfrom
valiantljk:patch-1
Closed

valiantljk wants to merge 1 commit into
ray-project:masterfrom
valiantljk:patch-1

Conversation

@valiantljk

@valiantljk valiantljk commented Jul 22, 2022 •

Copy link
Copy Markdown
Contributor

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

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]>
# raise a `RayActorError`.
for _ in range(10):
# raise a `RayActorError` if the actor dies again.
for _ in range(11):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To better match the comment, I think we should do a for loop of 60 times before and here just call it once.

@stale

stale Bot commented Sep 8, 2022

Copy link
Copy Markdown

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.

  • If you'd like to keep this open, just leave any comment, and the stale label will be removed.

@stale stale Bot added the stale The issue is stale. It will be closed within 7 days unless there are further conversation label Sep 8, 2022
@stale

stale Bot commented Sep 24, 2022

Copy link
Copy Markdown

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!

@stale stale Bot closed this Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale The issue is stale. It will be closed within 7 days unless there are further conversation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants