Stream errors are not handled by tree pool #336
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#336
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.
Tree pool creates stream and returns it to the caller. However, this stream may contain error so pool may retry request. This does not happen now.
Describe the solution you'd like
Pool can read at least one message of the stream, buffer it and check error before sending it to the client. This does not cover a case when error happens during transmission, but I suppose most errors are returned by FrostFS storage immediately.
Additional context
We can use similar test to check behaviour
Stream errors are not handeled by tree poolto Stream errors are not handled by tree pool