Use priority of errors in tree pool #176

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

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
[#172] pool: Use priority of errors in tree pool
All checks were successful
Tests and linters / Tests (1.20) (pull_request) Successful in 1m8s
Tests and linters / Lint (pull_request) Successful in 1m33s
DCO / DCO (pull_request) Successful in 5m8s
Tests and linters / Tests (1.19) (pull_request) Successful in 1m2s
fc4551b843
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>
requested reviews from fyrchik, dkirillov, pogpp, 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 project
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
No description provided.