You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Give the S3 filesystem its own default retry codes #1375
The filesystem gets its own default S3 retry codes, separate from Athena's. When the retry policy of a connection is still the default, the S3 codes are added. A policy that the user configured is used as given.
The default RetryConfig retries THROTTLING_ERROR_CODES (util.py:56), which are Athena's codes. With one injected error each, PyAthena's layer made 2 attempts on ThrottlingException, and 1 attempt on S3's SlowDown (OSError(EBUSY)), ServiceUnavailable (OSError(EBUSY)), InternalError (OSError(EIO)), and RequestTimeout (TimeoutError). Only botocore retries S3 errors, so stop_retries_on and unstoppable_retries govern no S3 retry by default. docs/filesystem.md:482 says only that requests are "sent with the retry policy".
To decide in the PR
The exact codes, and how the two retry layers (botocore and PyAthena) compose in attempts and elapsed time; the docs state both.
Activity