-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
DFA Get Stats can return multiple responses if more than one error #60900
Conversation
Pinging @elastic/ml-core (:ml) |
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.
LGTM
We follow the same pattern in |
😱 how did we miss that |
@elasticmachine update branch |
run elasticsearch-ci/packaging-sample-windows |
@davidkyle was this backported to |
Erm no and I've missed 7.9.1 FF now. Thanks for the ping 🙏 |
As a result of not backporting this to 7.9 we still have test failures in 7.9, for example https://gradle-enterprise.elastic.co/s/5rmxilu75h5ik So I think either this fix should be backported to 7.9 regardless of whether it will get released or else that test should be muted in 7.9. |
If the search for get stats for multiple jobs fail the listener is called for each failure. This change waits for all responses then returns the first error if there was one.
This solves half the problem reported in #60876 which also serves as test coverage for the change as it is very difficult to test directly