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 Cluster State] Add toXContent and fromXContent for ClusterBlocks #13692

Open
shiv0408 opened this issue May 15, 2024 · 0 comments · May be fixed by #13694
Open

[Remote Cluster State] Add toXContent and fromXContent for ClusterBlocks #13692

shiv0408 opened this issue May 15, 2024 · 0 comments · May be fixed by #13694
Assignees
Labels
Cluster Manager enhancement Enhancement or improvement to existing feature or request

Comments

@shiv0408
Copy link
Member

Is your feature request related to a problem? Please describe

Parent project: Cluster State Publication using Remote State
Meta issue: #13683

Describe the solution you'd like

To upload and recreate the cluster state after downloading the state from remote, we need to have proper serialization and de-serialization methods for the ClusterBlocks object. So, need to update the current toXContent methods for ClusterBlocks and ClusterBlock classes to include all necessary attribute which are needed to recreate the object when we need to recreate the object from remote.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

@shiv0408 shiv0408 added enhancement Enhancement or improvement to existing feature or request untriaged labels May 15, 2024
@shiv0408 shiv0408 changed the title [Remote Cluster State] Add toXContent and fromXContent for DiscoveryNodes [Remote Cluster State] Add toXContent and fromXContent for ClusterBlocks May 15, 2024
@shiv0408 shiv0408 linked a pull request May 15, 2024 that will close this issue
7 tasks
@shiv0408 shiv0408 self-assigned this May 15, 2024
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
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

1 participant