From 2f1784484d5bf8ea35ba0671477a0bdb606fef79 Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Tue, 13 Mar 2018 08:53:31 +0100 Subject: [PATCH 1/2] Add migration docs for Geoip Processor This commit adds a note to the 6.3 docs that Geoip database files are now stored uncompressed. Relates #28963 --- docs/reference/migration/migrate_6_3.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/reference/migration/migrate_6_3.asciidoc b/docs/reference/migration/migrate_6_3.asciidoc index 653c99d2a338f..faaef92da5c59 100644 --- a/docs/reference/migration/migrate_6_3.asciidoc +++ b/docs/reference/migration/migrate_6_3.asciidoc @@ -10,3 +10,10 @@ must now be specified in the client settings instead. See {plugins}/repository-gcs-client.html#repository-gcs-client[Google Cloud Storage Client Settings]. + +==== Ingest Geoip Plugin + +* In earlier versions, database files have been stored as gzip compressed files with the extension `.gz`. +Now the default database files that are stored uncompressed as `.mmdb` files. Any custom database files must +also be stored uncompressed. Consequently, the `database_file` property in any ingest pipelines that use +the Geoip Processor must refer to the uncompressed database files as well. \ No newline at end of file From 25543e38764f03e776e65d56a049cfc6482c6935 Mon Sep 17 00:00:00 2001 From: Daniel Mitterdorfer Date: Tue, 13 Mar 2018 09:22:07 +0100 Subject: [PATCH 2/2] Explain reasons for the change --- docs/reference/migration/migrate_6_3.asciidoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/reference/migration/migrate_6_3.asciidoc b/docs/reference/migration/migrate_6_3.asciidoc index faaef92da5c59..50cbf5769e596 100644 --- a/docs/reference/migration/migrate_6_3.asciidoc +++ b/docs/reference/migration/migrate_6_3.asciidoc @@ -13,7 +13,8 @@ See {plugins}/repository-gcs-client.html#repository-gcs-client[Google Cloud Stor ==== Ingest Geoip Plugin -* In earlier versions, database files have been stored as gzip compressed files with the extension `.gz`. -Now the default database files that are stored uncompressed as `.mmdb` files. Any custom database files must -also be stored uncompressed. Consequently, the `database_file` property in any ingest pipelines that use -the Geoip Processor must refer to the uncompressed database files as well. \ No newline at end of file +* In earlier versions, database files have been stored as gzip compressed files with the extension `.gz` to +save disk space. As a consequence, database files had to be loaded in memory. Now the default database files +that are stored uncompressed as `.mmdb` files which allows to memory-map them and save heap memory. Any +custom database files must also be stored uncompressed. Consequently, the `database_file` property in any +ingest pipelines that use the Geoip Processor must refer to the uncompressed database files as well. \ No newline at end of file