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

[Optimization] [Remote state] With every election full state shouldn't get uploaded to remote #10682

Closed
shwetathareja opened this issue Oct 18, 2023 · 2 comments · Fixed by #15145
Labels
Cluster Manager ClusterManager:RemoteState v2.16.0 Issues and PRs related to version 2.16.0

Comments

@shwetathareja
Copy link
Member

Describe the bug
Every time there is election, it bumps up the election term and full cluster state is uploaded to remote. This ensures during version upgrades and other cases, the leader uploads the full state and shouldn't face any compatibility issues. But, the downside is that it will result in uploading a large payload to remote store if the cluster state is in MBs and would result in elections taking longer.

|| lastAcceptedState.term() != clusterState.term()

Expected behavior
There can be optimization where a nodeId with new ephemeralId uploads the full state and in other cases we can skip uploading the full state and just upload the manifest with new term and version.

@shwetathareja shwetathareja added bug Something isn't working untriaged Cluster Manager Storage:Remote v2.12.0 Issues and PRs related to version 2.12.0 and removed untriaged bug Something isn't working labels Oct 18, 2023
@linuxpi linuxpi added the Storage Issues and PRs relating to data and metadata storage label Oct 30, 2023
@kiranprakash154
Copy link
Contributor

Hi, are we on track for this to be released in 2.12 ?

@soosinha
Copy link
Member

soosinha commented Mar 8, 2024

Removing 2.12 tag. This will be picked up later.

@Bukhtawar Bukhtawar added ClusterManager:RemoteState and removed Storage:Remote Storage Issues and PRs relating to data and metadata storage labels May 16, 2024
@rwali-aws rwali-aws moved this from 🆕 New to Now(This Quarter) in Cluster Manager Project Board Jul 4, 2024
@rwali-aws rwali-aws added the v2.16.0 Issues and PRs related to version 2.16.0 label Jul 4, 2024
@github-project-automation github-project-automation bot moved this from Now(This Quarter) to ✅ Done in Cluster Manager Project Board Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cluster Manager ClusterManager:RemoteState v2.16.0 Issues and PRs related to version 2.16.0
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

6 participants