The problem is twofold:
# We have arbitrary timeouts when executing requests, and those timeouts start when we submit the request to the client rather than when the request starts executing. Before HSEARCH-2764, this timeout is set up by {{RestClient.performRequest}} (the synchronous form), after HSEARCH-2764 we set it up ourselves in {{DefaultElasticsearchClient}}. # Retry timeouts (managed by {{RestClient}}) also start when we submit requests rather than when the request starts executing. See https://github.com/elastic/elasticsearch/issues/ 25578
25951 I added a test case for item 2 on my copy of the repo: https://github.com/yrodiere/hibernate-search/tree/HSEARCH-2836 |
|