OpenSearch/x-pack/qa/rolling-upgrade
David Roberts 07a0140260
[ML-DataFrame] Ensure latest index template exists before indexing docs (#46595)
When upgrading data nodes to a newer version before
master nodes there was a risk that a transform running
on an upgraded data node would index a document into
the new transforms internal index before its index
template was created.  This would cause the index to
be created with entirely dynamic mappings.

This change introduces a check before indexing any
internal transforms document to ensure that the required
index template exists and create it if it doesn't.

Backport of #46553
2019-09-11 16:27:26 +01:00
..
src/test [ML-DataFrame] Ensure latest index template exists before indexing docs (#46595) 2019-09-11 16:27:26 +01:00
build.gradle Partly revert globalInfo.ready check (#45960) 2019-08-27 13:01:56 +03:00