akka/akka — pull request #572 by patriknw (2012-07-02 21:02:28+00:00)
Title: Gossip merge in large cluster, #2290

* Trying to simultaneously resolving conflicts at several nodes creates new conflicts.
Therefore the leader resolves conflicts to limit divergence. To avoid overload there
is also a configurable rate limit of how many conflicts that are handled by second.
* Netty blocks when sending to broken connections. ClusterHeartbeatSender actor
isolates sending to different nodes by using child workers for each target
address and thereby reduce the risk of irregular heartbeats to healty
nodes due to broken connections to other nodes.
* Small refactoring of cluster actors
- Separate actor for heartbeats, so they are more isolated from gossip messages
- Configuration property for dispatcher to use for the cluster actors