lbadd icon indicating copy to clipboard operation
lbadd copied to clipboard

raft: replicate commands on state machine

Open Abby3017 opened this issue 4 years ago • 1 comments

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.

Abby3017 avatar May 22 '20 13:05 Abby3017

@SUMUKHA-PK the hook is there in the server, @Abby3017 please figure out (with @SUMUKHA-PK 's help) how to refactor this to use the hook.

tsatke avatar May 22 '20 13:05 tsatke