Skip to content

Commit 79131a6

Browse files
committed
[API] Updates source code docs to f15ccea832ee9dba2b1a31f6d7430940c2a53984
1 parent 283beca commit 79131a6

File tree

5 files changed

+22
-10
lines changed

5 files changed

+22
-10
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_template.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module API
2323
module Indices
2424
module Actions
2525
# Delete a legacy index template.
26+
# IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.
2627
#
2728
# @option arguments [String] :name The name of the legacy index template to delete.
2829
# Wildcard (`*`) expressions are supported. (*Required*)

elasticsearch-api/lib/elasticsearch/api/actions/indices/get_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Elasticsearch
2222
module API
2323
module Indices
2424
module Actions
25-
# Get index templates.
25+
# Get legacy index templates.
2626
# Get information about one or more index templates.
2727
# IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.
2828
#

elasticsearch-api/lib/elasticsearch/api/actions/indices/put_template.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Elasticsearch
2222
module API
2323
module Indices
2424
module Actions
25-
# Create or update an index template.
25+
# Create or update a legacy index template.
2626
# Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
2727
# Elasticsearch applies templates to new indices based on an index pattern that matches the index name.
2828
# IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.

elasticsearch-api/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,27 @@ module API
2323
module Snapshot
2424
module Actions
2525
# Analyze a snapshot repository.
26-
# Analyze the performance characteristics and any incorrect behaviour found in a repository.
27-
# The response exposes implementation details of the analysis which may change from version to version.
28-
# The response body format is therefore not considered stable and may be different in newer versions.
26+
# Performs operations on a snapshot repository in order to check for incorrect behaviour.
2927
# There are a large number of third-party storage systems available, not all of which are suitable for use as a snapshot repository by Elasticsearch.
30-
# Some storage systems behave incorrectly, or perform poorly, especially when accessed concurrently by multiple clients as the nodes of an Elasticsearch cluster do. This API performs a collection of read and write operations on your repository which are designed to detect incorrect behaviour and to measure the performance characteristics of your storage system.
28+
# Some storage systems behave incorrectly, or perform poorly, especially when accessed concurrently by multiple clients as the nodes of an Elasticsearch cluster do.
29+
# This API performs a collection of read and write operations on your repository which are designed to detect incorrect behaviour and to measure the performance characteristics of your storage system.
3130
# The default values for the parameters are deliberately low to reduce the impact of running an analysis inadvertently and to provide a sensible starting point for your investigations.
3231
# Run your first analysis with the default parameter values to check for simple problems.
33-
# If successful, run a sequence of increasingly large analyses until you encounter a failure or you reach a `blob_count` of at least `2000`, a `max_blob_size` of at least `2gb`, a `max_total_data_size` of at least `1tb`, and a `register_operation_count` of at least `100`.
32+
# Some repositories may behave correctly when lightly loaded but incorrectly under production-like workloads.
33+
# If the first analysis is successful, run a sequence of increasingly large analyses until you encounter a failure or you reach a `blob_count` of at least `2000`, a `max_blob_size` of at least `2gb`, a `max_total_data_size` of at least `1tb`, and a `register_operation_count` of at least `100`.
3434
# Always specify a generous timeout, possibly `1h` or longer, to allow time for each analysis to run to completion.
35+
# Some repositories may behave correctly when accessed by a small number of Elasticsearch nodes but incorrectly when accessed concurrently by a production-scale cluster.
3536
# Perform the analyses using a multi-node cluster of a similar size to your production cluster so that it can detect any problems that only arise when the repository is accessed by many nodes at once.
3637
# If the analysis fails, Elasticsearch detected that your repository behaved unexpectedly.
3738
# This usually means you are using a third-party storage system with an incorrect or incompatible implementation of the API it claims to support.
3839
# If so, this storage system is not suitable for use as a snapshot repository.
40+
# Repository analysis triggers conditions that occur only rarely when taking snapshots in a production system.
41+
# Snapshotting to unsuitable storage may appear to work correctly most of the time despite repository analysis failures.
42+
# However your snapshot data is at risk if you store it in a snapshot repository that does not reliably pass repository analysis.
43+
# You can demonstrate that the analysis failure is due to an incompatible storage implementation by verifying that Elasticsearch does not detect the same problem when analysing the reference implementation of the storage protocol you are using.
44+
# For instance, if you are using storage that offers an API which the supplier claims to be compatible with AWS S3, verify that repositories in AWS S3 do not fail repository analysis.
45+
# This allows you to demonstrate to your storage supplier that a repository analysis failure must only be caused by an incompatibility with AWS S3 and cannot be attributed to a problem in Elasticsearch.
46+
# Please do not report Elasticsearch issues involving third-party storage systems unless you can demonstrate that the same issue exists when analysing a repository that uses the reference implementation of the same storage protocol.
3947
# You will need to work with the supplier of your storage system to address the incompatibilities that Elasticsearch detects.
4048
# If the analysis is successful, the API returns details of the testing process, optionally including how long each operation took.
4149
# You can use this information to determine the performance of your storage system.
@@ -61,14 +69,17 @@ module Actions
6169
# This consumes bandwidth on the network between the cluster and the repository, and storage space and I/O bandwidth on the repository itself.
6270
# You must ensure this load does not affect other users of these systems.
6371
# Analyses respect the repository settings `max_snapshot_bytes_per_sec` and `max_restore_bytes_per_sec` if available and the cluster setting `indices.recovery.max_bytes_per_sec` which you can use to limit the bandwidth they consume.
64-
# NOTE: This API is intended for exploratory use by humans. You should expect the request parameters and the response format to vary in future versions.
72+
# NOTE: This API is intended for exploratory use by humans.
73+
# You should expect the request parameters and the response format to vary in future versions.
74+
# The response exposes immplementation details of the analysis which may change from version to version.
6575
# NOTE: Different versions of Elasticsearch may perform different checks for repository compatibility, with newer versions typically being stricter than older ones.
6676
# A storage system that passes repository analysis with one version of Elasticsearch may fail with a different version.
6777
# This indicates it behaves incorrectly in ways that the former version did not detect.
6878
# You must work with the supplier of your storage system to address the incompatibilities detected by the repository analysis API in any version of Elasticsearch.
6979
# NOTE: This API may not work correctly in a mixed-version cluster.
7080
# *Implementation details*
71-
# NOTE: This section of documentation describes how the repository analysis API works in this version of Elasticsearch, but you should expect the implementation to vary between versions. The request parameters and response format depend on details of the implementation so may also be different in newer versions.
81+
# NOTE: This section of documentation describes how the repository analysis API works in this version of Elasticsearch, but you should expect the implementation to vary between versions.
82+
# The request parameters and response format depend on details of the implementation so may also be different in newer versions.
7283
# The analysis comprises a number of blob-level tasks, as set by the `blob_count` parameter and a number of compare-and-exchange operations on linearizable registers, as set by the `register_operation_count` parameter.
7384
# These tasks are distributed over the data and master-eligible nodes in the cluster for execution.
7485
# For most blob-level tasks, the executing node first writes a blob to the repository and then instructs some of the other nodes in the cluster to attempt to read the data it just wrote.

elasticsearch-api/lib/elasticsearch/api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
module Elasticsearch
1919
module API
2020
VERSION = '9.0.0'.freeze
21-
ES_SPECIFICATION_COMMIT = '7a7e2a257032dcadda0f1aeec9344598a2e12913'.freeze
21+
ES_SPECIFICATION_COMMIT = 'f15ccea832ee9dba2b1a31f6d7430940c2a53984'.freeze
2222
end
2323
end

0 commit comments

Comments
 (0)