From 7995020a9d290d74236ce05536cacf980fea1a67 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 7 Dec 2020 15:02:20 +0300 Subject: [PATCH] Add split_info field in object.HeadResponse body Head operation returns SplitInfo structure if request has raw flag and ID of virtual object. Signed-off-by: Alex Vanin --- object/service.proto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/object/service.proto b/object/service.proto index 6679fdd..0ebc544 100644 --- a/object/service.proto +++ b/object/service.proto @@ -270,13 +270,17 @@ message HeaderWithSignature { message HeadResponse { // Object HEAD response body message Body { - // Requested object header or it's part. + // Requested object header, it's part or meta information about split + // object. oneof head{ // Full object's `Header` with `ObjectID` signature HeaderWithSignature header = 1; // Short object header ShortHeader short_header = 2; + + // Meta information of split hierarchy. + SplitInfo split_info = 3; } } // Body of head object response message.