elasticsearch/plugins
Yannick Welsch 118521d022
Account for recovery throttling when restoring snapshot (#58658)
Restoring from a snapshot (which is a particular form of recovery) does not currently take recovery throttling into account
(i.e. the `indices.recovery.max_bytes_per_sec` setting). While restores are subject to their own throttling (repository
setting `max_restore_bytes_per_sec`), this repository setting does not allow for values to be configured differently on a
per-node basis. As restores are very similar in nature to peer recoveries (streaming bytes to the node), it makes sense to
configure throttling in a single place.

The `max_restore_bytes_per_sec` setting is also changed to default to unlimited now, whereas previously it was set to
`40mb`, which is the current default of `indices.recovery.max_bytes_per_sec`). This means that no behavioral change
will be observed by clusters where the recovery and restore settings were not adapted.

Relates https://github.com/elastic/elasticsearch/issues/57023

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
2020-06-30 13:08:21 +02:00
..
analysis-icu Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
analysis-kuromoji Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
analysis-nori Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
analysis-phonetic Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
analysis-smartcn Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
analysis-stempel Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
analysis-ukrainian Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
discovery-azure-classic Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
discovery-ec2 Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
discovery-gce Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
examples Remove deprecated usage of testCompile configuration (#57921) 2020-06-12 13:34:53 +02:00
ingest-attachment Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
mapper-annotated-text Add text search information to MappedFieldType (#58230) 2020-06-23 13:37:49 +01:00
mapper-murmur3 Add text search information to MappedFieldType (#58230) 2020-06-23 13:37:49 +01:00
mapper-size Remove Settings parameter from FieldMapper base class (#58237) 2020-06-18 12:39:48 +01:00
repository-azure Account for recovery throttling when restoring snapshot (#58658) 2020-06-30 13:08:21 +02:00
repository-gcs Account for recovery throttling when restoring snapshot (#58658) 2020-06-30 13:08:21 +02:00
repository-hdfs Account for recovery throttling when restoring snapshot (#58658) 2020-06-30 13:08:21 +02:00
repository-s3 Account for recovery throttling when restoring snapshot (#58658) 2020-06-30 13:08:21 +02:00
store-smb Optimize which Rest resources are used by the Rest tests. (#53299) 2020-03-18 09:09:29 -05:00
transport-nio Replace compile configuration usage with api (#58451) 2020-06-30 09:37:09 +02:00
build.gradle Apply 2-space indent to all gradle scripts (#48849) 2019-11-13 10:14:04 +00:00