patriknw / akka-data-replication

Replication of CRDTs in Akka Cluster
Other
216 stars 18 forks source link

Quorum should work for 2 nodes (and all even numbers) #44

Closed hseeberger closed 9 years ago

patriknw commented 9 years ago

I agree, there is an unnecessary constrain of >= 3 nodes. Have you seen a problem with 4 nodes? What about 1 node? Is that supposed to be always successful, since 1 is enough?

hseeberger commented 9 years ago

Get and Update work for 3 and 4 nodes. Update fails for 2 using

Replicator.Update(replicatorKey, ORSet.empty, Replicator.WriteQuorum, timeout.duration)
patriknw commented 9 years ago

thanks, that match the code