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

Avoiding a NullPointerException in GeoIpDownloaderIT #93471

Merged

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented Feb 2, 2023

This fixes a possible NPE when the geoip downloader task goes from not-null to null due to race conditions in the GeoIpDownloader. I have not been able to reproduce this, but you can see it at https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request+part-1/28051/consoleFull. This relates to #92888 and #92335.
Closes #93405

@masseyke masseyke added >non-issue :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP labels Feb 2, 2023
@masseyke masseyke requested a review from dakrone February 2, 2023 15:46
@elasticsearchmachine elasticsearchmachine added v8.7.0 Team:Data Management Meta label for data/management team labels Feb 2, 2023
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Keith :)

@masseyke masseyke merged commit 467b859 into elastic:main Feb 2, 2023
@masseyke masseyke deleted the fix/GeoIpDownloaderIT-race-conditions-2 branch February 2, 2023 16:24
mark-vieira pushed a commit to mark-vieira/elasticsearch that referenced this pull request Feb 2, 2023
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.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] GeoIpDownloaderCliIT testGeoIpDatabasesDownloadNoGeoipProcessors failing
3 participants