OpenSearch/docs/reference/migration/migrate_7_0
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
..
aggregations.asciidoc Require combine and reduce scripts in scripted metrics aggregation (#33452) 2018-10-03 15:22:01 +01:00
analysis.asciidoc [Analysis] Deprecate Standard Html Strip Analyzer in master (#26719) 2019-01-09 12:42:00 +09:00
api.asciidoc Remove support for internal versioning for concurrency control (#38254) 2019-02-05 20:53:35 +01:00
cluster.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
discovery.asciidoc Rename no-master-block setting (#38350) 2019-02-05 08:47:56 +00:00
indices.asciidoc lower fielddata circuit breaker's default limit (#27162) 2018-12-11 11:30:58 +01:00
java.asciidoc Remove the AbstracLifecycleComponent constructor with Settings (#37523) 2019-01-17 09:10:09 +01:00
logging.asciidoc Migration doc for audit json log file (#38165) 2019-02-05 09:09:15 +01:00
low_level_restclient.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
mappings.asciidoc Uppercasing some docs section title (#37781) 2019-01-24 22:54:55 +01:00
node.asciidoc Fail start on obsolete indices documentation (#37786) 2019-01-31 15:40:06 +01:00
packaging.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00
plugins.asciidoc Remove DiscoveryPlugin#getDiscoveryTypes (#38414) 2019-02-05 17:42:24 +00:00
restclient.asciidoc Remove support for maxRetryTimeout from low-level REST client (#38085) 2019-02-06 08:43:47 +01:00
scripting.asciidoc Delete deprecated getValues from ScriptDocValues (#36183) 2018-12-14 07:56:47 -05:00
search.asciidoc Forbid negative field boosts in analyzed queries (#37930) 2019-02-01 11:41:40 +01:00
settings.asciidoc Enable TLSv1.3 by default for JDKs with support (#38103) 2019-02-01 08:34:11 -07:00
snapshotstats.asciidoc [DOCS] Synchronize location of Breaking Changes (#33588) 2018-09-27 08:41:38 -07:00