mransan/raft

Add notification to the client application

Opened this issue · 0 comments

Raft_logic.Message.handle_message and Raft_logic.Message.handle_timeout should be able to return notification. For instance:

  • New_leader (leader id)
  • No_more_leader
  • New_commit_index (from, to)