[GH-ISSUE #313] Generate Crc32c and Md5Hash when seeding from disk #64

Closed
opened 2026-03-03 12:07:56 +03:00 by kerem · 1 comment
Owner

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.

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.
kerem 2026-03-03 12:07:56 +03:00
Author
Owner

@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 ListBuckets endpoint the function will read from disk at the point in time. Subsequent calls to ListBuckets will just read from disk again. You could have the scenario where folders/buckets are created without going through the createBucket endpoint. I don't think this is a problem.

<!-- gh-comment-id:681664961 --> @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 `ListBuckets` endpoint the function will read from disk at the point in time. Subsequent calls to `ListBuckets` will just read from disk again. You could have the scenario where folders/buckets are created without going through the `createBucket` endpoint. I don't think this is a problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#64
No description provided.