Skip to content

Fix geoip databases index access after system feature migration (take 3) #124604

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 6 commits into from
Mar 12, 2025

Conversation

joegallo
Copy link
Contributor

@joegallo joegallo commented Mar 11, 2025

This is a follow up to #121196 and #122938.

The first PR fixed the GET * case, but broke the GET _data_stream/* case. The second PR fixed the GET _data_stream/* case but it turns out it only fixed it for some values of the expand_wildcards parameter.

This PR expands the integration test to walk the various options of the expand_wildcards parameter and try all of them, and then fixes the broken cases by changing our index resolution code ever so slightly.

@joegallo joegallo added >bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 labels Mar 11, 2025
@joegallo joegallo requested review from masseyke and gmarouli March 11, 2025 21:25
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@masseyke masseyke left a comment

Choose a reason for hiding this comment

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

LGTM

@joegallo joegallo merged commit d565304 into elastic:main Mar 12, 2025
17 checks passed
@joegallo joegallo deleted the fix-geoip-access-after-reindex-take-3 branch March 12, 2025 18:04
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.18 Commit could not be cherrypicked due to conflicts
8.x Commit could not be cherrypicked due to conflicts
9.0 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 124604

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/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v8.18.1 v8.19.0 v9.0.1 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants