feature/port_error_counts #257

Merged
alexvanin merged 2 commits from dkirillov/frostfs-sdk-go:feature/port_error_counts into support/v1.0.0-rc.5 2024-09-04 19:51:16 +00:00

2 commits

Author SHA1 Message Date
8484462310 [#257] pool/tree: Add node address to error
All checks were successful
DCO / DCO (pull_request) Successful in 43s
Tests and linters / Tests (1.21) (pull_request) Successful in 52s
Tests and linters / Tests (1.22) (pull_request) Successful in 50s
Tests and linters / Lint (pull_request) Successful in 1m19s
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-08-20 12:47:24 +03:00
23255806d0 [#253] pool: Don't count regular FrostFS errors
Previously we count all frostfs errors like:
ObjectNotFound, EACLNotFound
because frostfs status is unconditionally resolved into built-in go errors
but handleError method handled built-in errors like internal network ones.
Since after resolving frostfs errors status is also returned we start check this first

(cherry picked from commit 203bba65a0)

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-08-20 12:47:06 +03:00