-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Data] Add SERVICE_UNAVAILABLE
to list of retried transient errors
#47673
Conversation
Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
@@ -114,6 +116,7 @@ | |||
"AWS Error NETWORK_CONNECTION", | |||
"AWS Error SLOW_DOWN", | |||
"AWS Error UNKNOWN (HTTP status 503)", | |||
"AWS Error SERVICE_UNAVAILABLE", |
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.
should we also add this to DEFAULT_RETRIED_IO_ERRORS
?
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.
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.
oh sorry i got confused by the top comment above DEFAULT_WRITE_FILE_RETRY_ON_ERRORS
. for backwards compatibility, should we also add it in DEFAULT_WRITE_FILE_RETRY_ON_ERRORS
?
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.
DEFAULT_WRITE_FILE_RETRY_ON_ERRORS
isn't used anywhere right now. If you try to configure write_file_retry_on_errors
, Ray Data emits a warning instructing you to configure retried_io_errors
instead.
…ay-project#47673) While reading or writing files with Ray Data, S3 might raise a transient SERVICE_UNAVAILABLE error. This PR adds the error to the list of retried transient errors. Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu>
…ay-project#47673) While reading or writing files with Ray Data, S3 might raise a transient SERVICE_UNAVAILABLE error. This PR adds the error to the list of retried transient errors. Signed-off-by: Balaji Veeramani <bveeramani@berkeley.edu> Signed-off-by: ujjawal-khare <ujjawal.khare@dream11.com>
Why are these changes needed?
While reading or writing files with Ray Data, S3 might raise a transient
SERVICE_UNAVAILABLE
error. This PR adds the error to the list of retried transient errors.Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.