Skip to content

Conversation

@lahsivjar
Copy link
Contributor

Backport

This will backport the following commits from main to 8.15:

Questions ?

Please refer to the Backport tool documentation

…6219)

* Apply lazy rollover on index template creation

We should trigger a lazy rollover of existing data streams
regardless of whether the index template is being created
or updated. This ensures that the apm-data plugin will roll
over data streams that were previously using the Fleet
integration package.

* Update docs/changelog/116219.yaml

* Update docs/changelog/116219.yaml

* Add YAML REST test for template reinstallation

* Code review suggestion

elastic#116219 (comment)

* Remove wait_for_events from setup

This doesn't guarantee the templates are set up,
it only increases the chances; and we disable the
plugin at the start of the test anyway.

(cherry picked from commit b7b1ca0)

# Conflicts:
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/template/YamlTemplateRegistry.java
Copy link
Member

@axw axw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. CI failure looks unrelated:

REPRODUCE WITH: ./gradlew ':x-pack:plugin:inference:qa:inference-service-tests:javaRestTest' --tests "org.elasticsearch.xpack.inference.TextEmbeddingCrudIT.testPutE5Small_withPlatformAgnosticVariant" -Dtests.seed=A847DC1369951CDE -Dtests.locale=zh-Hans-CN -Dtests.timezone=Europe/Amsterdam -Druntime.java=22
...
java.net.SocketTimeoutException: 60,000 milliseconds timeout on connection http-outgoing-1 [ACTIVE]

@lahsivjar lahsivjar enabled auto-merge (squash) November 5, 2024 12:57
@lahsivjar lahsivjar merged commit 59fec21 into elastic:8.15 Nov 5, 2024
15 checks passed
@lahsivjar lahsivjar deleted the backport/8.15/pr-116219 branch November 5, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >bug :Data Management/Data streams Data streams and their lifecycles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants