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

[8.16][ML] Fix .inference index leaking out of tests. #115343

Merged
merged 6 commits into from
Oct 24, 2024

Conversation

davidkyle
Copy link
Member

@davidkyle davidkyle commented Oct 22, 2024

Backport of #115023 with additional logic to handle streaming to/from a patch version

Depends on #115250

Closes #114825 #114771 #114766 #114749 #114753 #114748 #114763 #114789 #114768 #114790 #114752 #114791 #114773 #114840 #114839

…sage (elastic#115023)

The Inference usage API calls GET _inference/_all and because the default
configs are persisted on read it causes the creation of the .inference index.
This action is undesirable and causes test failures by leaking the system index
out of the test clean up code.
# Conflicts:
#	muted-tests.yml
#	server/src/main/java/org/elasticsearch/TransportVersions.java
#	x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/action/TransportGetInferenceModelAction.java
@davidkyle davidkyle marked this pull request as ready for review October 23, 2024 08:18
Copy link
Contributor

@jan-elastic jan-elastic left a comment

Choose a reason for hiding this comment

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

LGTM

@davidkyle
Copy link
Member Author

@elasticmachine update branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants