Allow to select insufficient number of nodes #167
No reviewers
TrueCloudLab/storage-core-committers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
Labels
No labels
P0
P1
P2
P3
good first issue
pool
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#167
Loading…
Reference in a new issue
No description provided.
Delete branch "fyrchik/frostfs-sdk-go:fix-policy"
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?
From https://github.com/nspcc-dev/neofs-sdk-go/issues/354
REP 2 ... SELECT 4
Currently this is done with always constant
strict=false
now. In future this flag should be set for container creation in the frostfs-cli.de970d9bfa
toa252ea8bcd
strict
flag for policy calculation #168a252ea8bcd
to555ccc63b2
@ -61,3 +61,3 @@
buckets := c.getSelectionBase(s)
if len(buckets) < bucketCount {
if c.strict && len(buckets) < bucketCount {
The desctiption says
But it seems it always was implictly
strict=true
?Yes, we change the behaviour here. This is intentional, to make everything else pick up this change automatically: one can argue it is the user expectation, to GET objects it has previously PUT.
I consider the change backwards compatible, because we only allow some outputs which have previously resulted in error.
not enough nodes to SELECT from
answer on the dev-env #1448