Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Migrations] Systematically wait for newly created indices to turn gr…
…een (#157973) Tackles #157968 When creating new indices during SO migrations, we used to rely on the `res.acknowledged && res.shardsAcknowledged` of the `esClient.indices.create(...)` to determine that the indices are ready to use. However, we believe that due to certain race conditions, this can cause Kibana migrations to fail (refer to the [related issue](#157968)). This PR aims at fixing recent CI failures by adding a systematic `waitForIndexStatus` after creating an index.
- Loading branch information