OpenSearch/docs/reference/modules
Luca Cavanna 29450de7b5
Cross Cluster Search: make remote clusters optional (#27182)
Today Cross Cluster Search requires at least one node in each remote cluster to be up once the cross cluster search is run. Otherwise the whole search request fails despite some of the data (either local and/or remote) is available. This happens when performing the _search/shards calls to find out which remote shards the query has to be executed on. This scenario is different from shard failures that may happen later on when the query is actually executed, in case e.g. remote shards are missing, which is not going to fail the whole request but rather yield partial results, and the _shards section in the response will indicate that.

This commit introduces a boolean setting per cluster called search.remote.$cluster_alias.skip_if_disconnected, set to false by default, which allows to skip certain clusters if they are down when trying to reach them through a cross cluster search requests. By default all clusters are mandatory.

Scroll requests support such setting too when they are first initiated (first search request with scroll parameter), but subsequent scroll rounds (_search/scroll endpoint) will fail if some of the remote clusters went down meanwhile.

The search API response contains now a new _clusters section, similar to the _shards section, that gets returned whenever one or more clusters were disconnected and got skipped:

"_clusters" : {
    "total" : 3,
    "successful" : 2,
    "skipped" : 1
}
Such section won't be part of the response if no clusters have been skipped.

The per cluster skip_unavailable setting value has also been added to the output of the remote/info API.
2017-11-21 11:41:47 +01:00
..
cluster Update shards_allocation.asciidoc (#26019) 2017-08-03 11:27:02 +02:00
discovery Add additional explanations around discovery.zen.ping_timeout (#27231) 2017-11-02 16:52:10 +01:00
indices ScriptService: Replace max compilation per minute setting with max compilation rate (#26399) 2017-09-01 10:15:27 +02:00
scripting [Docs] Fix broken bulleted lists (#27470) 2017-11-21 11:10:35 +01:00
cluster.asciidoc Fix typo in cluster module docs 2016-07-12 16:32:23 -04:00
cross-cluster-search.asciidoc Cross Cluster Search: make remote clusters optional (#27182) 2017-11-21 11:41:47 +01:00
discovery.asciidoc [DOCS] add azure and gce discovery plugins 2014-02-06 09:18:42 +01:00
gateway.asciidoc [Docs] Fix wrong indent in gateway documentation (#26501) 2017-09-05 10:42:58 +02:00
http.asciidoc Enforce Content-Type requirement on the rest layer and remove deprecated methods (#23146) 2017-02-17 14:45:41 -05:00
indices.asciidoc Fix doc build. 2016-06-22 09:34:49 +02:00
memcached.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
network.asciidoc [DOCS] Cleanup link for ec2 discovery (#26222) 2017-08-15 11:49:58 -07:00
node.asciidoc Reinstate recommendation for ≥ 3 master-eligible nodes. (#27204) 2017-11-03 08:48:48 +00:00
plugins.asciidoc Docs: Remove remaining references to file and native scripts (#26580) 2017-09-11 11:39:29 -07:00
scripting.asciidoc [DOCS] Added Painless Language Spec content 2017-05-16 12:46:56 -07:00
snapshots.asciidoc Fixed references to Multi Index Syntax (#27283) 2017-11-06 19:15:36 +01:00
threadpool.asciidoc Marked `fixed_auto_queue_size` as experimental 2017-05-22 10:03:31 +02:00
thrift.asciidoc Fix organization rename in all files in project 2016-03-03 12:04:13 -07:00
transport.asciidoc Docs: CONSOLEify transport docs (#23027) 2017-02-07 20:06:28 -06:00
tribe.asciidoc Remove path.conf setting 2017-06-26 15:18:29 -04:00