Skip to content
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

[8.x] Add min. read-only index version compatible to DiscoveryNode (#118744) #118884

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Dec 17, 2024

Backport of #118744 for 8.18

…lastic#118744)

In a short future we'd like to use this information in methods like IndexMetadataVerifier#checkSupportedVersion and NodeJoineExecutor to allow opening indices in N-2 versions as read-only indices on ES V9.
Copy link
Contributor

Documentation preview:

@tlrx tlrx added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Dec 17, 2024
@elasticsearchmachine elasticsearchmachine merged commit 0784601 into elastic:8.x Dec 17, 2024
15 checks passed
@tlrx tlrx deleted the 2024/12/16/add-min-readonly-index-compatible-version-to-node-8.x branch December 17, 2024 20:25
tlrx added a commit that referenced this pull request Dec 19, 2024
…118923)

This is the backport of #118941 for 8.18.

This change relaxes the index compatibility version checks 
to allow archive and searchable snapshot indices in version 
N-2 to exist on a 9.x cluster. It uses the min. read-only index 
compatible version added in #118884 to accept join requests 
from 9.x nodes that can read indices created in version 7.x
 (N-2) as long as they have a write block and are either archive 
or searchable snapshot indices.

Relates ES-10274
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.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants