mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-27 14:45:49 +03:00
[GH-ISSUE #313] Generate Crc32c and Md5Hash when seeding from disk #2211
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#2211
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 @fsouza on GitHub (Aug 26, 2020).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/313
When loading objects from disk, we should also calculate the proper crc32 check and the md5 hash.
@antonydenyer commented on GitHub (Aug 27, 2020):
This is a broader topic than just calculating hashes.
Currently when using a preloaded data from disk data is fetched at execution time. ie when you call the
ListBucketsendpoint the function will read from disk at the point in time. Subsequent calls toListBucketswill just read from disk again. You could have the scenario where folders/buckets are created without going through thecreateBucketendpoint. I don't think this is a problem.