[#XX] object: Make Object.Search
get filtered by ec_parent
Some checks failed
DCO action / DCO (pull_request) Failing after 1m8s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m33s
Tests and linters / Tests (1.19) (pull_request) Successful in 1m39s
Tests and linters / Lint (pull_request) Successful in 1m45s
Tests and linters / Tests with -race (pull_request) Successful in 1m46s
Some checks failed
DCO action / DCO (pull_request) Failing after 1m8s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m33s
Tests and linters / Tests (1.19) (pull_request) Successful in 1m39s
Tests and linters / Lint (pull_request) Successful in 1m45s
Tests and linters / Tests with -race (pull_request) Successful in 1m46s
* Regenerate protobuf for object service * Add `FilterHeaderECParent` filter for v2 Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
fa8f92d662
commit
87caff9c8d
2 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,9 @@ const (
|
||||||
|
|
||||||
// FilterHeaderSplitID is a filter key to "split.splitID" field of the object header.
|
// FilterHeaderSplitID is a filter key to "split.splitID" field of the object header.
|
||||||
FilterHeaderSplitID = ReservedFilterPrefix + "split.splitID"
|
FilterHeaderSplitID = ReservedFilterPrefix + "split.splitID"
|
||||||
|
|
||||||
|
// FilterHeaderECParent is a filter key to "ec.parent" field of the object header.
|
||||||
|
FilterHeaderECParent = ReservedFilterPrefix + "ec.parent"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
3
object/grpc/service.pb.go
generated
3
object/grpc/service.pb.go
generated
|
@ -2113,6 +2113,9 @@ func (x *SearchRequest_Body) GetFilters() []*SearchRequest_Body_Filter {
|
||||||
// object_id of parent
|
// object_id of parent
|
||||||
// - $Object:split.splitID \
|
// - $Object:split.splitID \
|
||||||
// 16 byte UUIDv4 used to identify the split object hierarchy parts
|
// 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
|
// There are some well-known filter aliases to match objects by certain
|
||||||
// properties:
|
// properties:
|
||||||
|
|
Loading…
Add table
Reference in a new issue