WIP: object: Make Object.Search get filtered by ec_parent #80

Closed
aarifullin wants to merge 1 commit from aarifullin/frostfs-api-go:feat/searchAttr_ecParent into master
2 changed files with 6 additions and 0 deletions

View file

@ -36,6 +36,9 @@ const (
// FilterHeaderSplitID is a filter key to "split.splitID" field of the object header.
FilterHeaderSplitID = ReservedFilterPrefix + "split.splitID"
// FilterHeaderECParent is a filter key to "ec.parent" field of the object header.
FilterHeaderECParent = ReservedFilterPrefix + "ec.parent"
)
const (

View file

@ -2113,6 +2113,9 @@ func (x *SearchRequest_Body) GetFilters() []*SearchRequest_Body_Filter {
// object_id of parent
// - $Object:split.splitID \
// 16 byte UUIDv4 used to identify the split object hierarchy parts
// - $Object:ec.parent \
// If the object is stored according to EC policy, then ec_parent attribute
// is set to return an id list of all related EC chunks.
//
// There are some well-known filter aliases to match objects by certain
// properties: