Clarify system name requirement for cluster members

* Clarify system name requirement for cluster members

* Recommend againsts auto-down, stronger
This commit is contained in:
Patrik Nordwall 2016-04-04 12:37:12 +02:00 committed by Konrad Malawski
parent aec81c2ac2
commit 52de0bcaa4
3 changed files with 51 additions and 7 deletions

View file

@ -258,6 +258,9 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
* An actor system can only join a cluster once. Additional attempts will be ignored.
* When it has successfully joined it must be restarted to be able to join another
* cluster or to join the same cluster again.
*
* The name of the [[akka.actor.ActorSystem]] must be the same for all members of a
* cluster.
*/
def join(address: Address): Unit =
clusterCore ! ClusterUserAction.JoinTo(fillLocal(address))