From 3a445e27b819106936c6972e1bd67aaa2a689222 Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Mon, 24 Jun 2019 14:00:22 +0200 Subject: [PATCH 1/3] Add release highlight for replicated closed indices on 7.2.0 --- .../release-notes/highlights-7.2.0.asciidoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/reference/release-notes/highlights-7.2.0.asciidoc b/docs/reference/release-notes/highlights-7.2.0.asciidoc index 937a766eebb2e..93dc2858f4efc 100644 --- a/docs/reference/release-notes/highlights-7.2.0.asciidoc +++ b/docs/reference/release-notes/highlights-7.2.0.asciidoc @@ -21,3 +21,20 @@ summarize your data and store it in a new index. Alternatively, you can use the transforms. // end::notable-highlights[] + +// tag::notable-highlights[] +[float] +==== Closed indices are now replicated + +Elasticsearch 7.2.0 brings a better support for closed indices by allowing +shards of closed indices to be replicated. As soon as an index is closed, +Elasticsearch takes care of tearing down the "opened" shards before +reinitializing them as "closed" shards, which require much less resources +while still providing the ability for shards to be promoted as primaries or +to be recovered from peer. + +Note that only indices closed in Elasticsearch 7.2.0 are automatically +replicated. Indices closed on previous versions of Elasticsearch will +remain non replicated unless they are opened and closed again in 7.2.0. + +// end::notable-highlights[] From 737acd8d6f47744845a202ace3d4869f5f104eff Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Mon, 24 Jun 2019 15:17:39 +0200 Subject: [PATCH 2/3] feedback --- .../release-notes/highlights-7.2.0.asciidoc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/reference/release-notes/highlights-7.2.0.asciidoc b/docs/reference/release-notes/highlights-7.2.0.asciidoc index 93dc2858f4efc..965281e979a64 100644 --- a/docs/reference/release-notes/highlights-7.2.0.asciidoc +++ b/docs/reference/release-notes/highlights-7.2.0.asciidoc @@ -26,14 +26,24 @@ the transforms. [float] ==== Closed indices are now replicated -Elasticsearch 7.2.0 brings a better support for closed indices by allowing +Elasticsearch 7.2.0 brings better support for closed indices by allowing shards of closed indices to be replicated. As soon as an index is closed, -Elasticsearch takes care of tearing down the "opened" shards before +Elasticsearch takes care of safely tearing down the "opened" shards before reinitializing them as "closed" shards, which require much less resources while still providing the ability for shards to be promoted as primaries or -to be recovered from peer. +to be recovered from peer. The data is also automatically replicated by the +cluster to ensure that enough shard copies are safely kept around at all +times (configurable with `index.number_of_replicas`). -Note that only indices closed in Elasticsearch 7.2.0 are automatically +In addition to that, it is now possible to snapshot closed indices using +the <>. To include a closed index +when creating a snapshot on Elasticsearch 7.2+, the `expand_wildcards` +parameter must be explicitly set to either `all` or `closed` . + +To snapshot closed indices, +setting the expand_wildcards option either to all or closed (see https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-index.html). + +Note that only indices closed in Elasticsearch 7.2+ are automatically replicated. Indices closed on previous versions of Elasticsearch will remain non replicated unless they are opened and closed again in 7.2.0. From 1d4ad3b4b2d3ef39737acdd12dfe46fa911d9f48 Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Mon, 24 Jun 2019 15:28:44 +0200 Subject: [PATCH 3/3] feedback --- docs/reference/release-notes/highlights-7.2.0.asciidoc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/reference/release-notes/highlights-7.2.0.asciidoc b/docs/reference/release-notes/highlights-7.2.0.asciidoc index 965281e979a64..6083183a2a909 100644 --- a/docs/reference/release-notes/highlights-7.2.0.asciidoc +++ b/docs/reference/release-notes/highlights-7.2.0.asciidoc @@ -40,11 +40,8 @@ the <>. To include a closed index when creating a snapshot on Elasticsearch 7.2+, the `expand_wildcards` parameter must be explicitly set to either `all` or `closed` . -To snapshot closed indices, -setting the expand_wildcards option either to all or closed (see https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-index.html). - Note that only indices closed in Elasticsearch 7.2+ are automatically replicated. Indices closed on previous versions of Elasticsearch will -remain non replicated unless they are opened and closed again in 7.2.0. +remain non replicated unless they are opened and closed again in 7.2+. // end::notable-highlights[]