Skip to content

Make `pycurl.E_PARTIAL_FILE` retriable

Adam Coldrick requested to merge sotk/bugs/retry-start-multipart-upload into master

Before raising this MR, consider whether the following are required, and complete if so:

  • Unit tests
  • Metrics
  • Documentation update(s)

If not required, please explain in brief why not.

Description

start_multipart_upload can sometimes fail, and currently this fails the whole blob upload. The error we're getting is E_PARTIAL_FILE, which should be a transient issue and safe to retry. This MR updates the list of retriable pycurl errors to include this one.

Edited by Adam Coldrick

Merge request reports