Skip to content

Fix backing index pattern for system data streams to support a multiple migrated prefix #125598

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
merged 3 commits into from
Mar 25, 2025

Conversation

alexey-ivanov-es
Copy link
Contributor

There is a theoretical possibility of having an index backing a system data stream with a name starting with .migrated-migrated-. This currently results in an error when accessing the data stream. This commit fixes the issue.

@alexey-ivanov-es alexey-ivanov-es added :Core/Infra/Core Core issues without another label v9.0.0 labels Mar 25, 2025
@elasticsearchmachine elasticsearchmachine added Team:Core/Infra Meta label for core/infra team v9.0.1 labels Mar 25, 2025
@alexey-ivanov-es alexey-ivanov-es added >bug and removed Team:Core/Infra Meta label for core/infra team v9.0.1 labels Mar 25, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Mar 25, 2025
Copy link
Contributor

@JVerwolf JVerwolf left a comment

Choose a reason for hiding this comment

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

LGTM

@alexey-ivanov-es alexey-ivanov-es enabled auto-merge (squash) March 25, 2025 16:44
@alexey-ivanov-es alexey-ivanov-es merged commit abcec9e into elastic:9.0 Mar 25, 2025
15 of 16 checks passed
@alexey-ivanov-es alexey-ivanov-es deleted the system_idx_name_fix branch March 25, 2025 18:41
alexey-ivanov-es added a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Apr 7, 2025
…le migrated prefix (elastic#125598)

There is a theoretical possibility of having an index backing a system data stream with a name starting with .migrated-migrated-. This currently results in an error when accessing the data stream. This commit fixes the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants