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

[Remote Store] Update remote store index settings for mixed cluster #12852

Closed
ltaragi opened this issue Mar 22, 2024 · 0 comments · Fixed by #12748
Closed

[Remote Store] Update remote store index settings for mixed cluster #12852

ltaragi opened this issue Mar 22, 2024 · 0 comments · Fixed by #12748
Assignees
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Durability Issues and PRs related to the durability framework Storage:Remote

Comments

@ltaragi
Copy link
Contributor

ltaragi commented Mar 22, 2024

Is your feature request related to a problem? Please describe

  • For MIXED compatibility mode and REMOTE_STORE migration direction:
    • New indices should be remote store backed
    • New indices restored from a snapshot must be remote store backed irrespective of whether the original index was remote store backed or not

Describe the solution you'd like

  • This can be accomplished as follows:
    • Look for the MIGRATION_DIRECTION_SETTING and REMOTE_STORE_COMPATIBILITY_MODE_SETTING inside the clusterSettings object
    • Upon finding REMOTE_STORE and MIXED values respectively, obtain the REMOTE_STORE_TRANSLOG_REPOSITORY_NAME and REMOTE_STORE_SEGMENT_REPOSITORY_NAME from any of the remote nodes in the mixed cluster. Information of nodes can be obtained from the clusterState object.
    • Upon finding both repositories, mark the SETTING_REMOTE_STORE_ENABLED as true for the index settings.

Related component

Storage:Remote

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Storage:Durability Issues and PRs related to the durability framework Storage:Remote
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants