createRoutees also when initial CurrentClusterState is received, see #2103
This commit is contained in:
parent
c84e05a779
commit
9b6aeadf2e
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ private[akka] class ClusterRouterActor extends Router {
|
|||
case s: CurrentClusterState ⇒
|
||||
import Member.addressOrdering
|
||||
routeeProvider.upNodes = s.members.collect { case m if m.status == MemberStatus.Up ⇒ m.address }
|
||||
routeeProvider.createRoutees()
|
||||
|
||||
case MemberUp(m) ⇒
|
||||
routeeProvider.upNodes += m.address
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue