Do bucket access preflight before local processing #16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/16/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR makes a pre-flight check to confirm bucket access permissions before starting any actual processing. Depending on the AWS authorization used, for example, sessions can time out while the archive is being created. This check prevents these expensive IO operations from being performed if there is an issue accessing the bucket at the start of a run.
We can not determine if a timeout occurred while still archiving since we have not implemented multi-threading (yet).