From 75dd1261e35fcf4d119aa1adb5f9f508ea903a01 Mon Sep 17 00:00:00 2001
From: Alex Vanin <alexey@nspcc.ru>
Date: Mon, 7 Dec 2020 16:15:01 +0300
Subject: [PATCH] Add raw flag in object.GetRangeRequest

Raw flag used to get range of physically stored objects and
ignoring split objects. In case of split object node should
return SplitInfo message.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
---
 object/service.proto | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/object/service.proto b/object/service.proto
index f8476a7..4116de6 100644
--- a/object/service.proto
+++ b/object/service.proto
@@ -414,6 +414,10 @@ message GetRangeRequest {
 
     // Requested payload range
     Range range = 2;
+
+    // If `raw` flag is set, request will work only with objects that are
+    // physically stored on the peer node.
+    bool raw = 3;
   }
 
   // Body of get range object request message.