Use priority of errors in tree pool #176

Merged
alexvanin merged 1 commits from alexvanin/frostfs-sdk-go:fix/172-more-retry into master 2023-10-11 11:44:14 +00:00

Closes #172

When retry happens, use priority map to decide which error to return. Consider network errors less desirable than business logic errors.

Closes #172 When retry happens, use priority map to decide which error to return. Consider network errors less desirable than business logic errors.
alexvanin self-assigned this 2023-10-11 09:02:04 +00:00
alexvanin added 1 commit 2023-10-11 09:02:08 +00:00
Tests and linters / Tests (1.20) (pull_request) Successful in 1m8s Details
Tests and linters / Lint (pull_request) Successful in 1m33s Details
DCO / DCO (pull_request) Successful in 5m8s Details
Tests and linters / Tests (1.19) (pull_request) Successful in 1m2s Details
fc4551b843
[#172] pool: Use priority of errors in tree pool
When retry happens, use priority map to decide
which error to return. Consider network errors
less desirable than business logic errors.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
alexvanin requested review from fyrchik 2023-10-11 09:02:49 +00:00
alexvanin requested review from dkirillov 2023-10-11 09:02:50 +00:00
alexvanin requested review from pogpp 2023-10-11 09:02:50 +00:00
alexvanin requested review from ironbee 2023-10-11 09:02:50 +00:00
dkirillov approved these changes 2023-10-11 09:42:48 +00:00
acid-ant approved these changes 2023-10-11 11:26:08 +00:00
alexvanin merged commit fc4551b843 into master 2023-10-11 11:44:14 +00:00
alexvanin deleted branch fix/172-more-retry 2023-10-11 11:44:15 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
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#176
There is no content yet.