From b182533828a3f7ccd1d54b72e0e6f2cee5126002 Mon Sep 17 00:00:00 2001
From: Airat Arifullin <aarifullin@yadro.com>
Date: Fri, 3 May 2024 12:08:33 +0300
Subject: [PATCH] [#47] object: Specify ec_parent attribute for Object.Search

* Add $Object:ec.parent attribute to Object.Search specification.
* Update docs for Object.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
---
 object/service.proto | 3 +++
 proto-docs/object.md | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/object/service.proto b/object/service.proto
index bbf0fc3..1168e4e 100644
--- a/object/service.proto
+++ b/object/service.proto
@@ -583,6 +583,9 @@ message SearchRequest {
     //   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:
diff --git a/proto-docs/object.md b/proto-docs/object.md
index 9fe88a5..9c51c98 100644
--- a/proto-docs/object.md
+++ b/proto-docs/object.md
@@ -875,6 +875,9 @@ prefix to the name. Here is the list of fields available via this prefix:
   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: