-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
3.5.0
-
None
-
Not defined
Event Process instances indices are confused with camunda process instance indices when retrieving and updating dynamic index mappings:
12:54:42.036 [main] ERROR o.c.o.upgrade.main.UpgradeMain - Upgrade failed. org.camunda.optimize.upgrade.exception.UpgradeRuntimeException: Upgrade failed. at org.camunda.optimize.upgrade.main.UpgradeProcedure.performUpgrade(UpgradeProcedure.java:58) at org.camunda.optimize.upgrade.main.UpgradeMain.main(UpgradeMain.java:68) Caused by: org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=index_not_found_exception, reason=no such index [optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6]] at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:187) at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1907) at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:1884) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1641) at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1598) at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1568) at org.elasticsearch.client.IndicesClient.putSettings(IndicesClient.java:1345) at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.updateIndexDynamicSettingsAndMappings(ElasticSearchSchemaManager.java:403) at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.updateDynamicSettingsAndMappings(ElasticSearchSchemaManager.java:381) at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.updateAllMappingsAndDynamicSettings(ElasticSearchSchemaManager.java:347) at org.camunda.optimize.service.es.schema.ElasticSearchSchemaManager.initializeSchema(ElasticSearchSchemaManager.java:113) at org.camunda.optimize.upgrade.es.SchemaUpgradeClient.initializeSchema(SchemaUpgradeClient.java:226) at org.camunda.optimize.upgrade.main.UpgradeProcedure.executeUpgradePlan(UpgradeProcedure.java:109) at org.camunda.optimize.upgrade.main.UpgradeProcedure.performUpgrade(UpgradeProcedure.java:53) ... 1 common frames omitted Suppressed: org.elasticsearch.client.ResponseException: method [PUT], host [http://localhost:9200], URI [/optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6/_settings?master_timeout=30s&ignore_unavailable=false&expand_wildcards=open%2Cclosed&allow_no_indices=false&ignore_throttled=false&timeout=30s], status line [HTTP/1.1 404 Not Found] {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6]","resource.type":"index_or_alias","resource.id":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6","index_uuid":"_na_","index":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6"}],"type":"index_not_found_exception","reason":"no such index [optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6]","resource.type":"index_or_alias","resource.id":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6","index_uuid":"_na_","index":"optimize-process-instance-21e63126-acdc-4604-be5b-35c416cb88df_v6"},"status":404} at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:318) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:288) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:262) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1628) ... 11 common frames omitted