Closed psrok1 closed 2 years ago
Minio sets retry policy, but it handles only completed responses (if I understand correctly: connect/read problems are not retried by default - https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html#urllib3.util.Retry)
https://github.com/minio/minio-py/blob/039c68bd812053c4815b15359933ce1cc56a4ca4/minio/api.py#L147
I think it would be safe to retry whole operation in case of these errors instead of changing only urllib3 retry policy.
closes #18, closes #170
I see that Boto3/Botocore is much better configured by default and already handles these timeouts and retries correctly.
Minio sets retry policy, but it handles only completed responses (if I understand correctly: connect/read problems are not retried by default - https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html#urllib3.util.Retry)
https://github.com/minio/minio-py/blob/039c68bd812053c4815b15359933ce1cc56a4ca4/minio/api.py#L147
I think it would be safe to retry whole operation in case of these errors instead of changing only urllib3 retry policy.
closes #18, closes #170