Skip to content

Updates the deprecation info API to not warn about system indices and data streams #122951

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

Merged

Conversation

masseyke
Copy link
Member

The deprecation info API is meant to alert users to things they need to address before upgrading. It currently returns information about system indices and data streams that need to be upgraded. However, the user cannot do anything about system indices and data streams. Telling the user that they need to upgrade them is misleading, and results in errors when the user tries to take action. This PR filters out system indices and data streams from the deprecation info API.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@elasticsearchmachine
Copy link
Collaborator

Hi @masseyke, I've created a changelog YAML for you.

@masseyke masseyke added auto-backport Automatically create backport pull requests when merged and removed Team:Data Management Meta label for data/management team labels Feb 19, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Feb 19, 2025
Copy link
Contributor

@lukewhiting lukewhiting left a comment

Choose a reason for hiding this comment

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

👍🏻 LGTM

@masseyke masseyke merged commit 463dc4a into elastic:main Feb 19, 2025
17 checks passed
@masseyke masseyke deleted the deprecation-info-api-ignore-system-indices branch February 19, 2025 21:30
masseyke added a commit to masseyke/elasticsearch that referenced this pull request Feb 19, 2025
masseyke added a commit to masseyke/elasticsearch that referenced this pull request Feb 19, 2025
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
9.0
8.18
8.x

masseyke added a commit to masseyke/elasticsearch that referenced this pull request Feb 19, 2025
elasticsearchmachine pushed a commit that referenced this pull request Feb 19, 2025
…es and data streams (#122951) (#122970)

* Updates the deprecation info API to not warn about system indices and data streams (#122951)

* removing use of nonexistent method
elasticsearchmachine pushed a commit that referenced this pull request Feb 20, 2025
…ces and data streams (#122951) (#122969)

* Updates the deprecation info API to not warn about system indices and data streams (#122951)

* removing use of nonexistent method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >bug :Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team v8.18.0 v8.18.1 v8.19.0 v9.0.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants