!act #3583 Timer based auto-down

* Replace (deprecate) akka.cluster.auto-down config setting with
  akka.cluster.auto-down-unreachable-after
* AutoDown actor that keeps track of unreachable members
  and performs down from the leader node when they have been
  unreachable for the specified duration
* Migration guide
This commit is contained in:
Patrik Nordwall 2013-09-11 16:09:51 +02:00
parent c55189f615
commit d5b25cbbc6
27 changed files with 355 additions and 450 deletions

View file

@ -100,6 +100,9 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
logInfo("Starting up...")
if (settings.AutoDown)
log.warning("[akka.cluster.auto-down] setting is replaced by [akka.cluster.auto-down-unreachable-after]")
val failureDetector: FailureDetectorRegistry[Address] = {
def createFailureDetector(): FailureDetector =
FailureDetectorLoader.load(settings.FailureDetectorImplementationClass, settings.FailureDetectorConfig, system)