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

Make the GeoIpCache more generic #113053

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

joegallo
Copy link
Contributor

This PR makes it so that the cache can handle any response type, rather than being AbstractResponse -specific.

#113045 makes the core MMDB object the Reader, but a reader can return responses of various object types, not just AbstractResponses. In order to match the new lower level constructs we're using here, the cache should work with any old Object.

so that it can handle any response type, rather than being
AbstractResponse -specific.
@joegallo joegallo added >non-issue :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team auto-backport-and-merge v8.16.0 v9.0.0 labels Sep 17, 2024
@joegallo joegallo requested a review from masseyke September 17, 2024 20:28
@elasticsearchmachine
Copy link
Collaborator

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

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 ab4c027 into elastic:main Sep 18, 2024
15 checks passed
@joegallo joegallo deleted the ingest-geoip-more-generic-cache branch September 18, 2024 01:09
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Sep 18, 2024
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

javanna pushed a commit to javanna/elasticsearch that referenced this pull request Sep 18, 2024
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants