Make SDK more tolerant for new network info parameters #232
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#232
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Is your feature request related to a problem? Please describe.
Recently new network config params were added (e.g.
MaxECDataCount
). This value can benil
(that means0
) and old SDK revisions starts get error:The following code there is in new SDK revisions.
So we explicitly allow specific set of params that can be empty. If we add one more such parameter in the future client application must update SDK to support this. It seems like breaking changes though we just add new param.
Describe the solution you'd like
Probably we can allow empty values for any config params by default and explicitly check which must not contain
nil
value.Describe alternatives you've considered
Keep the following scheme
Additional context
No
cc @fyrchik @alexvanin
achuprov referenced this issue2024-07-09 09:20:17 +00:00