You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make sure the major version matches the Elasticsearch server you are running.
Description of the problem including expected versus actual behavior:
When the options() method is called for an existing ElasticSearch client instance, the timeout related parameters are not preserved. These parameters are:
self._request_timeout
self._max_retries
self._retry_on_timeout
self._retry_on_status
This is problematic in the helpers module, particularly scan() because that method calls the options and resets any timeout related settings we may have made on the client. We can re-specify the request_timeout there but retries parameters cannot be replicated
+1 to this. It's called in the streaming_bulk method as well, and I believe it is not possible to re-specify any of the affected parameters at that point (most importantly request_timeout)
Elasticsearch version (8.1.1):
elasticsearch-py
version (8.1.1
):Please make sure the major version matches the Elasticsearch server you are running.
Description of the problem including expected versus actual behavior:
When the
options()
method is called for an existingElasticSearch
client instance, the timeout related parameters are not preserved. These parameters are:self._request_timeout
self._max_retries
self._retry_on_timeout
self._retry_on_status
This is problematic in the
helpers
module, particularlyscan()
because that method calls theoptions
and resets any timeout related settings we may have made on the client. We can re-specify therequest_timeout
there but retries parameters cannot be replicatedSteps to reproduce:
The text was updated successfully, but these errors were encountered: