OpenSearch/modules
Simon Willnauer 31740e279f Resolve index names to Index instances early
Today index names are often resolved lazily, only when they are really
needed. This can be problematic especially when it gets to mapping updates
etc. when a node sends a mapping update to the master but while the request
is in-flight the index changes for whatever reason we would still apply the update
since we use the name of the index to identify the index in the clusterstate.
The problem is that index names can be reused which happens in practice and sometimes
even in a automated way rendering this problem as realistic.
In this change we resolve the index including it's UUID as early as possible in places
where changes to the clusterstate are possible. For instance mapping updates on a node use a
concrete index rather than it's name and the master will fail the mapping update iff
the index can't be found by it's <name, uuid> tuple.

Closes #17048
2016-03-14 11:08:48 +01:00
..
ingest-grok ingest: Added foreach processor. 2016-02-04 23:44:01 +01:00
lang-expression Upgrade to lucene-6.0.0-f0aa4fc. #17075 2016-03-14 07:58:52 +01:00
lang-groovy Resolve index names to Index instances early 2016-03-14 11:08:48 +01:00
lang-mustache Make logging message String constant to allow static checks 2016-03-11 10:30:59 +01:00
lang-painless Moved Painless from a plugin to a module. 2016-02-21 16:50:54 -08:00
reindex Resolve index names to Index instances early 2016-03-14 11:08:48 +01:00
build.gradle Build: Do not publish modules 2016-02-04 13:03:03 -08:00