Skip to content
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

[ML] Return 408 when start deployment api times out #89612

Conversation

dimitris-athanasiou
Copy link
Contributor

This commit changes the status code returned when the start
trained model deployment api times out from 500 to 408.
In addition, we add validation that the timeout must be positive.

Relates #89585

@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Aug 25, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine
Copy link
Collaborator

Hi @dimitris-athanasiou, I've created a changelog YAML for you.

@elasticsearchmachine
Copy link
Collaborator

Hi @dimitris-athanasiou, I've updated the changelog YAML for you.

@dimitris-athanasiou dimitris-athanasiou force-pushed the timeout-on-start-deployment-should-be-400 branch from 55fa8f5 to b9c23f6 Compare August 25, 2022 11:02
This commit changes the status code returned when the start
trained model deployment api times out from `500` to `408`.
In addition, we add validation that the timeout must be positive.

Relates elastic#89585
@dimitris-athanasiou dimitris-athanasiou force-pushed the timeout-on-start-deployment-should-be-400 branch from b9c23f6 to 84e0aed Compare August 25, 2022 11:22
@elasticsearchmachine
Copy link
Collaborator

Hi @dimitris-athanasiou, I've created a changelog YAML for you.

@elasticsearchmachine
Copy link
Collaborator

Hi @dimitris-athanasiou, I've updated the changelog YAML for you.

@dimitris-athanasiou
Copy link
Contributor Author

@elasticmachine update branch

Copy link
Contributor

@edsavage edsavage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dimitris-athanasiou dimitris-athanasiou merged commit 3fca120 into elastic:main Aug 25, 2022
@dimitris-athanasiou dimitris-athanasiou deleted the timeout-on-start-deployment-should-be-400 branch August 25, 2022 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :ml Machine learning Team:ML Meta label for the ML team v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants