-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Remove default maxmind geoip databases from distribution #78362
Remove default maxmind geoip databases from distribution #78362
Conversation
197b5a5
to
6e1c111
Compare
adjusted tests. Kept the `geolite2-databases` dependency for tests only. Relates to elastic#68920
…lementation. When DatabaseRegistry detects that databases are available then all geoip processor that failed loading will be reloaded.
6e1c111
to
b44dcb7
Compare
…compatability tests because these assume default database and not fixture.
…n test clusters is false.
Pinging @elastic/es-data-management (Team:Data Management) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @martijnvg !
One super minor nit
/** | ||
* Keeps track of the databases locally available to a node: | ||
* 1) Default databases shipped with the default distribution via ingest-geoip module | ||
* 2) User provided databases from the ES_HOME/config/ingest-geoip directory. This directory is monitored | ||
* 1) User provided databases from the ES_HOME/config/ingest-geoip directory. This directory is monitored |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- doesn't make sense here as we have single point
Also I will rename this class to |
geolite2-databases
dependency for most of the unit tests only.fallback_to_default_databases
parameter on geoip processor a noop and emit deprecation warning upon using it.tag
string array field, which contains a string_geoip_database_unavailable_{database_name}
for each missing database in a pipeline.Relates to #68920