Skip to content

Conversation

nielsbauman
Copy link
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

By doing
`VersionUtils.randomCompatibleVersion(random(), VersionUtils.getPreviousVersion())`,
we could also get `Version.CURRENT`, as that version is also compatible
with the previous version (unless we're running right after a major
version was released). If the `oldVersion` variable in these tests is
equal to the current version, the tests will fail as their whole goal is
to verify behavior with different node versions. Instead, we should get a
random version that is at most the previous version, to guarantee that
`oldVersion` always precedes the current version.

Fixes elastic#135590

(cherry picked from commit 712cf9f)
@nielsbauman nielsbauman added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Data Management/ILM+SLM Index and Snapshot lifecycle management >test Issues or PRs that are addressing/adding tests Team:Data Management Meta label for data/management team labels Oct 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit afd9bb9 into elastic:9.0 Oct 8, 2025
20 checks passed
@nielsbauman nielsbauman deleted the backport/9.0/pr-135724 branch October 8, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v9.0.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants