Skip to content

[8.19] Skip the validation when retrieving the index mode during reindexing a time series data stream. (#127824) #127898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

gmarouli
Copy link
Contributor

@gmarouli gmarouli commented May 8, 2025

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…a time series data stream. (elastic#127824)

During reindexing we retrieve the index mode from the template settings. However, we do not fully resolve the settings as we do when validating a template or when creating a data stream. This results on throwing the error reported in elastic#125607.

I do not see a reason to not fix this as suggested in elastic#125607 (comment).

Fixes: elastic#125607
(cherry picked from commit 077b6b9)

# Conflicts:
#	modules/data-streams/build.gradle
#	modules/reindex/src/main/java/org/elasticsearch/reindex/Reindexer.java
@gmarouli gmarouli added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label May 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit 79058ba into elastic:8.19 May 8, 2025
15 checks passed
@gmarouli gmarouli deleted the backport/8.19/pr-127824 branch May 8, 2025 09:19
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 v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants