]
Gary Brown commented on RTGOV-574:
----------------------------------
Removing association with version 2.0.0.Final as does not appear to be causing any adverse
effect - however will keep open for now.
[~imckinle] Just wanted to check, is there a reason the mappings are applied regardless of
whether the index is created or already exists? Does this need to be done for each restart
- is it in case the mappings change?
Investigate 'index already exists' exception when previous
command indicates does not exist
-------------------------------------------------------------------------------------------
Key: RTGOV-574
URL:
https://issues.jboss.org/browse/RTGOV-574
Project: RTGov (Run Time Governance)
Issue Type: Task
Reporter: Gary Brown
Assignee: Gary Brown
When updating to Elasticsearch 1.3.2 (RTGOV-568), noticed that when the EAP server was
restarted, it resulted in an IndexAlreadyExistsException from ES.
However this exception was generated from code called to create the indexes - however
prior to that call it checks with the ES node whether the indexes already exist.
Ivan McKinley found the following reference that may be relevant:
http://stackoverflow.com/questions/23883110/elasticsearch-index-exists-no...
He also suggests:
"If this is the problem then we may have an impact from running “embedded” mode.
The more data we have the longer response from the async process perhaps.
externalising the es process may resolve this.. and another test is to remove the entire
contents of the index/type/ to further prove that we are affect the amount of data.
The various scenarios here are definitely interesting for us regarding
documentation"