Hello,

I enabled weakly-up in the akka.conf as 
documented: akka.cluster.allow-weakly-up-members = on, and subscribed for 
MemberWeaklyUp events.

I have a 3-node cluster. I stopped 2 of the nodes, node2 and node3, and 
restarted node2. It's my understanding that.with allow-weakly-up-members 
enabled, node1 should allow node2 back into the cluster and I should 
receive a MemberWeaklyUp, even though node3 is still down.  But that didn't 
occur - I see the same behavior as with allow-weakly-up-members off.The 
ClusterState on node2 shows no members and the ClusterState on node1 still 
shows node2 as unreachable.  On node1 I see these log messages:

2016-07-29 12:28:39,150 | INFO  | ult-dispatcher-2 | 
receive$1$$anonfun$applyOrElse$3 | 79 | 150 - com.typesafe.akka.slf4j - 
2.4.7 |  | Cluster Node 
[akka.tcp://opendaylight-cluster-data@127.0.0.1:2550] - New incarnation of 
existing member [Member(address = 
akka.tcp://opendaylight-cluster-data@127.0.0.1:2552, status = Up)] is 
trying to join. Existing will be removed from the cluster and then new 
member will be allowed to join.

2016-07-29 12:28:39,153 | INFO  | lt-dispatcher-17 | 
receive$1$$anonfun$applyOrElse$3 | 79 | 150 - com.typesafe.akka.slf4j - 
2.4.7 |  | Cluster Node 
[akka.tcp://opendaylight-cluster-data@127.0.0.1:2550] - Marking unreachable 
node [akka.tcp://opendaylight-cluster-data@127.0.0.1:2552] as [Down]

2016-07-29 12:28:40,139 | WARN  | lt-dispatcher-18 | 
receive$1$$anonfun$applyOrElse$2 | 76 | 150 - com.typesafe.akka.slf4j - 
2.4.7 |  | Association with remote system 
[akka.tcp://opendaylight-cluster-data@127.0.0.1:2554] has failed, address 
is now gated for [5000] ms. Reason: [Association failed with 
[akka.tcp://opendaylight-cluster-data@127.0.0.1:2554]] Caused by: 
[Connection refused: /127.0.0.1:2554]
 
(127.0.0.1:2552 is node2 and 127.0.0.1:2554 is node3)

I have auto-down-unreachable-after off although that shouldn't matter.

It seems the weakly-up features does not work or maybe I'm missing 
something? I'm using akka 2.4.7.

Thanks
Tom

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to