Comments (8)
I propose to implicitly add $Object:objectType=REGULAR
to $Object:ROOT
filter then and reflect it in api doc and leave other filters as-is.
from neofs-node.
Well, physically tombstones are root objects. Is there a requirement to exclude tombstones from such a search?
from neofs-node.
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 leaf
and root
objects as a system and user scope. Tombstone is an internal implementation detail and should not be seen in user scope, therefore tombstone is not a root object
. However it is a physically stored object, that can be migrated and replicated, so it is a leaf
.
from neofs-node.
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
leaf
androot
objects as a system and user scope. Tombstone is an internal implementation detail and should not be seen in user scope, therefore tombstone is not aroot object
. However it is a physically stored object, that can be migrated and replicated, so it is aleaf
.
According to neofs-api tombstones match root filter. Is it a bug in API?
from neofs-node.
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)
from neofs-node.
What do you think @realloc?
from neofs-node.
I think Tombstones are a special type of objects, as indicated in ObjectType
. Object Search operations should work with Regular objects by default. If there is need to search for Tombstones or Storage Groups, the one may use $Object:objectType
key.
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.
from neofs-node.
I think Tombstones are a special type of objects, as indicated in
ObjectType
. Object Search operations should work with Regular objects by default. If there is need to search for Tombstones or Storage Groups, the one may use$Object:objectType
key.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.
from neofs-node.
Related Issues (20)
- FS chain deployment stucks on error in forming a role assignment transaction
- GC has not collected an expired object HOT 2
- Evacuate tests fail HOT 2
- remove neogo_version metric HOT 2
- Ersatz-chain for object headers HOT 6
- Improve GC routine HOT 1
- Do not skip shards that are busy
- Exchange meta signatures during initial replication
- Push meta into on-chain contracts
- Chained metadata, v1
- Check that all Cobra commands check length slice flags for emptiness if required HOT 1
- Merge `Inhume` and `Delete` storage engine ops
- Add object status command to the control service HOT 1
- Store time at which metabase was resynced
- Ensure `StorageID` in metabase is used correctly HOT 5
- `meta.DB.Open(readOnly)` does not move metabase in RO mode
- Cobra command runners skip `defer`ed funcs and postruns on failures HOT 4
- default timeouts are extremely aggressive
- Error upon withdrawal operation HOT 3
- Track used for cache memory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neofs-node.