[8.18] [UA] Do not allow reindexing data_stream backing indices (and other enhancements) (#213755)#214386
Merged
gsoldevila merged 1 commit intoelastic:8.18from Mar 14, 2025
Merged
Conversation
…nhancements) (elastic#213755) ## Summary The PR brings the following improvements to the UA ES deprecations flows: * Remove the "Reindex" option for _Frozen index_ deprecations that are related to a data stream's backing index (backing indices cannot be alias-based, see [thread](https://elastic.slack.com/archives/C08A04N8XHV/p1741017934359239)). * Propagate `"isClosedIndex"` information to the UI side, so that we can show a warning message in the reindex flows flyouts. The [original functionality](elastic#58890) got lost in the woods. * Propagate `"isClosedIndex", "isFrozenIndex", "isReadonly"` properties as part of the `correctiveAction` details ONLY for _index_settings migrations_, instead of doing it as top level properties for all migrations. These properties did not make for most migration types. * Big refactor in `migrations.ts` file (server side). The logic for obtaining, filtering and enriching ES deprecations had become quite fragmented and hard to read. @Bamieh @jloleysens please take a close look at this one. * Improve existing type definitions. (cherry picked from commit f2ae059)
Contributor
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
|
jloleysens
approved these changes
Mar 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
8.xto8.18:Questions ?
Please refer to the Backport tool documentation