Support joining 2.5.9 or earlier, compat InitJoinAck, #25491

* Detect that joining node is 2.5.9 or earlier by empty ConfigCheck
  config in InitJoin message. Then send back Address, which was the
  old representation of InitJoinAck
* Include akka.version in logging to facilitate troubleshooting
This commit is contained in:
Patrik Nordwall 2018-08-23 20:37:42 +02:00 committed by GitHub
parent 336400832b
commit 25079cb568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 77 additions and 22 deletions

View file

@ -99,7 +99,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
// ClusterJmx is initialized as the last thing in the constructor
private var clusterJmx: Option[ClusterJmx] = None
logInfo("Starting up...")
logInfo("Starting up, Akka version [{}] ...", system.settings.ConfigVersion)
val failureDetector: FailureDetectorRegistry[Address] = {
val createFailureDetector = ()