OpenSearch/x-pack/plugin
David Roberts 8d01b11918 [ML] Fix race condition when creating multiple jobs (#40049)
If multiple jobs are created together and the anomaly
results index does not exist then some of the jobs could
fail to update the mappings of the results index. This
lead them to fail to write their results correctly later.

Although this scenario sounds rare, it is exactly what
happens if the user creates their first jobs using the
Nginx module in the ML UI.

This change fixes the problem by updating the mappings
of the results index if it is found to exist during a
creation attempt.

Fixes #38785
2019-03-15 10:18:03 +00:00
..
ccr Remove types from internal monitoring templates and bump to api 7 (#39888) (#39926) 2019-03-11 13:17:27 -05:00
core [ML] Refactor common utils out of ML plugin to XPack.Core (#39976) (#40009) 2019-03-13 17:08:43 -05:00
data-frame Mute DataFrameFeatureSetTests#testUsage test (#40023) 2019-03-14 10:39:14 +00:00
deprecation Deprecation check for indices with very large numbers of fields (#39869) 2019-03-12 09:06:31 -06:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
ilm Maintain step order for ILM trace logging (#39522) 2019-03-07 11:37:58 -07:00
logstash Update logstash-management.json to use typeless template (#38653) (#39819) 2019-03-08 08:23:30 -06:00
ml [ML] Fix race condition when creating multiple jobs (#40049) 2019-03-15 10:18:03 +00:00
monitoring Fix test which still uses default type (#39997) 2019-03-14 10:37:51 -05:00
rollup Fixed missed stopping of SchedulerEngine (#39193) 2019-02-21 14:31:33 -07:00
security Upgrade the bouncycastle dependency to 1.61 (#40017) 2019-03-14 08:54:47 -04:00
sql SQL: Introduce MAD (MedianAbsoluteDeviation) aggregation (#40048) 2019-03-15 11:45:15 +02:00
src/test [ML] Refactor common utils out of ML plugin to XPack.Core (#39976) (#40009) 2019-03-13 17:08:43 -05:00
upgrade Add pre-upgrade check to test cluster routing allocation is enabled (#39340) (#39815) 2019-03-13 09:23:32 +11:00
watcher Fix Watcher stats class cast exception (#39821) 2019-03-08 14:52:10 -05:00
build.gradle Add support for API keys to access Elasticsearch (#38291) 2019-02-05 14:21:57 +11:00