Skip to content

Bump major version for feature migration system indices #117243

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
merged 4 commits into from
Nov 22, 2024

Conversation

jfreden
Copy link
Contributor

@jfreden jfreden commented Nov 21, 2024

This PR is in preparation for the ES 9 release. Lucene has BWC with indices created on one version prior to the current version (ES 9.0 is Lucene 10, so can support Lucene 9). To ensure that a system index created on an ES 7 (Lucene 8) can actually run on ES 9 (Lucene 10), the system indices need to be reindexed.

To reindex a system index for ES 9, the cluster need to be ugraded to 8.latest and then run the Kibana Upgrade Assistant or use the Feature MIgration APIs directly. The feature migration APIs enable you to see what features require changes, initiate the automatic migration process, and check migration status.

For system indices to show up as "needs upgrade" in the GET /_migration/system_features the minimum index and stack version need to be bumped from 7 to 8. The suffix added to migrated indices also need to use version 9.

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.0.0 labels Nov 21, 2024
@jfreden
Copy link
Contributor Author

jfreden commented Nov 21, 2024

Created this instead of the original PR since this needs to be created against main and backported.

@jfreden jfreden added :Core/Infra/Core Core issues without another label v8.18.0 and removed needs:triage Requires assignment of a team area label labels Nov 21, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Nov 21, 2024
@jfreden jfreden added the auto-backport Automatically create backport pull requests when merged label Nov 21, 2024
@jfreden jfreden requested a review from gwbrown November 21, 2024 12:07
@elasticsearchmachine
Copy link
Collaborator

Hi @jfreden, I've created a changelog YAML for you.

@jfreden jfreden merged commit 546e8e9 into elastic:main Nov 22, 2024
16 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.x Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 117243

@jfreden
Copy link
Contributor Author

jfreden commented Nov 22, 2024

💚 All backports created successfully

Status Branch Result
8.x

Questions ?

Please refer to the Backport tool documentation

jfreden added a commit to jfreden/elasticsearch that referenced this pull request Nov 22, 2024
* Bump major version for feature upgrade system indices

(cherry picked from commit 546e8e9)

# Conflicts:
#	server/src/main/java/org/elasticsearch/action/admin/cluster/migration/TransportGetFeatureUpgradeStatusAction.java
elasticsearchmachine pushed a commit that referenced this pull request Nov 22, 2024
…17311)

* Bump major version for feature upgrade system indices

(cherry picked from commit 546e8e9)

# Conflicts:
#	server/src/main/java/org/elasticsearch/action/admin/cluster/migration/TransportGetFeatureUpgradeStatusAction.java
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Nov 22, 2024
* Bump major version for feature upgrade system indices
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Nov 28, 2024
* Bump major version for feature upgrade system indices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged backport pending :Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team >upgrade v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants