OpenSearch/modules
Luca Cavanna a7046e001c
Remove support for maxRetryTimeout from low-level REST client (#38085)
We have had various reports of problems caused by the maxRetryTimeout
setting in the low-level REST client. Such setting was initially added
in the attempts to not have requests go through retries if the request
already took longer than the provided timeout.

The implementation was problematic though as such timeout would also
expire in the first request attempt (see #31834), would leave the
request executing after expiration causing memory leaks (see #33342),
and would not take into account the http client internal queuing (see #25951).

Given all these issues, it seems that this custom timeout mechanism 
gives little benefits while causing a lot of harm. We should rather rely 
on connect and socket timeout exposed by the underlying http client 
and accept that a request can overall take longer than the configured 
timeout, which is the case even with a single retry anyways.

This commit removes the `maxRetryTimeout` setting and all of its usages.
2019-02-06 08:43:47 +01:00
..
aggs-matrix-stats Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
analysis-common Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
ingest-common Mute DateProcessorTests#testJodaPatternLocale (#38265) 2019-02-03 19:52:53 +01:00
ingest-geoip Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
ingest-user-agent Ingest node - user agent, move device to an object (#38115) 2019-01-31 13:54:34 -06:00
lang-expression Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
lang-mustache Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
lang-painless Make sure to reject mappings with type _doc when include_type_name is false. (#38270) 2019-02-05 10:52:32 -08:00
mapper-extras Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
parent-join Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
percolator Default include_type_name to false in the yml test harness. (#38058) 2019-02-01 11:44:13 -08:00
rank-eval Rename no-master-block setting (#38350) 2019-02-05 08:47:56 +00:00
reindex Remove support for internal versioning for concurrency control (#38254) 2019-02-05 20:53:35 +01:00
repository-url Removes typed calls from YAML REST tests (#37611) 2019-01-30 16:32:58 +00:00
transport-netty4 Remove support for maxRetryTimeout from low-level REST client (#38085) 2019-02-06 08:43:47 +01:00
build.gradle Painless: Add spi jar that will be published for extending whitelists (#28302) 2018-01-18 19:16:26 -08:00