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
preguntada hace 3 años354 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas