Support object name resolving via tree service #30
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-http-gw#30
Loading…
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?
Is your feature request related to a problem? Please describe.
HTTP Gateway works great to provide read access to the objects. It is often used together with a S3 Gateway so objects are upload via S3 and available via HTTP. Many web services use AWS S3 to store user's data and provide access to it from the web (e.g. attachment files in the notion.so).
HTTP Gateway now provides a way to access objects using:
FileName
.(2) has flaws, because S3 can re-upload object with the same key or store different versions of the same object. HTTP Gateway can't figure it out different versions and uses first
FileName
attribute match. We can improve it with integration of tree service.Describe the solution you'd like
Support
/get/<bucketname>/<key>
scheme and use latest version of the key. Support/get/<cid>/<oid>
for backward compatibility.Describe alternatives you've considered
Use separate endpoint like
/s3get/<bucketname>/<key>
. However it will be more difficult for nginx proxy to determine which endpoint to use. However regexp might solve this issue?Additional context
None.
Done in #45