make DNS actor work with RemoteActorRefProvider, #18650
* The configuration of the pool of the SimpleDnsManager is configured in deployment section "/IO-DNS/inet-address" * We don't really support deployment configuration of system actors but here it's used and I don't think we can change that. * It didn't work when using RemoteActorRefProvider/ClusterActorRefProvider, so I fixed it so that the behavior is consistent with the LocalActorRefProvider (verified by tests)
This commit is contained in:
parent
b9d1fa74ba
commit
fcd7561b2f
3 changed files with 101 additions and 45 deletions
|
|
@ -263,9 +263,9 @@ private[akka] class RemoteActorRefProvider(
|
|||
val lookup =
|
||||
if (lookupDeploy)
|
||||
elems.head match {
|
||||
case "user" ⇒ deployer.lookup(elems.drop(1))
|
||||
case "remote" ⇒ lookupRemotes(elems)
|
||||
case _ ⇒ None
|
||||
case "user" | "system" ⇒ deployer.lookup(elems.drop(1))
|
||||
case "remote" ⇒ lookupRemotes(elems)
|
||||
case _ ⇒ None
|
||||
}
|
||||
else None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue