From eeec90be7985283ca85d6812cc176ebac2c3d97c Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Wed, 1 Apr 2015 10:18:29 +0200 Subject: [PATCH] [DOCS] Add verify parameter to snapshot documentation Add verify parameter to snapshot documentation and remove 'verify' setting at FS repository level (not supported) --- docs/reference/modules/snapshots.asciidoc | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/reference/modules/snapshots.asciidoc b/docs/reference/modules/snapshots.asciidoc index 1efef5ae0f7b..9139e763ee08 100644 --- a/docs/reference/modules/snapshots.asciidoc +++ b/docs/reference/modules/snapshots.asciidoc @@ -71,7 +71,6 @@ on all data and master nodes. The following settings are supported: using size value notation, i.e. 1g, 10m, 5k. Defaults to `null` (unlimited chunk size). `max_restore_bytes_per_sec`:: Throttles per node restore rate. Defaults to `40mb` per second. `max_snapshot_bytes_per_sec`:: Throttles per node snapshot rate. Defaults to `40mb` per second. -`verify`:: Verify repository upon creation. Defaults to `true`. [float] ===== Read-only URL Repository @@ -95,8 +94,21 @@ Other repository backends are available in these official plugins: [float] ===== Repository Verification When a repository is registered, it's immediately verified on all master and data nodes to make sure that it is functional -on all nodes currently present in the cluster. The verification process can also be executed manually by running the -following command: +on all nodes currently present in the cluster. The `verify` parameter can be used to explicitly disable the repository +verification when registering or updating a repository: + +[source,js] +----------------------------------- +$ curl -XPUT 'http://localhost:9200/_snapshot/s3_repository?verify=false' -d '{ + "type": "s3", + "settings": { + "bucket": "my_s3_bucket", + "region": "eu-west-1", + } +}' +----------------------------------- + +The verification process can also be executed manually by running the following command: [source,js] -----------------------------------