mirror of
https://github.com/nspcc-dev/neofs-sdk-go.git
synced 2026-03-01 04:29:18 +00:00
Empty SEARCH result is treated as an error leading to unhealthy client #204
Labels
No labels
I2
I3
I4
S1
S2
S3
S4
U0
U1
U2
U2
U2
U3
U4
blocked
bug
client
config
discussion
documentation
enhancement
epic
feature
go
good first issue
help wanted
performance
pool
question
security
task
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-sdk-go#204
Loading…
Add table
Add a link
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?
Originally created by @roman-khimov on GitHub (Sep 12, 2023).
Originally assigned to: @smallhive, @roman-khimov on GitHub.
Current Behavior
HTTP gateway SEARCHing for things often doesn't find anything (it's OK, there are a lot of random requests to the gateway). This leads to
io.EOFreturned, but it's counted as an error in Pool (incError) and eventually leads to declaring client unhealthy.Expected Behavior
It's just not an error, it's normal behavior.
Possible Solution
Review error handling in
updateErrorRate.Context
Mainnet gateways (HTTP 0.27.4) went down because of this.