[#152] Allow to set mix of policies for containers and buckets #152
No reviewers
Labels
No Label
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/xk6-frostfs#152
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "abereziny/xk6-frostfs:feature-multi-load-policy"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Signed-off-by: a.berezin a.berezin@yadro.com
53e64370c5
to80c8d0d652
@ -26,3 +26,3 @@
parser.add_argument(
"--policy",
help="Container placement policy",
help="Comma-separated container placement policies",
It breaks policies with commas in attributes being filtered.
Does
parser
module support list natively?Some CLI frameworks parse
--policy 1 --policy 2
as a list[1,2]
-- this would be a better interface IMOfrom https://stackoverflow.com/questions/15753701/how-can-i-pass-a-list-as-a-command-line-argument-with-argparse
Well, it requires elimination of
default=REP 2
for backward compatibility, becauseaction=append
cannot work with str, and if we define default asdefault=["REP 2"]
, it will be there always.Testing is in progress with
action='append'
Reworked with
action=append
The default can be made explicit in code (like if len is zero, use default)
80c8d0d652
to9b9db46a07