mboysan / consensus

MSc Thesis Repo #2
MIT License
1 stars 0 forks source link

Raft state machine refactorings #20

Closed mboysan closed 3 years ago

mboysan commented 3 years ago

Currently, Raft node applies state machine commands on the state machine consumer object passed by the RaftKVStore. This requires the raft node to be set up on the client side which is unacceptable since we do not want the KVStores to embed the servers. Therefore, the idea is on the server side, we just need to set up the nodes and we shall only implement client side logic on the KVStores (see issue #17). So we shall leverage the StateMachineRequest/Response pairs to apply commands on the client's state machine.

mboysan commented 3 years ago

Explanation is currently inadequate. Possibly a new issue will be opened with a better story.