-
Notifications
You must be signed in to change notification settings - Fork 330
Update Cluster Health checking logic #1434
Copy link
Copy link
Closed
Labels
:Benchmark Candidate ManagementAnything affecting how Rally sets up ElasticsearchAnything affecting how Rally sets up ElasticsearchcleanupLinter changes, reformatting, removal of unused code etc.Linter changes, reformatting, removal of unused code etc.good first issueSmall, contained changes that are good for newcomersSmall, contained changes that are good for newcomershelp wantedWe'd be happy about a community contributionWe'd be happy about a community contribution
Milestone
Description
As of elastic/elasticsearch#78968, Elasticsearch does not return a 408 for cluster health timeouts.
We now need to parse the HTTP 200 response for the timed_out field in case of timeouts while a wait_for_* parameter is invoked.
Note that currently the operation relies on a combination of default operation parameters (request-params and retry-until-success) in order to execute, but this may be a good opportunity to abstract the client-level behavior away from the user and provide some opaque wait-for parameters to the operation, then a top-level timeout. This would allow us to abort tests which will never pass the cluster state assertion, rather than the current behavior of hanging indefinitely.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Benchmark Candidate ManagementAnything affecting how Rally sets up ElasticsearchAnything affecting how Rally sets up ElasticsearchcleanupLinter changes, reformatting, removal of unused code etc.Linter changes, reformatting, removal of unused code etc.good first issueSmall, contained changes that are good for newcomersSmall, contained changes that are good for newcomershelp wantedWe'd be happy about a community contributionWe'd be happy about a community contribution
Type
Fields
Give feedbackNo fields configured for issues without a type.