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

Allow resetting only a subset of feature states #70426

Open
williamrandolph opened this issue Mar 15, 2021 · 4 comments
Open

Allow resetting only a subset of feature states #70426

williamrandolph opened this issue Mar 15, 2021 · 4 comments
Labels
:Core/Infra/Core Core issues without another label >enhancement Team:Core/Infra Meta label for core/infra team v9.0.0

Comments

@williamrandolph
Copy link
Contributor

In #69469, we added a Reset Feature State API that clears the state of plugins with system indices. It does this by deleting the system indices and performing other necessary cleanup. However, for that initial implementation, the API is all-or-nothing: you can't reset Kibana's state without resetting your security index as well.

We should allow users to reset specific feature states, perhaps by providing an optional list of target features.

@williamrandolph williamrandolph added >enhancement :Core/Infra/Core Core issues without another label v7.13.0 labels Mar 15, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Mar 15, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@droberts195
Copy link
Contributor

@pheyos told me that this is a requirement for the feature reset API to be useful in the ML UI functional tests in Kibana CI.

@gmarouli gmarouli added v8.9.0 and removed v8.8.0 labels Apr 26, 2023
@quux00 quux00 added v8.11.0 and removed v8.10.0 labels Aug 16, 2023
@mattc58 mattc58 added v8.12.0 and removed v8.11.0 labels Oct 4, 2023
@droberts195
Copy link
Contributor

With serverless locking down system indices more than stateful Elasticsearch, being able to reset features like ML or transforms without resetting security is becoming more important. Not having this functionality prevents the Appex QA framework tests running against real MKI projects. They have to run against a local dev environment.

Would it be possible to schedule this work into the roadmap? Even if it's too late for 8.12, getting this done after that would still be very helpful.

@arpadkiraly
Copy link

arpadkiraly commented Oct 27, 2023

With serverless locking down system indices more than stateful Elasticsearch, being able to reset features like ML or transforms without resetting security is becoming more important. Not having this functionality prevents the Appex QA framework tests running against real MKI projects. They have to run against a local dev environment.

Would it be possible to schedule this work into the roadmap? Even if it's too late for 8.12, getting this done after that would still be very helpful.

Thank you for raising this, @droberts195. I created a Jira issue for the Core/Infra team that we'll discuss. Let us come back to you about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >enhancement Team:Core/Infra Meta label for core/infra team v9.0.0
Projects
None yet
Development

No branches or pull requests