-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Cluster ManagerClusterManager:RemoteStatev2.16.0Issues and PRs related to version 2.16.0Issues and PRs related to version 2.16.0
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Cluster ManagerClusterManager:RemoteStatev2.16.0Issues and PRs related to version 2.16.0Issues and PRs related to version 2.16.0
Type
Projects
Status
✅ Done