VFS Retry Option
Release Notes
- Added the Retry() method to the FileSystem interface, along with a no-op default retryer.
- Integrated the newly defined retryer interface into the GCS implementation of VFS and now allow the retry method to be injected as a FileSystem option.
- Integrated the request.Retryer from the s3 client as an injectable implementation for the S3 vfs.Option.
Upgrade steps
With v4.0.0, we introduced the ability to add a 'retry' option to each registered file system. This version bump will require an update to any existing FileSystem implementations. If a custom retryer is not required by the implemented file system, the default retryer can be returned.
func (fs *FileSystem) Retry() vfs.Retry {
return vfs.DefaultRetryer()
}