Rolling update config checker, #24009
* adds config compatibility check * doc'ed what happens when joining a cluster not supporting this feature * added extra docs over sensitive paths
This commit is contained in:
parent
a4e9881a6f
commit
c83e4adfea
19 changed files with 4832 additions and 123 deletions
|
|
@ -62,6 +62,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
|
|||
import InfoLogger._
|
||||
import settings._
|
||||
|
||||
private val joinConfigCompatChecker: JoinConfigCompatChecker = JoinConfigCompatChecker.load(system, settings)
|
||||
/**
|
||||
* The address including a `uid` of this cluster member.
|
||||
* The `uid` is needed to be able to distinguish different
|
||||
|
|
@ -167,7 +168,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
|
|||
|
||||
// create supervisor for daemons under path "/system/cluster"
|
||||
private val clusterDaemons: ActorRef = {
|
||||
system.systemActorOf(Props(classOf[ClusterDaemon], settings).
|
||||
system.systemActorOf(Props(classOf[ClusterDaemon], settings, joinConfigCompatChecker).
|
||||
withDispatcher(UseDispatcher).withDeploy(Deploy.local), name = "cluster")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue