From 17e7c3ae308186b141b35447371209b6d44eef4f Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 15 Apr 2020 18:26:03 +0300 Subject: [PATCH 1/2] add PutRequest.PutHeader.CopiesNumber uint32 field --- object/service.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/object/service.proto b/object/service.proto index 2aa21fd..b5042e2 100644 --- a/object/service.proto +++ b/object/service.proto @@ -84,6 +84,8 @@ message PutRequest { Object Object = 1; // Token with session public key and user's signature session.Token Token = 2; + // Number of the object copies to store within the RPC call (zero is processed according to the placement rules) + uint32 CopiesNumber = 3; } oneof R { From 846a84cd0cca23d122c66ad9881b4bcc0d3b78f6 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 15 Apr 2020 18:27:46 +0300 Subject: [PATCH 2/2] regenerate docs --- proto-docs/object.md | 1 + 1 file changed, 1 insertion(+) diff --git a/proto-docs/object.md b/proto-docs/object.md index ce9252b..4a1b2da 100644 --- a/proto-docs/object.md +++ b/proto-docs/object.md @@ -297,6 +297,7 @@ in distributed system. | ----- | ---- | ----- | ----------- | | Object | [Object](#object.Object) | | Object with at least container id and owner id fields | | Token | [session.Token](#session.Token) | | Token with session public key and user's signature | +| CopiesNumber | [uint32](#uint32) | | Number of the object copies to store within RPC call (zero is processed according to the placement rules) |