Empty SEARCH result is treated as an error leading to unhealthy client #204

Closed
opened 2025-12-28 18:07:25 +00:00 by sami · 0 comments
Owner

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.EOF returned, 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.

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.EOF` returned, 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.
sami 2025-12-28 18:07:25 +00:00
  • closed this issue
  • added the
    bug
    pool
    labels
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-sdk-go#204
No description provided.