Lots of code cleanup and bugfixes of Deployment, still not AOT/JIT separation
This commit is contained in:
parent
0b1d5c78b9
commit
0351858c9e
14 changed files with 123 additions and 193 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue