mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[PR #678] [CLOSED] Store object metadata and data separately #820
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#820
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?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/678
Author: @gaul
Created: 2/8/2022
Status: ❌ Closed
Base:
main← Head:fs/data📝 Commits (1)
ae0af7eStore object metadata and data separately📊 Changes
2 files changed (+30 additions, -5 deletions)
View changed files
📝
internal/backend/fs.go(+29 -4)📝
internal/backend/object.go(+1 -1)📄 Description
The former remains a JSON-encoded blob while the latter is stored in its
native format. This reduces memory usage and is much faster by avoiding
JSON-encoding large objects. This enables a future commit to avoid
reading the entire object, particularly for range requests. Note that
this commit changes the on-disk format and is not compatible with
previous data sets. References #669. Fixes #671.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.