Skip to content

Commit

Permalink
Merge pull request #7 from nspcc-dev/put-header-copies-number
Browse files Browse the repository at this point in the history
Add numerical field CopiesNumber into object.PutRequest.PutHeader
  • Loading branch information
cthulhu-rider authored Apr 15, 2020
2 parents 4c4e334 + 846a84c commit 974aaee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions object/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions proto-docs/object.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |


<a name="object.PutResponse"></a>
Expand Down

0 comments on commit 974aaee

Please sign in to comment.