forked from TrueCloudLab/frostfs-api
[#17] object: Allow set copy_number
for every placement vector
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
fc393d4605
commit
cbc038f84e
2 changed files with 11 additions and 3 deletions
|
@ -658,7 +658,7 @@ are not set, they will be calculated by a peer node.
|
|||
| object_id | [neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID) | | ObjectID if available. |
|
||||
| signature | [neo.fs.v2.refs.Signature](#neo.fs.v2.refs.Signature) | | Object signature if available |
|
||||
| header | [Header](#neo.fs.v2.object.Header) | | Object's Header |
|
||||
| copies_number | [uint32](#uint32) | | Number of the object copies to store within the RPC call. By default object is processed according to the container's placement policy. |
|
||||
| copies_number | [uint32](#uint32) | repeated | Number of copies of the object to store within the RPC call. By default, object is processed according to the container's placement policy. Can be one of: 1. A single number; applied to the whole request and is treated as a minimal number of nodes that must store an object to complete the request successfully. 2. An ordered array; every number is treated as a minimal number of nodes in a corresponding placement vector that must store an object to complete the request successfully. The length MUST equal the placement vectors number, otherwise request is considered malformed. |
|
||||
|
||||
|
||||
<a name="neo.fs.v2.object.PutResponse"></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue