Skip to content
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

[tune] Retry cloud sync up/down/delete on fail #22029

Merged
merged 5 commits into from
Feb 15, 2022

Conversation

krfricke
Copy link
Contributor

@krfricke krfricke commented Feb 1, 2022

Why are these changes needed?

Syncing of checkpoints to/from cloud storage or deleting them sometimes fails due to endpoint issues (i.e. AWS/GS communication). In these cases we usually want to retry the command as failures are often stochastic. This PR hopefully improves test rate of our durable upload release tests.

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@@ -251,6 +256,7 @@ def __init__(
self.logfile = None
self._closed = False
self.cmd_process = None
self._last_cmd = None
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we add a comment here what this is for?

Copy link
Contributor

@xwjiang2010 xwjiang2010 left a comment

Choose a reason for hiding this comment

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

Looks great. Just a nit.

@krfricke
Copy link
Contributor Author

krfricke commented Feb 2, 2022

@xwjiang2010
Copy link
Contributor

xwjiang2010 commented Feb 4, 2022

Restart test runs? Now that the release test is fixed by you :-)

@krfricke krfricke merged commit c866131 into ray-project:master Feb 15, 2022
@krfricke krfricke deleted the tune/sync-retry branch February 15, 2022 12:27
simonsays1980 pushed a commit to simonsays1980/ray that referenced this pull request Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants