You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Only do it from Close, one SEARCH request -> one statistic update.
Fixes#518 at the same time, since in Close() io.EOF is filtered out (as it
should be).
Signed-off-by: Roman Khimov <roman@nspcc.ru>
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.
The text was updated successfully, but these errors were encountered: