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.
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.