-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Labels
Comments
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
28 tasks
Hi, are we on track for this to be released in 2.12 ? |
Removing 2.12 tag. This will be picked up later. |
Bukhtawar
added
ClusterManager:RemoteState
and removed
Storage:Remote
Storage
Issues and PRs relating to data and metadata storage
labels
May 16, 2024
15 tasks
4 tasks
3 tasks
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
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.
OpenSearch/server/src/main/java/org/opensearch/gateway/GatewayMetaState.java
Line 737 in 9cc0e7d
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.
The text was updated successfully, but these errors were encountered: