mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[PR #873] [MERGED] Do not read the objects data on list #995
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#995
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/873
Author: @ironsmile
Created: 7/29/2022
Status: ✅ Merged
Merged: 5/3/2023
Merged by: @fsouza
Base:
main← Head:do-not-read-object-data-on-list📝 Commits (2)
0bf4764Do not read the objects data on list196c354backend/fs: make sure name and bucket are set in attrs📊 Changes
1 file changed (+28 additions, -14 deletions)
View changed files
📝
internal/backend/fs.go(+28 -14)📄 Description
I am back with my object listing improvements 😄
This optimization takes advantage of the fact that the object metadata
could now be read from disk without reading its data. Previously the
whole file was read from disk in order to obtain its size and nothing
more. Instead, now a simple Stat is used.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.