clu #20309 API for pluggable cluster downing

This commit is contained in:
Johan Andrén 2016-04-11 10:33:02 +02:00
parent 2418e610ab
commit 5671927cf1
9 changed files with 223 additions and 11 deletions

View file

@ -381,7 +381,7 @@ class ClusterSingletonManager(
s"This cluster member [${cluster.selfAddress}] doesn't have the role [$role]")
val removalMargin =
if (settings.removalMargin <= Duration.Zero) cluster.settings.DownRemovalMargin
if (settings.removalMargin <= Duration.Zero) cluster.downingProvider.downRemovalMargin
else settings.removalMargin
val (maxHandOverRetries, maxTakeOverRetries) = {