lerna-stack / akka-entity-replication

Akka extension for fast recovery from failure with replicating stateful entity on multiple nodes in Cluster
Apache License 2.0
30 stars 1 forks source link

Test `AppendEntriesResponse` handling on Raft leader #140

Closed xirc closed 2 years ago

xirc commented 2 years ago

Add some unit tests that verify AppendEntriesResponse handling on RaftActor (Leader). The leader will update its state (nextIndex, commitIndex, etc...) and send messages (ReplicationSucceeded, Replica) to ReplicationActor.