Enable akka WeaklyUp feature 99/42799/3
authorTom Pantelis <tpanteli@brocade.com>
Fri, 29 Jul 2016 18:33:27 +0000 (14:33 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Fri, 5 Aug 2016 02:45:50 +0000 (02:45 +0000)
commit3a72e9cb6f6b0a17dcf08a3e87772c22a191d580
tree772e55da0f3a151171ba6c47143440a58fe6729e
parent678b2e0c2cf9f7b149bad013bcce5845fd521ebf
Enable akka WeaklyUp feature

By enabling allow-weakly-up-members, akka will allow new nodes to join a
cluster if there are unreachable nodes. However, this only pertains to
new nodes that weren't previously in the cluster. Unfortunately it
doesn't pertain to node restarts where a node was in the cluster then
attempts to re-join with a new incarnation, which is what we really want.
Despite that, it will at least work for new nodes so I think it's worth
enabling. Akka might be further enhanced to broaden WeaklyUp to include
new incarnations (there's requests for that).

I also changed the ShardManager to handle MemberWeaklyUp events in
the same manner as MemberUp.

Change-Id: I5cf6c1967162b8a9bc6ffb59d34a50560699e4ca
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-clustering-config/src/main/resources/initial/factory-akka.conf
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/shardmanager/ShardManager.java