mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
s3: detect looping when using gcs and versions
Apparently gcs doesn't return an S3 compatible result when using versions. In particular it doesn't return a NextKeyMarker - this means rclone loops and fetches the same page over and over again. This patch detects the problem and stops the infinite retries but it doesn't fix the underlying problem. See: https://forum.rclone.org/t/list-s3-versions-files-looping-bug/42974 See: https://issuetracker.google.com/u/0/issues/312292516
This commit is contained in:
@@ -3685,6 +3685,12 @@ secret_access_key = your_secret_key
|
||||
endpoint = https://storage.googleapis.com
|
||||
```
|
||||
|
||||
**Note** that `--s3-versions` does not work with GCS when it needs to do directory paging. Rclone will return the error:
|
||||
|
||||
s3 protocol error: received versions listing with IsTruncated set with no NextKeyMarker
|
||||
|
||||
This is Google bug [#312292516](https://issuetracker.google.com/u/0/issues/312292516).
|
||||
|
||||
### DigitalOcean Spaces
|
||||
|
||||
[Spaces](https://www.digitalocean.com/products/object-storage/) is an [S3-interoperable](https://developers.digitalocean.com/documentation/spaces/) object storage service from cloud provider DigitalOcean.
|
||||
|
||||
Reference in New Issue
Block a user