Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complex object cannot be removed if link object is deleted #2100

Closed
abereziny opened this issue Nov 24, 2022 · 0 comments · Fixed by #2133
Closed

Complex object cannot be removed if link object is deleted #2100

abereziny opened this issue Nov 24, 2022 · 0 comments · Fixed by #2133
Assignees
Labels
bug Something isn't working U3 Regular

Comments

@abereziny
Copy link

abereziny commented Nov 24, 2022

Let say we have:

  1. Complex object with id 123
  2. Link object with id 123-link
  3. Link object with id 123-link was deleted

Steps:

  1. Try to delete complex object
neofs-cli --config wallet_config.yml object delete --rpc-endpoint '<endpoint>' --wallet '51bb4c44-f545-4967-83e7-d36eb166e513.json' --cid '<container_id>' --oid '123'

Expected Behavior

It should be possible to still delete object

Current Behavior

failed to get linking object's header: read object header via client: status: code = 2052 message = object already removed

Tests

in feature branch feature-abereziny-test-complex-deletion-with-no-link
pytest_tests/testsuites/object/test_object_lock.py#test_should_be_possible_to_delete_complex_object_if_link_object_is_absent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working U3 Regular
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants