Skip to content

Comments

[8.18] [UA] Do not allow reindexing data_stream backing indices (and other enhancements) (#213755)#214386

Merged
gsoldevila merged 1 commit intoelastic:8.18from
gsoldevila:backport/8.18/pr-213755
Mar 14, 2025
Merged

[8.18] [UA] Do not allow reindexing data_stream backing indices (and other enhancements) (#213755)#214386
gsoldevila merged 1 commit intoelastic:8.18from
gsoldevila:backport/8.18/pr-213755

Conversation

@gsoldevila
Copy link
Contributor

Backport

This will backport the following commits from 8.x to 8.18:

Questions ?

Please refer to the Backport tool documentation

…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)
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
upgradeAssistant 193 194 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
upgradeAssistant 206.2KB 207.8KB +1.6KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
upgradeAssistant 23.8KB 23.8KB +2.0B

@gsoldevila gsoldevila merged commit 9d83ecf into elastic:8.18 Mar 14, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants