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] Optimize diff publication #14471

Open
soosinha opened this issue Jun 20, 2024 · 0 comments
Open

[Remote State] Optimize diff publication #14471

soosinha opened this issue Jun 20, 2024 · 0 comments
Labels
Cluster Manager ClusterManager:RemoteState enhancement Enhancement or improvement to existing feature or request

Comments

@soosinha
Copy link
Member

Is your feature request related to a problem? Please describe

Meta issue: #14419
Remote state publication was launched as an experimental feature in 2.15. The logic for diff publication works as below:

  • The cluster state is split into multiple entities like index metadata, templates, cluster settings, custom metadata, routing table etc.
  • Whenever there is a change in an entity, only that entity is uploaded as a new file in remote store
  • The manifest file is updated to reflect which entity has been updated.
  • The follower node can then read the manifest file and download only the entities which have changed.

The problem with this approach comes in case of node drops. Normally one or more shards for all the indices are present on a node. Whenever a single node drops, this can result in the change in index routing tables for all indices. This would then result in uploading the routing tables for the indices.

Describe the solution you'd like

We can optimize this to compute the diff across multiple entities so that the payload for upload and download is smaller.

Related component

Cluster Manager

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
Cluster Manager ClusterManager:RemoteState enhancement Enhancement or improvement to existing feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant