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] Send remote cluster state only when all nodes in the cluster are remote state enabled #14113

Open
soosinha opened this issue Jun 10, 2024 · 1 comment
Labels
Cluster Manager ClusterManager:RemoteState enhancement Enhancement or improvement to existing feature or request

Comments

@soosinha
Copy link
Member

soosinha commented Jun 10, 2024

Is your feature request related to a problem? Please describe

Before sending the remote cluster state during cluster state publication, we check if a node has remote cluster state enabled or not. We send the cluster state over transport layer if a node is not remote cluster state enabled.
This mixed behavior would be difficult to maintain.

Describe the solution you'd like

We should instead check if all nodes are remote cluster state enabled before starting the publication and then send remote state to all nodes.
We can have a new RemotePublicationContext which extends PublicationContext and will be used to remote cluster state.
Also, there should be a mapping of OpenSearch version to the codec version supported. The remote state should be published for the lowest codec version supported based on the node versions in the cluster.

Related component

Cluster Manager

Describe alternatives you've considered

No response

Additional context

No response

@rwali-aws
Copy link

rwali-aws commented Jun 21, 2024

[Triage - attendees 1 2 3 4 5 6 ]

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 ClusterManager:RemoteState enhancement Enhancement or improvement to existing feature or request
Projects
Status: Now(This Quarter)
Development

No branches or pull requests

2 participants