From 7f26542813c02783222c760c2a00e610755e0a88 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 7 Dec 2020 15:06:44 +0300 Subject: [PATCH] Add split_info field in object.GetRangeResponse body Signed-off-by: Alex Vanin --- object/service.proto | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/object/service.proto b/object/service.proto index 0ebc544..f8476a7 100644 --- a/object/service.proto +++ b/object/service.proto @@ -436,8 +436,14 @@ message GetRangeResponse { // initial preamble message. The requested byte range is sent as a series // chunks. message Body { - // Chunked object payload's range - bytes chunk = 1; + // Requested object range or meta information about split object. + oneof range_part{ + // Chunked object payload's range. + bytes chunk = 1; + + // Meta information of split hierarchy. + SplitInfo split_info = 2; + } } // Body of get range object response message.