Use more retries in tree pool in case of failures #172
Labels
No labels
P0
P1
P2
P3
good first issue
pool
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-sdk-go#172
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
There is a case, when put request to tree service happens on one node and get request happens on another node in the same container. Tree replication can not be immediate, so temporary client returns empty result or even
Tree Not Found
error.Pool should try its best to receive node for tree services, so it's better to repeat request for different endpoints in this case.
Describe the solution you'd like
Use more retries in case of bad and unexpected responses.
Describe alternatives you've considered
Offload retries to storage node.
Additional context
This was highlighted during failover tests with nginx as load-balancer and some sort of round-robin
Need some fixes to work it properly.