Hi Gary,

It should be able to join the other nodes, but if it fails for some reason
within a timeout it will join itself. The timeout is configured by
akka.cluster.seed-node-timeout and is by default 5 seconds. I find it
strange that you would not be able to get a reply from the other seed nodes
within that time. It retries once per second within this timeout, so a
single lost message should not be the reason.

Please create an issue <https://github.com/akka/akka/issues> and include
the logs (from all nodes) from one of the failure runs.

/Patrik

On Tue, Oct 20, 2015 at 9:01 PM, Gary Wu <[email protected]> wrote:

> I have a three-node cluster, nodes dnode0, dnode1, and dnode2.  Every node
> the same seed node configuration as follows:
>
>   akka {
>     cluster {
>       seed-nodes = ["akka.tcp://data@dnode0:2550","akka.tcp://data@dnode1
> :2550","data@dnode2:2550"]
>     }
>   }
>
> I first start all three nodes to form a cluster.  This works fine.
>
> I then repeatedly restart dnode0 (the first listed seed node).  In about
> 10% of the time, dnode0 fails to rejoin the existing cluster, and forms an
> island itself instead.  This happens on both 2.3.10 and 2.3.14.
>
> This problem does not seem to occur when dnode1 or dnode2 is restarted.
>
> My questions are:
>
>    1. Is this behavior a bug?  Should dnode0 be able to properly rejoin
>    the cluster on restarts given the above seed node configuration?
>    2. Or, do we need to change the seed node configuration on dnode0 for
>    restarts, such as to remove itself from its own seed node list?
>
> Thanks,
> Gary
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to