ECInfoErr is ignored during raw requests. #312

Closed
opened 2024-12-11 13:59:32 +00:00 by alexvanin · 0 comments
Owner

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.

## 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.
alexvanin added the
bug
label 2024-12-11 13:59:32 +00:00
aarifullin was assigned by alexvanin 2024-12-11 13:59:40 +00:00
fyrchik added the
internal
label 2024-12-12 07:34:17 +00:00
fyrchik reopened this issue 2024-12-12 07:34:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-sdk-go#312
No description provided.