-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Update resolve/cluster end user docs with information about the timeout flag and no index expression endpoint #121199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…out flag and no index expression endpoint
Documentation preview: |
Pinging @elastic/es-docs (Team:Docs) |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
will show the cluster as not connected and include an error message that the | ||
request timed out. The default timeout is unset and the query can take | ||
as long as the networking layer is configured to wait for remote clusters that are | ||
not responding (typically 30 seconds). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we mention the setting that influences this timeout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is it and is it something the user can configure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transport.connect_timeout
. It may or may not exist—if it doesn't, handshake defaults to 30s. On a second thought, maybe let's not mention it. If we unintentionally lead users to this setting and they modify it, it has an effect outside this API's scope—something that could be undesired.
"cluster_three": { | ||
"connected": false, | ||
"skip_unavailable": false, | ||
"error": "Request timed out before receiving a response from the remote cluster" <4> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for this patch, but I wonder if it'd help if the error message included the actual timeout value. So the user would know whether the cluster failed to respond in 1s (maybe the timeout too low?) or in 300s (definitely it's dead and also maybe timeout too long).
…out flag and no index expression endpoint (elastic#121199)
💚 Backport successful
|
No description provided.