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

Leader starts replication if non-applied entries contain only NoOps #171

Closed xirc closed 2 years ago

xirc commented 2 years ago

Closes #170

RaftActor (Leader) will start replication if non-applied entries contain only NoOps. An entity (ReplicationActor or ReplicatedEntity) doesn't need to apply NoOp to itself since NoOp won't change the entity's actual state. RaftActor (Follower) also doesn't send Replica to its entity for EntityEvent(..., NoOp).