Skip to content

Commit

Permalink
Add partial to single-source common settings for snapshot repository …
Browse files Browse the repository at this point in the history
…plugins
  • Loading branch information
jrodewig committed Mar 27, 2019
1 parent bd7bc12 commit f22f38b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
10 changes: 1 addition & 9 deletions docs/plugins/repository-azure.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,7 @@ The Azure repository supports following settings:
The chunk size can be specified in bytes or by using size value notation,
i.e. `1g`, `10m`, `5k`. Defaults to `64m` (64m max)

`compress`::

When set to `true` metadata files are stored in compressed format. This
setting doesn't affect index files that are already compressed by default.
Defaults to `true`.

`readonly`::

Makes repository read-only. Defaults to `false`.
include::repository-shared-settings.asciidoc[]

`location_mode`::

Expand Down
2 changes: 2 additions & 0 deletions docs/plugins/repository-gcs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ The following settings are supported:
setting doesn't affect index files that are already compressed by default.
Defaults to `true`.

include::repository-shared-settings.asciidoc[]

`application_name`::

deprecated[7.0.0, This setting is now defined in the <<repository-gcs-client, client settings>>]
Expand Down
2 changes: 2 additions & 0 deletions docs/plugins/repository-hdfs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ The following settings are supported:

Whether to compress the metadata or not. (Enabled by default)

include::repository-shared-settings.asciidoc[]

`chunk_size`::

Override the chunk size. (Disabled by default)
Expand Down
8 changes: 1 addition & 7 deletions docs/plugins/repository-s3.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,7 @@ The following settings are supported:
setting doesn't affect index files that are already compressed by default.
Defaults to `true`.

`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.
include::repository-shared-settings.asciidoc[]

`server_side_encryption`::

Expand Down
11 changes: 11 additions & 0 deletions docs/plugins/repository-shared-settings.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
`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.

`readonly`::

Makes repository read-only. Defaults to `false`.

0 comments on commit f22f38b

Please sign in to comment.