-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Fix Version/s: 9.10-HF20
-
Component/s: Elasticsearch
See NXP-25328, this needs to be backported on 9.10
[nuxeo/1gnHDz9bSyWf4yTg5TanOQ][[nuxeo][4]] ElasticsearchStatusException[Elasticsearch exception [type=version_conflict_engine_exception, reason=[doc][2c3f6731-4119-44d0-97aa-b37d0049588e]: version conflict, current version [1537285835704834] is higher or equal to the one provided [1537285835664558]]] at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177) at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:526) at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:502) at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:409) at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:382) at org.elasticsearch.client.RestHighLevelClient.index(RestHighLevelClient.java:267) at org.nuxeo.elasticsearch.client.ESRestClient.index(ESRestClient.java:369) at org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl.processIndexCommand(ElasticSearchIndexingImpl.java:297) at org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl.indexNonRecursive(ElasticSearchIndexingImpl.java:268) at org.nuxeo.elasticsearch.core.ElasticSearchIndexingImpl.indexNonRecursive(ElasticSearchIndexingImpl.java:138) at org.nuxeo.elasticsearch.ElasticSearchComponent.indexNonRecursive(ElasticSearchComponent.java:405) at org.nuxeo.elasticsearch.work.IndexingWorker.doIndexingWork(IndexingWorker.java:73) at org.nuxeo.elasticsearch.work.AbstractIndexingWorker.doWork(AbstractIndexingWorker.java:61) at org.nuxeo.elasticsearch.work.BaseIndexingWorker.work(BaseIndexingWorker.java:48) at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:435) at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:355) at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:57) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Suppressed: org.elasticsearch.client.ResponseException: PUT http://10.4.7.207:9200/nuxeo/doc/2c3f6731-4119-44d0-97aa-b37d0049588e?version_type=external&version=1537285835664558&timeout=1m: HTTP/1.1 409 Conflict {"error":{"root_cause":[{"type":"version_conflict_engine_exception","reason":"[doc][2c3f6731-4119-44d0-97aa-b37d0049588e]: version conflict, current version [1537285835704834] is higher or equal to the one provided [1537285835664558]","index_uuid":"1gnHDz9bSyWf4yTg5TanOQ","shard":"4","index":"nuxeo"}],"type":"version_conflict_engine_exception","reason":"[doc][2c3f6731-4119-44d0-97aa-b37d0049588e]: version conflict, current version [1537285835704834] is higher or equal to the one provided [1537285835664558]","index_uuid":"1gnHDz9bSyWf4yTg5TanOQ","shard":"4","index":"nuxeo"},"status":409} at org.elasticsearch.client.RestClient$1.completed(RestClient.java:354) at org.elasticsearch.client.RestClient$1.completed(RestClient.java:343) at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:119) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:177) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:436) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:326) at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588) ... 1 more
- is related to
-
NXP-25328 Elasticsearch RestClient raises error on optimistic concurrency
- Resolved