mirror of
https://github.com/nspcc-dev/neofs-s3-gw.git
synced 2026-03-01 04:29:15 +00:00
Tagging notifications in tree service #260
Labels
No labels
I2
I2
I3
I4
S2
S3
S4
S4
U0
U1
U2
U2
U3
U4
U4
auth-mate
blocked
bug
config
dependencies
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
performance
question
security
test
tree-service
tree-service
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-s3-gw#260
Loading…
Add table
Add a link
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?
Originally created by @alexvanin on GitHub (Jun 22, 2022).
Originally assigned to: @KirillovDenis on GitHub.
In tree service branch, we can't use
objInfostructure in notifications like we do on master branch afternspcc-dev/neofs-s3-gw@bd5fd041b7. The reason is that object tagging does not involve operations in object service anymore.I have a couple proposals.
Do not use
data.ObjectInfoinSendNotificationsParams. Notification uses only a small subset of fields fromObjectInfo: name, size, version, etag (hash). Those can be defined in a separate structure which can be built based onObjectInfoor from scratch.Specify version in tagging notifications. Version is available in request. Without (1) we have to parse version into object.ID and then set it in
ObjectInfo. After (1) we can set version string directly.Check what field actually need to be specified. In some notifications like delete notifications we avoid size and etag. I guess it is okay, but can we avoid this info in tagging notifications?
@alexvanin commented on GitHub (Jun 22, 2022):
/cc @masterSplinter01 @KirillovDenis
@KirillovDenis commented on GitHub (Jun 22, 2022):
It seems it's one more case where we want to store
sizeandetagin tree service.@alexvanin commented on GitHub (Jun 23, 2022):
May be useful for multipart upload (check) and for expiration in https://github.com/nspcc-dev/neofs-s3-gw/issues/192#issuecomment-1161447217.
@alexvanin commented on GitHub (Jul 7, 2022):
Blocked the same as https://github.com/nspcc-dev/neofs-s3-gw/issues/533#issuecomment-1157524328
@alexvanin commented on GitHub (Jul 18, 2022):
Unblocked due to https://github.com/nspcc-dev/neofs-s3-gw/pull/536#issuecomment-1186941185
@KirillovDenis commented on GitHub (Jul 20, 2022):
Done in #598