Expired locked object is unavailable #2
Labels
No labels
P0
P1
P2
P3
good first issue
triage
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-api#2
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?
for details please see https://github.com/nspcc-dev/neofs-node/issues/2099#issuecomment-1367541588
Pre-requisites:
Steps:
Current Behavior:
rpc error: read object header via client: status: code = 2049 message = object not found
because object was expired.It's stated that object is still locked and not deleted, but object is unavailable (which doesn't have any sense)
Behavior that have sense:
Object should be available because locks prevents it from being deleted. (from user perspective: lock expiration should override object expiration)
Current behavior have no sense because locks should prevent object from being deleted, however, from user perspective unavailable object is the same as deleted.
Tests
bd05aae585/pytest_tests/testsuites/object/test_object_lock.py (L260)
,L325Let's research how S3/different protocols behave in this way.
Do we have any particular expectations in S3 protocol? cc @alexvanin @KirillovDenis
In
aws s3
andminio
locked objects cannot be deletedMore details:
delete-marker
(it doesn't delete original version)https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-lifecycle
https://min.io/docs/minio/linux/administration/object-management/object-retention.html#interaction-with-lifecycle-management
We have done the work in node, let's change the docs here (if locked object expires, it is available).