feature/patch #479
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#479
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/patch"
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?
@ -0,0 +15,4 @@
"go.uber.org/zap"
)
const maxPatchSize = 5 * 1024 * 1024 * 1024
It would be nice to write
@ -535,6 +547,229 @@ func (n *Layer) CopyObject(ctx context.Context, p *CopyObjectParams) (*data.Exte
})
}
func (n *Layer) PatchObject(ctx context.Context, p *PatchObjectParams) (*data.ExtendedObjectInfo, error) {
Let's add these new methods in new file
patch.go
@ -538,0 +623,4 @@
}, nil
}
func (n *Layer) patchMultipartObject(ctx context.Context, p *PatchObjectParams) (*data.ExtendedObjectInfo, error) {
This method has lenght ~150. Can we split it to several functions?
Please, update CHANGELOG.md
It seems we should also update policy-engine to support
PatchObject
in APE (to be able to use this action inPutBucketPolicy
)714af94de5
to72e983e4e2