GoogleCloudPlatform / GoogleCloudPlatform/gsutil

rsync -C doesn't properly resume after an error

Open
#931 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

On a linux system running gsutil version: 4.46,

Running 'gsutil rsync -C' will not continue uploading files after a resumable error, such as the following:
```Error copying file:///tmp/OUTPUT: ResumableUploadAbortException: Upload complete with 32476664 additional bytes left in stream; this can happen if a file changes size while being uploaded```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with `gsutil rsync -C` on Linux using a file that triggers the reported resumable upload error. Trace the rsync handling after `ResumableUploadAbortException`; done means the command continues uploading remaining files after that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.