Completed singleton and N-node cluster boot up and joining phase.

* Simplified node join phase.
* Added tests for cluster node startup and joining, both for singleton cluster and 2-node cluster.
* Fixed bug in cluster node address and cluster daemon lookup.
* Changed some APIs.
* Renamed 'contact-point' to 'node-to-join'.
* Minor refactorings.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
Jonas Bonér 2012-02-08 14:14:01 +01:00
parent bb0e5536be
commit 75c1b5717c
6 changed files with 202 additions and 119 deletions

View file

@ -25,11 +25,7 @@ class ClusterConfigSpec extends AkkaSpec(
import settings._
FailureDetectorThreshold must be(8)
FailureDetectorMaxSampleSize must be(1000)
JoinContactPoint must be(None)
JoinTimeout must be(30 seconds)
JoinMaxTimeToRetry must be(30 seconds)
NodeToJoin must be(None)
GossipInitialDelay must be(5 seconds)
GossipFrequency must be(1 second)
}