Commit Graph

11 Commits (20ab57bf7ec3)

Author SHA1 Message Date
Alexey Vanin 3790142b10 [#212] pool: Control sub tree nodes order
DCO / DCO (pull_request) Successful in 1m37s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 1m53s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 2m4s Details
Tests and linters / Lint (pull_request) Successful in 3m22s Details
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2024-04-02 17:15:49 +03:00
Evgenii Stratonikov 64b83f8220 [#209] Makefile: Update golangci-lint to 1.56.2
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-03-14 13:35:48 +03:00
Denis Kirillov ab75edd709 [#191] pool/tree: Support limit request attempts
DCO / DCO (pull_request) Successful in 1m8s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 1m17s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 1m25s Details
Tests and linters / Lint (pull_request) Successful in 2m35s Details
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-11-07 14:45:40 +03:00
Denis Kirillov 8999d2f080 [#191] pool/tree: Support request id
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-11-07 14:45:35 +03:00
Alexey Vanin fc4551b843 [#172] pool: Use priority of errors in tree pool
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
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>
2023-10-11 12:00:34 +03:00
Alexey Vanin eb5288f4a5 [#172] pool: Do more retries on unexpected tree service responses
DCO / DCO (pull_request) Successful in 2m12s Details
Tests and linters / Lint (pull_request) Successful in 3m33s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 3m35s Details
Tests and linters / Tests (1.19) (pull_request) Successful in 1m3s Details
1. Try its best by looking for nodes during 'GetNodeByPath'
2. Retry on 'tree not found' and other not found errors

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-10-06 11:12:48 +03:00
Alexey Vanin 363f153eaf [#136] pool: Set order field to get subtree
With new revision of tree service protocol, getSubTree
requires to use explicit order field.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-08-02 10:32:37 +00:00
Denis Kirillov 388d1ca1de [#107] pool/tree: Support grpc schemas
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-07-07 14:57:13 +03:00
Denis Kirillov 91e80ba743 [#73] pool/tree: Fix index in retry loop
neofs-sdk-go tests / Tests (1.18.x) (pull_request) Failing after 2s Details
neofs-sdk-go tests / Tests (1.19.x) (pull_request) Failing after 2s Details
neofs-sdk-go tests / Tests (1.20.x) (pull_request) Failing after 2s Details
neofs-sdk-go tests / lint (pull_request) Failing after 2s Details
DCO check / Commits Check (pull_request) Failing after 3s Details
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-06-28 13:06:23 +03:00
Denis Kirillov af40dc68f0 [#84] pool/tree: Allow to pass gRPC dial options
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-06-08 15:55:07 +03:00
Denis Kirillov 51e022ab8c [#73] pool/tree: Add tree pool
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-06-08 14:37:57 +03:00