I'm on an DRA (Durable Reduced Availability) bucket and I perform the gsutil rsync command quite often to upload/download files to/from the bucket.
Since file) could be unavailable (because of the DRA), what exactly will happen during a gsutil rsync
session when such a scenario is being hit?
- Will
gsutil
just wait until the unavailable files becomes available and complete the task, thus always downloading everything from the bucket? - Or will
gsutil
exit with a warning about a certain file not being available, and if so exactly what output is being used (so that I can make a script to look for this type of message)? - What will the return code be of the
gsutil
command in a session where files are found to be unavailable?
I need to be 100% sure that I download everything from the bucket, which I'm guessing can be difficult to keep track of when downloading hundreds of gigabytes of data. In case gsutil rsync
completes without downloading unavailable files, is it possible to construct a command which retries the unavailable files until all such files have been successfully downloaded?