You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: explore-analyze/query-filter/languages/esql-cross-clusters.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ PUT _cluster/settings
169
169
}
170
170
```
171
171
172
-
1. Since `skip_unavailable` was not set on `cluster_three`, it uses the default of `false`. See the [Optional remote clusters](#ccq-skip-unavailable-clusters) section for details.
172
+
1. Since `skip_unavailable` was not set on `cluster_three`, it uses the default of `true`. See the [Optional remote clusters](#ccq-skip-unavailable-clusters) section for details.
173
173
174
174
175
175
@@ -284,7 +284,7 @@ Which returns:
284
284
```
285
285
286
286
1. How long the entire search (across all clusters) took, in milliseconds.
287
-
2. This section of counters shows all possible cluster search states and how many cluster searches are currently in that state. The clusters can have one of the following statuses: **running**, **successful** (searches on all shards were successful), **skipped** (the search failed on a cluster marked with `skip_unavailable`=`true`), **failed** (the search failed on a cluster marked with `skip_unavailable`=`false`) or **partial** (the search was [interrupted](https://www.elastic.co/guide/en/elasticsearch/reference/current/esql-async-query-stop-api.html) before finishing).
287
+
2. This section of counters shows all possible cluster search states and how many cluster searches are currently in that state. The clusters can have one of the following statuses: **running**, **successful** (searches on all shards were successful), **skipped** (the search failed on a cluster marked with `skip_unavailable`=`true`), **failed** (the search failed on a cluster marked with `skip_unavailable`=`false`) or **partial** (the search was [interrupted](https://www.elastic.co/guide/en/elasticsearch/reference/current/esql-async-query-stop-api.html) before finishing or has partially failed).
288
288
3. The `_clusters/details` section shows metadata about the search on each cluster.
289
289
4. If you included indices from the local cluster you sent the request to in your {{ccs}}, it is identified as "(local)".
290
290
5. How long (in milliseconds) the search took on each cluster. This can be useful to determine which clusters have slower response times than others.
@@ -469,10 +469,9 @@ FROM my-index-000001,cluster*:my-index-*,cluster_three:-my-index-000001
{{ccs-cap}} for {{esql}} currently does not respect the `skip_unavailable` setting. As a result, if a remote cluster specified in the request is unavailable or failed, {{ccs}} for {{esql}} queries will fail regardless of the setting.
473
-
474
-
We are actively working to align the behavior of {{ccs}} for {{esql}} with other {{ccs}} APIs.
475
-
472
+
If a remote cluster disconnects from the querying cluster, {ccs-cap} for {esql} will set it to `skipped`
473
+
and continue the query with other clusters, unless the remote cluster's `skip_unavailable` setting is set to `false`,
474
+
in which case the query will fail.
476
475
477
476
## Query across clusters during an upgrade [ccq-during-upgrade]
0 commit comments