The second lock is not installed on simple objects #611
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#611
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
Case:
Epoch 9: Object A expires at epoch 10
Epoch 9: Lock for A with expiration=12.
Epoch 11: Lock for A with expiration=14, previous lock still available.
Epoch 13: Lock for A with expiration=16, previous lock still available, but the first one is not.
Epoch 17: Object is removed.
Current Behavior
A simple object was not found when installing the second lock.
(Epoch 11: Lock for A with expiration=14)
RuntimeError: Command: frostfs-cli --config '' object lock --rpc-endpoint '' --wallet '' --cid '4PVAbemcA9AV9R4Nb2igzeSRa99CZMfVsvTmRz16azPQ' --oid 'DZfE9Wyo9TN4RNMvrfE5HVET6ZJ9tSaRyw8hgQZepGTY' --expire-at 1270
Error:
return code: 1
output: failed to get raw object header: read object header via client: status: code = 2049 message = object not found
Context
frostfs-testcases/pytest_tests/testsuites/object/test_object_lock.py
Expired object should be removes after relocks are expired for simple object
Your Environment
Extend tests for LOCK objectsto The second lock is not installed on simple objectsCould not reproduce