Hi Behrad,

On 5 November 2014 at 09:53:00, Behrad ([email protected]) wrote:



2014-11-05 11:59 GMT+03:30 Björn Antonsson <[email protected]>:
Hi Richard,

On 5 November 2014 at 00:22:55, richard ([email protected]) wrote:

I am seeing something similar with this github code, based on 
akka-datareplication, using Akka 2.3.6
(That might be a little too complex for a ticket)

Note that auto-down-unreachable-after is commented out


If the old node is never downed and removed from the cluster, then the new node 
can never join.

​  ​
​Does this mean we should always set auto-down to a small value so that we can 
recover from  (and reconnect) ​ cluster  note crashes? What is the 
"unreachable" -> "reachable state" state change for then !? I'd expect that my 
node went to unreachable state again is reachable when it's again up in between 
the failure detection threshold.

It also isn't happening for me, in both cases.


If you want to have the nodes automatically be downed is a different issue than 
the reachability. The states reachabel/unreachable is for a node instance that 
experiences connection failures (network outages et.c.) but not restarts, while 
the downing is necessary when a new node with the same address/port as the old 
one is joining (in effect a restarted actor system).

B/







B/


Started two instances, one on 2551 (the seed) and another on 1234.
Enter text into each instance, which is correctly replicated to each. 
Kill and restart the 1234 instance.

The new 1234 instance receives the current state (from 2551) and continues to
replicate in both directions!

The log on 2551 does indicate a problem
[INFO] [11/04/2014 17:20:07.309] 
[ClusterSystem-akka.actor.default-dispatcher-20] 
[Cluster(akka://ClusterSystem)] Cluster Node 
[akka.tcp://ClusterSystem@localhost:2551] - Existing member 
[UniqueAddress(akka.tcp://ClusterSystem@localhost:1234,1772853420)] is trying 
to join, ignoring
[INFO] [11/04/2014 17:20:17.319] 
[ClusterSystem-akka.actor.default-dispatcher-17] 
[Cluster(akka://ClusterSystem)] Cluster Node 
[akka.tcp://ClusterSystem@localhost:2551] - Existing member 
[UniqueAddress(akka.tcp://ClusterSystem@localhost:1234,1772853420)] is trying 
to join, ignoring
[INFO] [11/04/2014 17:20:28.310] 
[ClusterSystem-akka.actor.default-dispatcher-3] [Cluster(akka://ClusterSystem)] 
Cluster Node [akka.tcp://ClusterSystem@localhost:2551] - Existing member 
[UniqueAddress(akka.tcp://ClusterSystem@localhost:1234,1772853420)] is trying 
to join, ignoring



--
>>>>>>>>>> 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.

-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

--
>>>>>>>>>> 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 a topic in the Google 
Groups "Akka User List" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/akka-user/AdRSv2yuwo4/unsubscribe.
To unsubscribe from this group and all its topics, 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.



--
--Behrad
--
>>>>>>>>>> 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.


-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

-- 
>>>>>>>>>>      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