Lots of code cleanup and bugfixes of Deployment, still not AOT/JIT separation

This commit is contained in:
Viktor Klang 2011-07-26 17:12:00 +02:00
parent 0b1d5c78b9
commit 0351858c9e
14 changed files with 123 additions and 193 deletions

View file

@ -1306,7 +1306,7 @@ class DefaultClusterNode private[akka] (
if (actorAddress.isDefined) {
// use 'preferred-nodes' in deployment config for the actor
Deployer.deploymentFor(actorAddress.get) match {
case Deploy(_, _, Clustered(nodes, _, _))
case Deploy(_, _, _, Clustered(nodes, _, _))
nodes map (node DeploymentConfig.nodeNameFor(node)) take replicationFactor
case _
throw new ClusterException("Actor [" + actorAddress.get + "] is not configured as clustered")