-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Elasticsearch
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #86, nxplatform #87
-
Story Points:3
The same way bulk and index commands (NXP-30841) we want delete to be able to retry multiple times in case of timeout instead of giving up.
Example of a failure:
Exception during work: IndexingWorker(7ff5b678-9b1f-4823-aec7-e3563d0a28d1, , Progress(?%, ?/0), null) java.io.IOException: listener timeout after waiting for [60000] ms at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:905) ~[elasticsearch-rest-client-6.5.3.jar:6.5.3] at org.elasticsearch.client.RestClient.performRequest(RestClient.java:229) ~[elasticsearch-rest-client-6.5.3.jar:6.5.3] at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1593) ~[elasticsearch-rest-high-level-client-6.5.3.jar:6.5.3] at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1563) ~[elasticsearch-rest-high-level-client-6.5.3.jar:6.5.3] at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1525) ~[elasticsearch-rest-high-level-client-6.5.3.jar:6.5.3] at org.elasticsearch.client.RestHighLevelClient.delete(RestHighLevelClient.java:941) ~[elasticsearch-rest-high-level-client-6.5.3.jar:6.5.3] at org.nuxeo.elasticsearch.client.ESRestClient.delete(ESRestClient.java:367) ~[nuxeo-elasticsearch-core-10.10-HF67.jar:?]