mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[GH-ISSUE #1080] Minimum chunk size not enforced #164
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Originally created by @ianhomer on GitHub (Feb 21, 2023).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1080
We see a different behaviour on fake GCS server when chunk size is below the minimum of 262144 - https://cloud.google.com/storage/docs/performing-resumable-uploads
On fake GCS
accepts the partial upload and responds status code 308 with
On real GCS
we get a 400 with response
When chunk size is multiple of 262144 both behave in a similar manner.
The small chunk size is handy for some test scenarios, however since it does not match the behaviour of real GCS, it masks a failure scenario that would be good to test with fake gcs.
Should fake GCS mirror this real GCS behaviour where a minimum chunk size is enforced?
@fsouza commented on GitHub (Feb 21, 2023):
Hey @ianhomer, thanks for reporting. We should definitely mirror GCS' behavior.