Configuration Compatibility Check ignored when using Cluster(system).join(address)

14 views
Skip to first unread message

Frederic

unread,
Feb 24, 2018, 12:13:21 PM2/24/18
to Akka User List
Hello all,

I've just done a few tests with the new Configuration Compatibility Check and noticed that no compatibility check is performed (aka checks are ignored) when joining the cluster manually using Cluster(system).join(address). Is that expected?

I didn't find any documentation explaining that Cluster.join() is not equivalent to Cluster.joinSeedNodes() apart from the argument type, am I missing something?

Thanks, Fred

Patrik Nordwall

unread,
Feb 24, 2018, 2:27:38 PM2/24/18
to akka...@googlegroups.com
It’s only part of the joinSeedNodes process. Perhaps that is missing in docs, and contribution fixing that is welcome.

/Patrik
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

frederic arno

unread,
Feb 24, 2018, 4:44:11 PM2/24/18
to akka...@googlegroups.com
Thank you Patrick, I see this behavior is expected.

Considering joining a cluster manually, what is the difference between
the joinSeedNodes and the join processes?

What makes the join process so different that nodes' configurations do
not need to be checked for compatibility?

Thanks, Fred
> You received this message because you are subscribed to a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/8oGJuiyITzE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

Patrik Nordwall

unread,
Feb 25, 2018, 11:56:24 AM2/25/18
to akka...@googlegroups.com
The config check fits better with the joinSeedNodes process. It’s done before the actual joining is done. I’d recommend to always use joinSeedNodes rather than join, also for manual joining. It can be a list with one entry.

We should probably change Akka management to use joinSeedNodes instead of join.

/Patrik
Reply all
Reply to author
Forward
0 new messages