The occurrence of panic in the PutObjectLegalHold and PutObjectRetention operations #605
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#605
Loading…
Add table
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?
If the object has the
Quota limit reached
status, then a panic occurs in s3-gw when performingPutObjectLegalHold
orPutObjectRetention
operations.Expected Behavior
If the object has the
Quota limit reached
status, thenPutObjectLegalHold
orPutObjectRetention
operations should not cause panic. They must be committed with an error exceeding the limit.Current Behavior
When performing
PutObjectLegalHold
orPutObjectRetention
operations, a panic occurs here. To be more specific, thenprm.Payload == nil
.Stacktrace:
Steps to Reproduce (for bugs)
Quota limit reached
.PutObjectLegalHold
orPutObjectRetention
operation.