cli: Support copies number parameter in object put
#350
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#350
Loading…
Reference in a new issue
No description provided.
Delete branch "acid-ant/frostfs-node:feature/cli-obj-put-copies-num"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #351
Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
e7dc990c5f
to84020bdf6a
84020bdf6a
tof3b45ca59b
WIP: cli: Support copies number parameter into cli: Support copies number parameter inobject put
object put
@ -57,2 +58,4 @@
flags.String(notificationFlag, "", "Object notification in the form of *epoch*:*topic*; '-' topic means using default")
flags.Bool(binaryFlag, false, "Deserialize object structure from given file.")
flags.UintSlice(copiesNumberFlag, nil, "Number of copies of the object to store within the RPC call")
I believe
UintSlice
allows following usage:--copies-number 1 --copies-number 2
.It should be a bug, it is really and atomic vector and not an arbitrary-sized slice.
What about using
String
and split it by,
?Surprised, will use string instead of uint slice.
Done, please review.
f3b45ca59b
to0f10899ba4