2.2 Spotlight: Cluster Joining Improvements

The most important change is that an actor system can only join a cluster once. Additional attempts will be ignored. When it has successfully joined it must be restarted to be able to join another cluster or to join the same cluster again. It can use the same host name and port after the restart, but it must have been removed from the cluster before the join request is accepted. Unsuccessful join attempts are automatically retried.

These strict rules means that you can safely restart a process without any confusion between the state of the old and new member with same host name and port.

Startup of seed nodes has also been improved. Seed nodes and other nodes can be started in any order. The node configured as the first element in the seed-nodes configuration list must be started when initially starting a cluster, but thereafter it can be stopped and started again just like any other node. All nodes can have the same configuration and start script.

Your feedback pushed us to an improved solution for how nodes can join the cluster. Thanks for reporting!

Recent comments

Blog comments powered by Disqus