Reindexing older indices with percolator fields clears migration assistant errors#141539
Merged
mark-vieira merged 2 commits intoelastic:8.19from Jan 29, 2026
Merged
Conversation
Collaborator
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Collaborator
|
Hi @mark-vieira, I've created a changelog YAML for you. |
jdconrad
approved these changes
Jan 29, 2026
Collaborator
💔 Backport failed
You can use sqren/backport to manually backport by running |
mark-vieira
added a commit
to mark-vieira/elasticsearch
that referenced
this pull request
Jan 29, 2026
…stant errors (elastic#141539) (cherry picked from commit 6a7320b) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java # server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java
mark-vieira
added a commit
to mark-vieira/elasticsearch
that referenced
this pull request
Jan 29, 2026
…stant errors (elastic#141539) (cherry picked from commit 6a7320b) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java # server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java
Contributor
Author
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
mark-vieira
added a commit
to mark-vieira/elasticsearch
that referenced
this pull request
Jan 29, 2026
…stant errors (elastic#141539) (cherry picked from commit 6a7320b) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java # server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java
elasticsearchmachine
pushed a commit
that referenced
this pull request
Jan 29, 2026
…on assistant errors (#141539) (#141552) * Reindexing older indices with percolator fields clears migration assistant errors (#141539) (cherry picked from commit 6a7320b) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java # server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java * [CI] Auto commit changes from spotless * Fix compilation error --------- Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Jan 29, 2026
…n assistant errors (#141539) (#141554) * Reindexing older indices with percolator fields clears migration assistant errors (#141539) (cherry picked from commit 6a7320b) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java # server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java * [CI] Auto commit changes from spotless * Fix compilation error --------- Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine
pushed a commit
that referenced
this pull request
Jan 29, 2026
…n assistant errors (#141539) (#141553) * Reindexing older indices with percolator fields clears migration assistant errors (#141539) (cherry picked from commit 6a7320b) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java # server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java * [CI] Auto commit changes from spotless * Fix compilation error --------- Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
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.
This is a follow up to #138118 which added a
TransportVersionfield toIndexMetadatato capture the cluster transport version at the time of index creation. This is required because for some features, like percolator fields, the transport version is used for serialization, and therefore, impacts the ability to read these older indices.This fixes a bug where the transport version wasn't correctly being set on the index metadata prior to index creation. This had downstream effects, like certain deprecation checks thinking these were old indices, when in fact, they were not. Specifically, this caused the migration assistant warning in the linked PR to continue to persist even when the incompatible index was re-indexed.