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
If the Elasticsearch endpoint "/_cluster/health?wait_for_events=languid&timeout=0s" returns 408 (Timeout) then GetClusterHealthWaitForAllEvents swallows the error and returns an empty/default value. TimedOut may hold the default value false while the API actually returned true:
If the Elasticsearch endpoint
"/_cluster/health?wait_for_events=languid&timeout=0s"
returns 408 (Timeout) thenGetClusterHealthWaitForAllEvents
swallows the error and returns an empty/default value.TimedOut
may hold the default valuefalse
while the API actually returnedtrue
:The returned value is not initialized because we do not attempt to parse/decode the body and return immediately when there is an error:
Should we attempt to decode the body as a best effort even if there is an error ?
The text was updated successfully, but these errors were encountered: