mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[PR #818] [CLOSED] Revert partial support for generations in the filesystem backend #942
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#942
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/818
Author: @fsouza
Created: 6/6/2022
Status: ❌ Closed
Base:
main← Head:generation-changes📝 Commits (2)
3f967e7Revert "internal/backend: fs storage generates the destination now"dc840a5Revert "backend/fs: set object Generation when creating the object"📊 Changes
2 files changed (+4 additions, -8 deletions)
View changed files
📝
internal/backend/backend_test.go(+4 -1)📝
internal/backend/fs.go(+0 -7)📄 Description
The original fix released in 1.38.1 caused a regression (see #816).
Turns out we can't support generation partially: it has to come with versioning. Anyone needing support for generations for now has to use the memory backend, the only backend that supports versioning at the moment.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.