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

Closed
shiv0408 opened this issue May 15, 2024 · 1 comment
Closed
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 self-assigned this May 15, 2024
@soosinha
Copy link
Member

This is not required as we will be using Writable ser/de

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Cluster Manager Project Board Jun 11, 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: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants