1
mirror of https://github.com/rclone/rclone synced 2024-12-03 13:14:37 +01:00
rclone/backend/azureblob
Nick Craig-Wood b1d8da484b azureblob: retry InvalidBlobOrBlock error as it may indicate block concurrency problems
According to Microsoft support this error can be caused by

> A timing/concurrency issue where the PUT operations are happening
> about the same time for a single blob. The Put Block List operation
> writes a blob by specifying the list of block IDs that make up the
> blob. In order to be written as part of a blob, a block must have
> been successfully written to the server in a prior Put Block
> operation.
>
> Documentation reference:
>
> https://docs.microsoft.com/en-us/rest/api/storageservices/put-block
>
> This error can happen when doing concurrent upload commits after you
> have started the upload but before you commit. In that case, the
> upload fails. The application can retry this error or attempt some
> other recovery action based on the required scenario.

See: https://forum.rclone.org/t/error-while-syncing-with-azure-blob-storage-x-ms-error-code-invalidbloborblock/15561
2020-04-28 17:47:10 +01:00
..
azureblob_internal_test.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00
azureblob_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
azureblob_unsupported.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00
azureblob.go azureblob: retry InvalidBlobOrBlock error as it may indicate block concurrency problems 2020-04-28 17:47:10 +01:00