clu #20309 API for pluggable cluster downing
This commit is contained in:
parent
2418e610ab
commit
5671927cf1
9 changed files with 223 additions and 11 deletions
|
|
@ -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) = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue