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 state] Need a tool to update cluster state stored in remote state #11764

Open
dhwanilpatel opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request Storage:Remote

Comments

@dhwanilpatel
Copy link
Contributor

dhwanilpatel commented Jan 5, 2024

Is your feature request related to a problem? Please describe

Sometime cluster state stored in remote store gets corrupted due to some code bug and it enters in state where we manually need to change the state stored in remote state to recover.

One example could be, some issue in to/from XContent of any custom metadata could lead to corrupted state in remote. There was one such bug in one of the custom metadata where manual update of cluster state was required. [Ref: #11679 ] .

Similar situation can occur for remote state as well, we will need tool to manually update the cluster state.

Describe the solution you'd like

There are some tools for updating local cluster state on disk, to start with we can support those cases in remote state [remove-settings/remove-customs].

Ref:

https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/cluster/coordination/NodeToolCli.java#L62-L63

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

@dhwanilpatel dhwanilpatel added enhancement Enhancement or improvement to existing feature or request untriaged labels Jan 5, 2024
@dhwanilpatel dhwanilpatel changed the title [Remote state] Need to tool to update cluster state stored in remote state [Remote state] Need a tool to update cluster state stored in remote state Jan 5, 2024
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4]
Thanks for filing this issue, please feel free to submit a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request Storage:Remote
Projects
Status: Later (6 months plus)
Status: Next (Next Quarter)
Development

No branches or pull requests

3 participants