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

Since elastic#122905 we were throwing NPEs (i.e. 5xxs) when a rollover request has an unknown/non-existent target. Before that, we returned a 400 - illegal argument exception. We now return a 404 which matches "missing target" better. Additionally, to avoid this from happening again, we add a YAML test that asserts the correct exception behavior.

(cherry picked from commit fdd4537)

# Conflicts:
#	server/src/main/java/org/elasticsearch/action/admin/indices/rollover/MetadataRolloverService.java
@nielsbauman nielsbauman added :Data Management/Indices APIs APIs to create and manage indices and templates >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Data Management Meta label for data/management team labels Mar 22, 2025
@elasticsearchmachine elasticsearchmachine merged commit 0a0fde0 into elastic:9.0 Mar 22, 2025
16 checks passed
@nielsbauman nielsbauman deleted the backport/9.0/pr-125352 branch March 22, 2025 14:09
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 >bug :Data Management/Indices APIs APIs to create and manage indices and templates Team:Data Management Meta label for data/management team v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants