Regression of negative content-length support #486
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-s3-gw#486
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?
Expected Behavior
Negative or omitted content-length does not affect size attribute of the object, it sets according to the size of processed payload (#125)
Current Behavior
Cached value contains correct size, but tree node does not.
Possible Solution
Use
createdObject.Size
instead ofp.Size
here.It might affect SSE, need to investigate more.
Steps to Reproduce (for bugs)
To avoid service restart, list object versions and check size
Also this unit test should pass
Context
The issue was found during investigation of aws-chunked content-length set up.
Regression
Yes, regression was introduced in
4ad84b9b94 (diff-f8525245fe53f1afda1cefca811b6f70094a431b)
Your Environment
FrostFS S3 Gateway v0.30.2
mbiryukova referenced this issue2024-09-12 15:53:06 +00:00
alexvanin referenced this issue2024-09-16 09:37:16 +00:00