-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Feature
2 / 22 of 2 issues completed
Copy link
Labels
component:raft-snapshotSnapshot creation, transfer, installation, and compaction triggers.Snapshot creation, transfer, installation, and compaction triggers.raft-clusterCluster-wide operations and coordination issuesCluster-wide operations and coordination issues
Milestone
Description
Summary:
Implement the ability for a new node to join the Raft cluster via a terminal command, with automatic initialization as a learner and subsequent snapshot synchronization from the leader.
Details:
- A new node can join the cluster by executing a CLI command.
- Upon joining, the node is automatically assigned the role of a Learner.
- The leader will detect the new learner and proactively send a snapshot to synchronize its state.
- Once the snapshot is successfully installed, the learner will perform a readiness check (e.g., comparing log and snapshot metadata with the leader).
- If the learner determines it is fully up-to-date and consistent, it will request or trigger a promotion to Follower status.
Acceptance Criteria:
- CLI supports adding a new node to the cluster.
- New nodes join as Learner by default.
- Leader sends a snapshot automatically after detecting the new learner.
- Learner installs snapshot and confirms installation success.
- Learner confirms its readiness and can transition to Follower upon agreement with Leader.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component:raft-snapshotSnapshot creation, transfer, installation, and compaction triggers.Snapshot creation, transfer, installation, and compaction triggers.raft-clusterCluster-wide operations and coordination issuesCluster-wide operations and coordination issues
Type
Projects
Status
Done