OpenSearch/x-pack/plugin
David Roberts e217f9a1e8
[ML] Wait for shards to initialize after creating ML internal indices (#59087)
There have been a few test failures that are likely caused by tests
performing actions that use ML indices immediately after the actions
that create those ML indices.  Currently this can result in attempts
to search the newly created index before its shards have initialized.

This change makes the method that creates the internal ML indices
that have been affected by this problem (state and stats) wait for
the shards to be initialized before returning.

Backport of #59027
2020-07-07 10:52:10 +01:00
..
analytics Deduplicate Empty InternalAggregations (#58386) (#59032) 2020-07-04 14:02:16 +02:00
async [7.x] EQL: Adds an ability to execute an asynchronous EQL search (#58192) 2020-06-25 14:11:57 -04:00
async-search 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
autoscaling 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
ccr 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
core [ML] Wait for shards to initialize after creating ML internal indices (#59087) 2020-07-07 10:52:10 +01:00
deprecation [7.x] Add include_data_streams flag for authorization (#59008) 2020-07-03 12:58:39 -05:00
enrich 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
eql 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
frozen-indices MappedFieldType should not extend FieldType (#58160) 2020-06-16 16:56:43 +01:00
graph 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
identity-provider Treat roles as a SortedSet (#58988) 2020-07-03 13:40:58 +10:00
ilm 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
logstash Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
mapper-constant-keyword Field capabilities - make `keyword` a family of field types (#58315) (#58483) 2020-06-24 12:32:14 +01:00
mapper-flattened Move MappedFieldType#getSearchAnalyzer and #getSearchQuoteAnalyzer to TextSearchInfo (#58830) 2020-07-01 14:52:14 +01:00
ml [ML] Wait for shards to initialize after creating ML internal indices (#59087) 2020-07-07 10:52:10 +01:00
monitoring Split license allowed checks into two types (#58704) (#58797) 2020-07-01 07:11:05 -07:00
ql EQL: Obey size request parameter (#59014) 2020-07-06 19:14:25 +03:00
rollup Deduplicate Empty InternalAggregations (#58386) (#59032) 2020-07-04 14:02:16 +02:00
search-business-rules Unify dependency licenses task configuration (#58116) (#58274) 2020-06-18 08:15:50 +02:00
searchable-snapshots Enforce higher priority for RepositoriesService ClusterStateApplier (#59040) 2020-07-07 09:51:08 +02:00
security Create API key with TransportBulkAction directly (#59046) (#59060) 2020-07-06 23:32:07 +10:00
spatial 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
sql Update UnresolvedRelationTests 2020-07-06 19:14:25 +03:00
src/test [ML] Make Inference processor field_map and inference_config optional (#59010) 2020-07-06 11:35:30 +01:00
stack 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
transform Split license allowed checks into two types (#58704) (#58797) 2020-07-01 07:11:05 -07:00
vectors Add text search information to MappedFieldType (#58230) (#58432) 2020-06-23 14:37:26 +01:00
voting-only-node Introduce node.roles setting (#58512) 2020-06-25 14:14:51 -04:00
watcher 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
wildcard Move MappedFieldType#getSearchAnalyzer and #getSearchQuoteAnalyzer to TextSearchInfo (#58830) 2020-07-01 14:52:14 +01:00
build.gradle 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00