[#143] Fix NoSuchKey error on get/head #156
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 milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#156
Loading…
Reference in a new issue
No description provided.
Delete branch "dkirillov/frostfs-s3-gw:bugix/fix_not_found_error"
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?
Add forgotten check for sdk not found error.
There are some questions related to this topic:
Actually we get
200
http code because of writing header before reading object from FrostFS (if object id exists in the cache but not in storage we get 200 code and error in body, probably we can write status code header right after init reading)I think gateway will benefit from this unless it takes major refactor to make it happen.
Agree. There are cases when S3 docs tell the client that status code might not be relevant, e.g. with CompleteMultipartUpload. However, if it is possible to avoid it in this case, we should try to do it.
Ok, I'll create a new issue for that since it requires more changes than I'd like to add in this PR.
89463d711f
to0caa5dd3c5
0caa5dd3c5
tod531b13866
WIP: [#143] Fix NoSuchKey error on get/headto [#143] Fix NoSuchKey error on get/head