forked from TrueCloudLab/frostfs-api
Merge pull request #7 from nspcc-dev/put-header-copies-number
Add numerical field CopiesNumber into object.PutRequest.PutHeader
This commit is contained in:
commit
974aaee0a2
2 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,8 @@ message PutRequest {
|
||||||
Object Object = 1;
|
Object Object = 1;
|
||||||
// Token with session public key and user's signature
|
// Token with session public key and user's signature
|
||||||
session.Token Token = 2;
|
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 {
|
oneof R {
|
||||||
|
|
|
@ -297,6 +297,7 @@ in distributed system.
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| Object | [Object](#object.Object) | | Object with at least container id and owner id fields |
|
| 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 |
|
| 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>
|
<a name="object.PutResponse"></a>
|
||||||
|
|
Loading…
Reference in a new issue