ECInfoErr is ignored during raw requests. #312
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#312
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?
Expected Behavior
ECInfoErr may be returned when raw request is performed. Raw requested are performed in pool package (see GetSplitInfo method) to implement interface for ListAllRelations operation.
When ECInfoErr is returned, ListAllRelations returns empty list of relations.
Current Behavior
ListAllRelations returns ECInfoErr back to the caller. Caller (e.g. pool.Delete opertation) throws this error as well.
Possible Solution
Modify ListAllRelations to check ECInfoErr.
Relation package may define new error type (as it is done for
relation.ErrNoSplitInfo
) and ask interface implementation to return it when ECInfoErr is returned. Not sure it is worth it, but still possible.Steps to Reproduce (for bugs)
TBD @aarifullin
Context
None
Regression
No
Your Environment
Should be fixed for support/v1.0.0-rc.5 branch + master branch.
ECInfoErr
erros inGetSplitInfo
#313ECInfoErr
errors inGetSplitInfo
inpool
#314