forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Ignore failed jobs in serverless autoscaling
Failed jobs have persistent tasks but do not have corresponding native processes running, so should not count towards the memory requirements of the ML tier. This PR filters failed jobs before calculating memory requirements for serverless autoscaling. (This was already accounted for correctly in stateful autoscaling.) Also adds some missing tests.
- Loading branch information
1 parent
df9002a
commit 47ab70c
Showing
2 changed files
with
167 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters