-
Notifications
You must be signed in to change notification settings - Fork 38
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
Tombstone classified as root object #151
Comments
Well, physically tombstones are root objects. Is there a requirement to exclude tombstones from such a search? |
Yes, in nspcc-dev/neofs-api-go#163 we discussed |
According to neofs-api tombstones match root filter. Is it a bug in API? |
I would like to say yes, but maybe there are different opinions on that. Neofs-api contains implementation details, but it lacks the meaning behind root and leaf objects (as for me, they should represent user and system scopes) |
What do you think @realloc? |
I think Tombstones are a special type of objects, as indicated in Tombstone has a list of engraved objects in it's payload, just like Storage Group does. It doesn't participate in split hierarchy directly, it doesn't have split headers and because of that it should not be treated as leaf or root object. I propose to exclude Tombstones and Storage Groups from regular search and reflect that behaviour in documentation. |
While I agree that only regular objects should be treated as root object, I cannot agree about leafs. Leafs are designed to return physically stored object. It is useful for system operations like replication because storage groups, tombstone and regular objects should be treated equally. |
I propose to implicitly add |
Object search with
--root
flag in CLI returns tombstone object ID but it shouldn't.Steps to Reproduce
root
objects.Your Environment
The text was updated successfully, but these errors were encountered: