Skip to content

raft: replicate commands on state machine #152

@Abby3017

Description

@Abby3017

Create a function that will run commands sent by leader on all follower nodes after they get committed msg from the leader.

If the leader commitIndex is greater than Node commitIndex run all the logs on the follower state machine and update node lastApplied

Additional context
Add any other context or screenshots about the feature request here.
To read more about functionality and logic according to raft , go through design doc in this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/raftRegarding the raft package and sub-packagesfeatureNew feature or enhancementhelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions