TransferConfig for multipart upload

0

Customer wants to tune their multipart upload configuration for more resiliency. They are using boto3, and have looked at TransferConfig, and notice it has a tunable retry number for downloads, but not uploads. They are looking for information on tuning retry behavior for multipart upload. Can you set a max? Is there a default max retry of multi part upload for a particularly object? In general, do we have any documentation on this?

AWS
Ted_Z
已提問 3 年前檢視次數 354 次
1 個回答
0
已接受的答案

You can potentially update in the Botocore config. That's where the default retry comes from. A sample retry configuration from https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html

by using

[myConfigProfile]
region = us-east-1
max_attempts = 10
retry_mode = standard

or

config = Config(
   retries = {
      'max_attempts': 10,
      'mode': 'standard'
   }
)
AWS
Vivek_S
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南